Automatically Sign Files - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Automatically Sign Files

Hello,
I am building my MSI using the following command line:

"C:\Program Files\Caphyon\Advanced Installer 7.2\advancedInstaller.com" /execute MyFile.aip AICommands.txt -nofail
But when I added the Sign the package feature (Digital Signature) it always fails since I am asked to click manually on the OK button:
http://www.sendspace.com/file/gbem92

How can I automate the process?

Thanks!
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Automatically Sign Files

Hello,

Did you try running the command line with administrator privileges and see if the message still pops up? If that does not solve the problem, please tell us which utility did you use: SignTool.exe or SignCode.exe?

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Re: Automatically Sign Files

I am using SignTool.exe.
How can I run it from command line with administrator privileges?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Automatically Sign Files

Hello,

Simply make sure cmd.exe runs as administrator. You can do this by rightclicking on the cmd shortcut and selecting "Run as Administrator". Cmd can usually be found in start menu->all programs->accessories.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Re: Automatically Sign Files

Again, I repeat my problem.
I cannot run build of advanced installer from command line when the 'Digital Signature' feature is enabled.

The window always pops up and user intervation is required...

http://www.sendspace.com/file/gbem92

Please help
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Automatically Sign Files

Hello,

Yes, I understand. Try running the Advanced Installer command line from an elevated cmd.exe prompt as I described above.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Re: Automatically Sign Files

The window always appear even when elevated...
You can try it...
Thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Automatically Sign Files

Hello,

Unfortunately, I could not reproduce this behavior. Can you please try testing this on other machines? Also, can you sign the package manually by using the SignTool command line?

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”