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!

ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Inserting CA Root Cert into Certificate Store

Is it possible to use the Advanced Installer to insert a Certificate into the Computers certificate store?
I would like to put the CA Root and the CA Code Signing Certificate into the Trusted Root Certification Authorities
as a prerequisite to then authorize our own Code Signing certificate that the application.exe will be signed with.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Inserting CA Root Cert into Certificate Store

Hello,

Yes, this can be done by using a custom action. You can find an example in our "How do I deploy a certificate needed by MS Office 2010?" user guide article.

If you have any questions or doubts just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Inserting CA Root Cert into Certificate Store

Hello,

In completion of my colleague's reply, if you would like to import a PFX certificate to "Trusted root certification Authorities" you could use a custom action that launches "Certutil" Windows tool with a set of parameters. You could find more information about this tool and its parameters in this article :Certutil. The certificate to be installed could be a temporary file in your project.

This is the complete method:

1. Go to "Files and Folders" page and add a new Temporary file
2. Go to "Custom actions" page and create a new Launch file custom action configured as described in the attached screenshot. Please note that in order to refer the temp file property in the command line field, you should right click in it and select "File"

Best regards,

Sorin
Attachments
screenshot.jpg
screenshot.jpg (129.97 KiB) Viewed 7810 times
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”