Custom Actions - Add certificate using certmgr.exe - Advanced Installer Community
j.zamiska
Posts: 16
Joined: Mon Nov 04, 2013 3:28 pm

Custom Actions - Add certificate using certmgr.exe

Hi,

I want to Add certificate using certmgr.exe but installer always ends with error. Files are attached (project file and install log). Can anybody help me with it?
Attachments
Creation_Online_1_0_0.aip
project file
(14.08 KiB) Downloaded 502 times
MSI7309b.LOG
install log
(68.47 KiB) Downloaded 417 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Actions - Add certificate using certmgr.exe

Hi and welcome to Advanced Installer forums.

I'm not sure why you encounter this behavior. I replaced the "certmgr.exe" file and the certificate from the AIP file that you attached, tested it and it was successfully added on my machine. Can you test to add the same certificate from an elevated console and see if it works?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
j.zamiska
Posts: 16
Joined: Mon Nov 04, 2013 3:28 pm

Re: Custom Actions - Add certificate using certmgr.exe

Eusebiu wrote:Hi and welcome to Advanced Installer forums.

I'm not sure why you encounter this behavior. I replaced the "certmgr.exe" file and the certificate from the AIP file that you attached, tested it and it was successfully added on my machine. Can you test to add the same certificate from an elevated console and see if it works?

Best regards,
Eusebiu
Hi Eusebiu,

thanks for trying, I yust changed command to: /add "[#ClearstreamInternationalRootCA.cer]" /c /s /r localMachine root -with this it's working fine. In cmd works both versions, so I'm really surprised :shock: ... Problem is solved! ;)
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Actions - Add certificate using certmgr.exe

You're welcome. I'm glad you got this working.

Just let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”