/build/static/layout/Breadcrumb_cap_w.png

How To Install Certificates With An MSI Installation

Link

If you have to install a .cer certificate with an msi installation, then you have to be aware of a few things:

With Wise Package Studio (WPS) go to the MSI Script tab and choose 'Execute Deferred'.

You have to include the certmgr.exe (download from Microsoft) in your package.

The command looks like this:

certmgr.exe -c YourCertificate -s Root -add

Be sure to change on the Properties tab the In-Script Option to 'Deferred Execution - User Context' otherwise the certificate will be imported into the Administrator account and will not be available to the user.

Finally, in the InstallExecuteSequence table set your Custom Actions Condition to 'NOT REMOVE~="ALL"' to ensure that your Custom Action will not be executed during an uninstallation.

For more information regarding certmgr.exe click here.


Comments

This post is locked
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ