FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   VclStylesInno.dll + Protected Styles (https://fileforums.com/showthread.php?t=106063)

BLACKFIRE69 06-09-2023 09:20

VclStylesInno.dll + Protected Styles
 
7 Attachment(s)
VclStylesInno.dll + Protected Styles


> This modified version of 'VclStylesInno.dll' is for those who want to hide their 'Style' from others.

> The procedure is straightforward: 'ResourcesPacker.exe' will encrypt your 'Style' file and save it in the DLL's resources.

> Afterward, you only need to call 'LoadVCLStyleFromResourcesW' within the 'script' file to load the 'Style' file.



Quote:

Q: So, can anyone just grab the 'Style' file from the resources? And if they can, what happens next?
A: Yeah, but the 'Style' file is already encrypted, so nobody can use it.

Q: What else can you do to make it even more secure?
A: I can introduce a password, so only the person with the password can use this 'Style' files.

Code:

STEPS:

1. If the 'VclStylesInno.dll' file is compressed (upx), unpack it.
2. Run 'ResourcesPacker.exe' and add the 'Style' files into the resources.
3. Load the 'Style' files using the 'LoadVCLStyleFromResourcesW' function.
4. If needed, you can compress (upx) the Dll file again.

Code:

function InitializeSetup(): Boolean;
begin
  LoadVCLStyleFromResourcesW('STYLE_02');
  Result := True;
end;

Code:

Tested:

1. InnoSetup: v6.2.2
2. VclStylesInno (Mod): v1.5.4.1
3. UPX: v4.1.0
4. Windows 11/10.


BLACKFIRE69 06-09-2023 20:59

Update
 
2 Attachment(s)
Update:

Code:

* Added password protection.
  - Password serves as an additional layer of security but cannot decrypt the 'Style' file.
* Added new function.

Code:

procedure LoadVCLStyle(VClStyleFile: String);
function LoadVCLStyleFromResourcesW(const ResourceName, Password: WideString): Boolean;
function LoadStyleGetLastError: WideString;
procedure UnLoadVCLStyles;


BLACKFIRE69 09-09-2023 09:07

ISCompilerEx.dll + Protected Scripts
 
5 Attachment(s)
ISCompilerEx.dll + Protected Scripts - [2023-Sep-09]

Code:

function ISCompilerRun(ISScript, ISWorkingPath, ISCompilerPath, ISDefineStrings: WideString; Callback: TISCompilerCallback): Integer;

function ISCompilerRunFromResources(ResourceName, Password, ISWorkingPath, ISCompilerPath, ISDefineStrings: WideString; Callback: TISCompilerCallback): Integer;

procedure ISCompilerAbort;


.

Lord.Freddy 11-09-2023 06:45

InnoSetup CompilerEx GUI
 
6 Attachment(s)
I had some extra time, so i made this just for fun :D

Code:

VERSION: 0.4
  ▪︎ Fixed some minor bugs.
  ▪︎ Redesgin of forms.
  ▪︎ Added again "KeepOnTop" checkbox (better performance).
  ▪︎ Removed "Download And Install InnoSetup" checkbox.
  ▪︎ Added time elapsed on Compiling and Finish pages.
  ▪︎ Added a new button called "Run" on Finish page.
  ▪︎ Updated IsCompilerEx.dll.
  ▪︎ Code optimization.
  ▪︎ Added source code.


VERSION: 0.3
  ▪︎ Fixed some minor bugs.
  ▪︎ Removed KeepOnTop checkbox.
  ▪︎ Redesgin of forms.
  ▪︎ Removed fade effect.
  ▪︎ Added show progress in taskbar.
  ▪︎ Updated IsCompilerEx.dll.
  ▪︎ Added Support for using encrypted script.
        》 Inject your Script in to the IsCompilerEx.dll and put it next to the .EXE file and run, then fallow steps and compile.
  ▪︎ Added Command Line Parameters.
        》 Run the "Help.bat" file to see how it can be used. (if you use modified IsCompilerEx.dll, it will be different)



VERSION: 0.2
  ▪︎ Fixed some bugs.
  ▪︎ Added preview in taskbar.
  ▪︎ Added Support for using InnoSetup Constants strings. (ex= {src}/{tmp}/...)
  ▪︎ (LogMemo) was removed on pages Compiling and Finish and added a new form instead, So you can see the log by clicking the new button inside Compiling/Finish pages.
        》 The (Print) button was removed, and the (Save) button was added instead.
        》 Added a new button called "Copy to Clipboard".


BLACKFIRE69 12-09-2023 12:38

Updates
 
1 Attachment(s)
Updates available!

Code:

* Updated VclStylesInno(mod).dll.
* Updated ISCompilerEx.dll.
* Added ResourcesPackerDll.dll.


Public Libs + ResourcesPackerDll.dll

Quote:

* ResourcesPackerDll.dll will help you create your custom ResourcesPackers for VclStylesInno(mod).dll and ISCompilerEx.dll (Public Versions)
instead of using my default ones. :p

* I haven't included any unpacking functions in ResourcesPackerDll.dll, so resources cannot be decrypted from the outside.

.

Lord.Freddy 17-09-2023 05:22

Quote:

Originally Posted by Lord.Freddy (Post 502421)
I had some extra time, so i made this just for fun :D

Code:

VERSION: 0.2
  ▪︎ Fixed some bugs.
  ▪︎ Added preview in taskbar.
  ▪︎ Added Support for using InnoSetup Constants strings. (ex= {src}/{tmp}/...)
  ▪︎ (LogMemo) was removed on pages Compiling and Finish and added a new form instead, So you can see the log by clicking the new button inside Compiling/Finish pages.
          》 The (Print) button was removed, and the (Save) button was added instead.
          》 Added a new button called "Copy to Clipboard".


》ISCEx Updated to version 0.2.

BLACKFIRE69 26-09-2023 11:08

ISCompilerEx - Updates
 
4 Attachment(s)
Updates available!


> ISCompilerEx - [2023-Sep-26]

Code:

What's New:

* Added a new function.
  - function ISCompilerGetOutputExe: WideString;

* Improved compatibility.
  - 'ISCompilerEx' now supports InnoSetup v5.0.5 or later.

* Bug fixes and some improvements.

Tested:

Code:

InnoSetup - Vanilla

1. Inno v5.4.1
2. Inno v5.5.1
3. Inno v5.5.3
4. Inno v5.5.9
5. Inno v5.6.1
6. Inno v6.0.5
7. Inno v6.2.2


InnoSetup - Enhanced

1. Inno v5.4.1
2. Inno v5.5.1


Lord.Freddy 01-10-2023 08:29

Quote:

Originally Posted by Lord.Freddy (Post 502421)
I had some extra time, so i made this just for fun :D

Code:

VERSION: 0.3
  ▪︎ Fixed some minor bugs.
  ▪︎ Removed KeepOnTop checkbox.
  ▪︎ Redesgin of forms.
  ▪︎ Removed fade effect.
  ▪︎ Added show progress in taskbar.
  ▪︎ Updated IsCompilerEx.dll.
  ▪︎ Added Support for using encrypted script.
        》 Inject your Script in to the IsCompilerEx.dll and put it next to the .EXE file and run, then fallow steps and compile.
  ▪︎ Added Command Line Parameters.
        》 Run the "Help.bat" file to see how it can be used. (if you use modified IsCompilerEx.dll, it will be different)


》ISCEx Updated to version 0.3.

BLACKFIRE69 09-10-2023 22:07

Updates available
 
2 Attachment(s)
Updates available!


Code:

Changes:

* Encryption will be done with Rijndael(AES) + SHA1 instead of Blowfish + MD5.
  - Speed    :  Faster.
  - Security :  Extremely secure.

* ResourcesPackerDll.dll is not common for ISCompilerEx and VCLStylesInno from now on.
  - I've provided two different Dll files.

* ResourcesPacker will prompt to replace existing resources.

* Added a new function.
  - procedure ISCompilerHideInfo(const Copyright, EngineInfo: Boolean);


hitman797 14-03-2024 12:48

Quote:

Originally Posted by BLACKFIRE69 (Post 502787)
Updates available!


Code:

Changes:

* Encryption will be done with Rijndael(AES) + SHA1 instead of Blowfish + MD5.
  - Speed    :  Faster.
  - Security :  Extremely secure.

* ResourcesPackerDll.dll is not common for ISCompilerEx and VCLStylesInno from now on.
  - I've provided two different Dll files.

* ResourcesPacker will prompt to replace existing resources.

* Added a new function.
  - procedure ISCompilerHideInfo(const Copyright, EngineInfo: Boolean);


@BLACKFIRE69, can you fix ISCompilerEx.dll the Windows security software thinks it's a virus.
Code:

* And free from false-positive trojan pop-ups.

BLACKFIRE69 15-03-2024 22:37

1 Attachment(s)
Quote:

Originally Posted by hitman797 (Post 503866)
@BLACKFIRE69, can you fix ISCompilerEx.dll the Windows security software thinks it's a virus.
Code:

* And free from false-positive trojan pop-ups.

ISCompilerEx Update - [2024-Mar-15]

Lord.Freddy 16-03-2024 13:14

Quote:

Originally Posted by Lord.Freddy (Post 502421)
I had some extra time, so i made this just for fun :D

Code:

VERSION: 0.4
  ▪︎ Fixed some minor bugs.
  ▪︎ Redesgin of forms.
  ▪︎ Added again "KeepOnTop" checkbox (better performance).
  ▪︎ Removed "Download And Install InnoSetup" checkbox.
  ▪︎ Added time elapsed on Compiling and Finish pages.
  ▪︎ Added a new button called "Run" on Finish page.
  ▪︎ Updated IsCompilerEx.dll.
  ▪︎ Code optimization.
  ▪︎ Added source code.


》ISCEx Updated to version 0.4.

BLACKFIRE69 14-05-2024 04:36

ISCompilerEx
 
@Everyone,

Quote:

There're no tools available to recover ISS files from the 'ISCompilerEx.dll', and i've no intention of doing so out of respect for others' work.

additionally, someone could violate this, and i won't attempt it, even for the original authors of those Scripts.

Cheers. 🍻

Cesar82 21-10-2024 09:20

1 Attachment(s)
QBLACKFIRE69, would it be possible for you to add support for the TTrackBar class from the Inno Setup Enhanced Edition (ResTools)?
Currently it only works if you use:
Code:

TickMarks := tmBottomRight;
Orientation := trVertical;

But even so, some themes generate Ticks in the Slider area.

Dario06 25-10-2024 06:15

1 Attachment(s)
Quote:

yes Cesar82
Test in:
IS 6.4.0-dev Private Edition not working
IS 6.4.0-dev not working
IS 6.3.3 not working
IS 6.0.5 ResTools not working
IS 5.5.1 EE ResTools working

image


All times are GMT -7. The time now is 21:18.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com