Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-22-2010, 03:10 PM
momsoft momsoft is online now
Registered User
 
Join Date: 09-25-2008
Posts: 5
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.
Reply With Quote
  #2  
Old 09-22-2010, 03:25 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,012
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
Reply With Quote
  #3  
Old 09-23-2010, 03:41 PM
momsoft momsoft is online now
Registered User
 
Join Date: 09-25-2008
Posts: 5
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
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 02:54 AM.


Copyright © 1999-2023 Kinook Software, Inc.