The key is the context installation is being executed in and where that context has rights.
If you run elevated the install won't have access to your personal store. If you run personal the install may not have access to the root store -----Original Message----- From: Roni Fuchs [mailto:ro...@microsoft.com] Sent: Tuesday, December 23, 2014 6:35 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Installing certificate in the 'Personal' store Hi everyone, I'm trying to install 2 certificates: 1 in the root, and 1 in the personal store. What I've tried: 1. Installing both on 'root' - succeeded. 2. Installing root on 'root' and gw on 'personal' - failed 3. Installing root on 'root' and gw on 'my' - also failed What can be the problem? Why can't I install in the 'Personal' store? My code: <Fragment> <Binary Id="RootBinary" SourceFile="Resources\Certificates\RootCertificate.cer" /> <Binary Id="GWBinary" SourceFile="Resources\Certificates\GWCertificate.pfx" /> <ComponentGroup Id="Certificates" Directory="INSTALLFOLDER"> <Component Id="RootCertificate.cer" Guid="*"> <File Id="RootCertificate.cer" Name="RootCertificate.cer" Source="Resources\Certificates\RootCertificate.cer" /> <iis:Certificate Id="Certificate.RootCA" Name="RootCertificate.cer" Request="no" StoreLocation="localMachine" StoreName="root" Overwrite="yes" BinaryKey="RootBinary"/> </Component> <Component Id="GWCertificate.pfx" Guid="*"> <File Id="GWCertificate.pfx" Name="GWCertificate.pfx" Source="Resources\Certificates\GWCertificate.pfx" /> <iis:Certificate Id="Certificate.GWCertificate" Name="GWCertificate.pfx" Request="no" StoreLocation="localMachine" StoreName="personal" Overwrite="yes" BinaryKey="GWBinary" PFXPassword="aaa111aaa111" /> </Component> </ComponentGroup> </Fragment> Thanks in advance, Aron (Roni) Fuchs ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users