|
#1
|
|||
|
|||
Signing the InnoSetup uninstaller
I want to sign the InnoSetup uninstaller in addition to the installer. Starting with version 5, InnoSetup includes the possibility of just doing it.
Therefore I have included on the .iss file a SignTool command and I am launching the IS compiler from VBP using a Run Program action. This is the command I am using: ISCC.exe /ssigntool=$p %PROJDIR\MyProject.iss And I include all the needed parameters right inside the iss file. The thing is that the setup file is successfully compiled and signed if it already exists, otherwise I am getting the following error: Number of errors: 1 SignTool Error: The file is being used by another process. SignTool Error: An error occurred while attempting to sign: setup.exe Thank you very much. Error in MyProject.iss: Sign Tool failed with exit code 0x1. Compile aborted. |
#2
|
|||
|
|||
You could also use the Inno Setup action, specifying the /s parameter in the Additional options field on the Options tab, but either way, the error is coming from the signing tool, not Visual Build, and Visual Build itself does not open the setup executable file, so there must be a conflict between signtool and iscc (or some other program using the file).
http://www.kinook.com/VisBuildPro/Manual/innoopttab.htm http://www.kinook.com/Forum/showthre...?threadid=3044 |
#3
|
|||
|
|||
You are right, I tried first using the Inno Setup action but I used a wrong /s parameter format and I forgot to check back afterwards.
In any case, now it seems to be working following your suggestion. Thank you very much |
|
|