We have been using AI to install a certificate for a hosted solution that expires every 6 months. I've been going in and modifying the MSI to add the new cert and change the custom action to the new cert. This year, after updating to 20.1.1, I get the following error executing the MSI, from either building and testing the package or from the run button in the GUI.
I've tried changing the cert location (both the cert store and where the cert is located on the HD), run as administrator and anything else I can think of. Ideas?
Code: Select all
MSI (s) (7C:D8) [10:14:43:832]: Executing op: ActionStart(Name=InstallCertificate_1,,)
MSI (s) (7C:D8) [10:14:43:833]: Executing op: CustomActionSchedule(Action=InstallCertificate_1,ActionType=1026,Source=BinaryData,Target=/add "C:\Users\user\AppData\Local\Temp\certname.cer" machine Root,)
CustomAction InstallCertificate_1 returned actual error code 1 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (7C:D8) [10:14:43:961]: Note: 1: 1722 2: InstallCertificate_1 3: C:\windows\Installer\MSI4E3A.tmp 4: /add "C:\Users\JSCHOE~1\AppData\Local\Temp\certname.cer" machine Root
MSI (c) (20:0C) [10:14:43:982]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
MSI (s) (7C:D8) [10:17:57:167]: Product: Lindsey Hosted Connection -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action InstallCertificate_1, location: C:\windows\Installer\MSI4E3A.tmp, command: /add "C:\Users\user\AppData\Local\Temp\certname.cer" machine Root