InnoSetup - When compiling the sign tool failed with exit code 0x1

Unable to compile when signing.

In my nonosetup package, I have to include some third-party programs like VLC, Google Chrome, Putty, etc. etc.

When third-party tools are turned on, compilation / assembly fails. But when I do not use them, it compiles well. (unfortunately, I cannot use these applications through an external URL, so I need to embed them in my compilation)

Source: "C:\Users\tpt\Desktop\innosetup\nw\run.bat"; DestDir: "{app}"; Flags: ignoreversion Source: "C:\Users\tpt\Desktop\innosetup\software\*"; DestDir: "{app}\software"; Flags: ignoreversion 

enter image description here

EDIT: I have a zip software folder, but still, I also zip.exe in .rar, but still the same error?

enter image description here

+6
source share
1 answer

Just remove the extension from rarfile, make it just "chrome64", with the script package rename it when setting up the files.

At innosetup

 [Run] Filename: "{app}\rename.bat" 

In rename.bat:

 @ECHO OFF ren Chrome64 Chrome64.rar del rename.bat 

I just uninstalled the extension from Chrome.exe and renamed it back to exe during installation, and after renaming it started without problems. The compilation did not give me an error.

+1
source

Source: https://habr.com/ru/post/988211/


All Articles