Hi all,

   I am seeing error in custom action uninstallcertificates on uninstalling
a web application in iis.
Is there a setting I am missing in my code pasted below?


DEBUG: Error 2769:  Custom Action UninstallCertificates did not close 3
MSIHANDLEs.
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2769. The
arguments are: UninstallCertificates, 3, 
CustomAction UninstallCertificates returned actual error code 1603 (note
this may not be 100% accurate if translation happened inside sandbox)



<Component Id="SSLCertificate" Guid="..." Directory="TARGETDIR"
Win64="$(var.Is64Bit)">
      <iis:Certificate Id="CACert"
                       Name="cacert.pfx"
                       Request="no"
                       CertificatePath="[PATH]cacert.pfx"
                       PFXPassword="pwd..."
                       StoreName="root"
                       StoreLocation="localMachine"
                 />
    </Component>


<Component Id="WebSiteComponent" Guid="{...}" KeyPath="yes"
Directory="ApplicationRoot" Win64="$(var.Is64Bit)">
      <util:User Id="IAMUser" Name="[DOMAIN]\[NAME]" CreateUser="no"
Password="[PWD]"   />
      <iis:WebAppPool Id="Pool" Name="Pool" Identity="other" User="AUser" 
/>
      <iis:WebSite Id='Server' Description='!(loc.ServerDescription)'
Directory='ApplicationRoot' StartOnInstall='yes'>
        <iis:WebApplication Id="ServerApp" Name="ServerApp" 
WebAppPool="Pool" />        
        <iis:WebAddress Id="AllUnassigned" Port="443" Secure="yes" />
        <iis:CertificateRef Id="CACert"/>
      </iis:WebSite>
    </Component>


thanks!

-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/UninstallCertificates-action-fails-to-remove-certificate-from-iis-tp5788876p5788876.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to