Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Signing the InnoSetup uninstaller (https://www.kinook.com/Forum/showthread.php?t=4686)

momsoft 09-22-2010 03:10 PM

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.

kinook 09-22-2010 03:25 PM

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

momsoft 09-23-2010 03:41 PM

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


All times are GMT -5. The time now is 12:38 AM.


Copyright © 1999-2023 Kinook Software, Inc.