Setting certificate path via command line or command file - Advanced Installer Community
natecope
Posts: 38
Joined: Tue Feb 03, 2015 4:27 pm

Setting certificate path via command line or command file

Hi there,

When we run our build script, for some reason the certificate location gets changed from what is defined in the template AIP file that we use.

Is there a way to set the cert location via command line or command file?

thanks
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: Setting certificate path via command line or command fil

Hello,

In order to be able to change the certificate path from the command line, Advanced Installer provides the DigiSign tool.

For more information about how to use it, please see here.

Kind regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GlenT
Posts: 118
Joined: Mon Jul 16, 2012 8:44 pm

Re: Setting certificate path via command line or command fil

natecope wrote:Hi there,

When we run our build script, for some reason the certificate location gets changed from what is defined in the template AIP file that we use.

Is there a way to set the cert location via command line or command file?

thanks
We build our installers via .bat files and have had no issues with the location of our external certificate location. A fully qualified path to the certificate is entered in our AI projects under the Digital Signature page. We are using a .pfx file.

However, we did have problems with the AI sign tool timing out, and switched to an external tool (SignTool.exe) which is set via the Options > External tools page.
natecope
Posts: 38
Joined: Tue Feb 03, 2015 4:27 pm

Re: Setting certificate path via command line or command fil

I resolved this by using XML methods in powershell to edit and correct the path in the AI file at build time.

Thank you for the valuable info.
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: Setting certificate path via command line or command fil

I'm glad you got this working by yourself.
If you have other questions, please let us know.

Kind regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”