[wix-users] Certificate Install Error in Windows 7
Wheeler, Blaine (DSHS/DCS)
BWheeler at dshs.wa.gov
Fri Jan 20 08:28:31 PST 2017
I suspect the user executing the installation doesn't have rights to manage the 'Local Machine' certificate store location. Changing from localMachine to currentUser may do the trick
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Nathan Roe
Sent: Friday, January 20, 2017 5:04 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Certificate Install Error in Windows 7
I have the following setup in my installer (WiX 3.10.3):
<Binary Id="LocalhostPfx" SourceFile="localhost.pfx" /> ...
<iis:Certificate Id="LocalhostPersonalCertificate" BinaryKey="LocalhostPfx" Name="localhost" StoreLocation="localMachine" StoreName="personal" Overwrite="yes" PFXPassword="*****" Request="no" />
This works correctly in Windows 10 and Windows 7 when UAC is disabled. However, I get the following error in my install log in Windows 7 when UAC is enabled:
InstallCertificates: Error 0x80090010: Failed to open PFX file.
InstallCertificates: Error 0x80090010: Failed to get SHA1 hash of certificate.
InstallCertificates: Error 0x80090010: Failed to resolve certificate: LocalhostPersonalCertificate CustomAction InstallCertificates returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Can anyone help me work around this?
Thanks,
Nathan
Nathan Roe
Senior Software Engineer
317-805-4013 P
nroe at ZotecPartners.com
Corporate
Visit us at:
http://www.zotecpartners.com
[http://www.zotecpartners.com/zpllc_logo_ironport.gif]
Zotec Partners, LLC disclaimer<http://www.zotecpartners.com/electronic_disclaimer.html> information
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list