keep certificate mode - Advanced Installer Community
Moskito
Posts: 9
Joined: Tue Jun 26, 2012 8:17 am

keep certificate mode

Hello,

It would be a great help:

If I open an aip-File with no certificate dongle attached, then advanced installer switches from my code signing certificate to "use best suited". And then, when generating the setup later on, the setup fails, even with the certificate active.

Please do not change the certivicate mode automatically or use another way to find suited certificates.

I am using digicert with a dongle.

Horst
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: keep certificate mode

Hello Horst,

I'm afraid we cannot refresh the certificate list in the user/machine store at build time.

When starting the advinst.exe process, we load the certificates from the machine/user store.

Therefore, I recommend you to insert the token before starting the Advanced Installer application.

This is an OS limitation and certificates with private keys saved on physical hardware are stricter and have more limitations.

More versatile are certificates that are cloud-based.

We apologize for the inconvenience.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Moskito
Posts: 9
Joined: Tue Jun 26, 2012 8:17 am

Re: keep certificate mode

May be, I did not express myself well.

I have a setup script saying: Please use certificate X.
I edit the script (without certificate X beeing present).
I save the script and leave AIP.

When I reenter AIP with certificate X beeing present, the script does not use X, but best suited. The setting has changed.

This is, as the certificate is inside a dongle, that a use at build time, but not when editing the setup.

Horst
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: keep certificate mode

Hello Horst,

Please accept my apologies for such a delayed reply on this - I somehow seem to have overlooked this thread as it got burried between other threads.

If possible, could you please give me an example of a script that sets a certificate that is not currently present on the machine so I can run some tests on my end to see this behavior?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”