Hi, So it looks like no one has any advice for this issue. Is there any way I can submit this as a bug? Because as far as I can tell the "iis:Certificate" custom action is broke.
Regards, Dario -----Original Message----- From: Dario Amiri [mailto:dam...@osisoft.com] Sent: Tuesday, September 21, 2010 9:28 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Problems with UninstallCertificates custom action Hi all, This is my first time post. I want to thank the wix team for developing their product. It has been great thus far. When I was using Visual Studio 2008 and wix 3.0 I was able to create MSIs that installed certificates and uninstalled them just fine when doing a product uninstall. I recently upgraded to Visual Studio 2010 and wix 3.6 and now the MSI builds in a way that installs fine but does not uninstall well. I get the following error: UninstallCertificates: Entering UninstallCertificates in C:\Windows\Installer\MSID41F.tmp, version 3.6.910.0 DEBUG: Error 2769: Custom Action UninstallCertificates did not close 3 MSIHANDLEs. I contacted one of the wix developers by email and he suggested I try wix 3.5 because 3.6 is unstable. So I downgraded but the results are the same. I have attached both logs to this email. Below is a snippet of the .wxs file showing how I specify the certificate installation using the iis:Certificates extenstion. If anyone can help me out I would greatly appreciate it. Otherwise I have no option but to develop in VS 2010 and build my kits in VS 2008. Thanks, Dario <Component Id="NOCRoot.cer" Guid="DE38F5E9-76FC-41c6-8835-A4F22617BA1D"> <File Id="NOCRoot.cer" Name="OSISOFT-NOC-CA.cer" Source="OSISOFT-NOC-CA.cer" KeyPath="yes" Vital="yes"/> <iis:Certificate Id="NOCRootCert" Name="OSISOFT-NOC-CA.cer" Request="no" StoreLocation="localMachine" StoreName="root" Overwrite="yes" BinaryKey="NOCRootCert.Binary"/> </Component> <Component Id="WorkOrderSigner.cer" Guid="0521B9CD-744C-433e-9409-BA6583C6B2E7"> <File Id="WorkOrderSigner.cer" Name="WorkOrderSigner.cer" Source="WorkOrderSigner.cer" KeyPath="yes" Vital="yes"/> </Component> . . . <Binary Id="NOCRootCert.Binary" SourceFile="OSISOFT-NOC-CA.cer"/> <Binary Id="WorkOrderSigner.Binary" SourceFile="WorkOrderSigner.cer"/> ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users