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.
|