I am installing certificates with the following WiX snippet:

 

          <Component Id="MssCerts.SIT"
Guid="EC7A0AF8-A180-4e85-92AA-D138D935EC9B" KeyPath="yes">

            <Condition><![CDATA[(TARGETENV = "DIT" OR TARGETENV = "SIT"
OR TARGETENV="UAT")]]></Condition>

            <!--

            <iis:Certificate Id="Mss.SIT.MssCert.Personal"
Name="MSS_SIT_Private.pfx" Request="no" BinaryKey="MSS_SIT_Private.pfx"
PFXPassword="devmss2009" StoreLocation="localMachine"
StoreName="personal"  Overwrite="yes" />

            <iis:Certificate Id="Mss.SIT.MssCert.TrustedPeople"
Name="MSS_SIT_Private.pfx" Request="no" BinaryKey="MSS_SIT_Private.pfx"
PFXPassword="devmss2009" StoreLocation="localMachine"
StoreName="trustedPeople" Overwrite="yes" />

            -->

            <iis:Certificate Id="Mss.SIT.D1Cert.Personal"
Name="D1_SIT_Public.cer" Request="no" BinaryKey="D1_SIT_Public.cer"
StoreLocation="localMachine" StoreName="personal" Overwrite="yes" />

            <iis:Certificate Id="Mss.SIT.D1Cert.TrustedPeople"
Name="D1_SIT_Public.cer" Request="no" BinaryKey="D1_SIT_Public.cer"
StoreLocation="localMachine" StoreName="trustedPeople" Overwrite="yes"
/>

            <iis:Certificate Id="Mss.SIT.GencoCert.Personal"
Name="Genco_SIT_Public.cer" Request="no"
BinaryKey="Genco_SIT_Public.cer" StoreLocation="localMachine"
StoreName="personal" Overwrite="yes" />

            <iis:Certificate Id="Mss.SIT.GencoCert.TrustedPeople"
Name="Genco_SIT_Public.cer" Request="no"
BinaryKey="Genco_SIT_Public.cer" StoreLocation="localMachine"
StoreName="trustedPeople" Overwrite="yes" />

            <iis:Certificate Id="Mss.SIT.UnisysCert.Personal"
Name="Unisys_SIT_Public.cer" Request="no"
BinaryKey="Unisys_SIT_Public.cer" StoreLocation="localMachine"
StoreName="personal" Overwrite="yes" />

            <iis:Certificate Id="Mss.SIT.UnisysCert.TrustedPeople"
Name="Unisys_SIT_Public.cer" Request="no"
BinaryKey="Unisys_SIT_Public.cer" StoreLocation="localMachine"
StoreName="trustedPeople" Overwrite="yes" />

          </Component>

 

So I am having 2 problems:

 

1)      When I uncomment the .pfx certificate it succeeds the first time
I install it to a particular server, but fails every time after.

2)      I would prefer the certs to not be removed on uninstall, I don't
see any way to do this with the WiX IIS cert extension. 

 

Any help would be appreciated.

 

Thanks.

 

-          Phil

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to