Hi, all.

Can you help with a strange trouble.
I have few custom actions (calls for c++ functions in external dll), all
custom actions works fine on install, but neither on uninstall, thanks.

I have problems with custom actions: RemoveIISExtension and UnRegDocSource.
I tried running it before RemoveFiles and also after InstallInitialize.
Also I tried condition: <![CDATA[Installed AND REMOVE = "ALL"]]>

Thanks.

    <InstallExecuteSequence>
      <Custom Action="RemoveIISExtension" Before="RemoveFiles">
        <![CDATA[Installed AND REMOVE = "ALL" AND (&SIFilterServer=3)]]>
      </Custom>
      <Custom Action="UnRegDocSource" Before="RemoveFiles">
        <![CDATA[Installed AND REMOVE = "ALL" AND ((&SIFilterDocSource=3) OR
(&SIFilterClientConsole=3))]]>
      </Custom>

      <Custom Action="InstallAndConfigureIIS" After="InstallFinalize">
        <![CDATA[NOT Installed AND (&SIFilterServer=3)]]>
      </Custom>
      <Custom Action="CheckForSdk" After="InstallAndConfigureIIS">
        <![CDATA[NOT Installed AND ((&SIFilterDocSource=3) OR
(&SIFilterClientConsole=3))]]>
      </Custom>
      <Custom Action="RegDocSource" After="CheckForSdk">
        <![CDATA[NOT Installed AND ((&SIFilterDocSource=3) OR
(&SIFilterClientConsole=3))]]>
      </Custom>
      <Custom Action="NotifyAboutServerConsole" After="RegDocSource">
        <![CDATA[NOT Installed AND (&SIFilterServer=3)]]>
      </Custom>
    </InstallExecuteSequence>

    

    <Binary Id="ServerCA" SourceFile="..\ServerCA\bin\Release\ServerCA.dll"
/>
    
    <CustomAction Id="RemoveIISExtension" BinaryKey="ServerCA"
DllEntry="RemoveIISExtenstion" Execute="immediate" Return="check"
HideTarget="no" />
    <CustomAction Id="UnRegDocSource"  BinaryKey="ServerCA"
DllEntry="UnregDocumentSource" Execute="immediate" Return="check"
HideTarget="no" />

    <CustomAction Id="InstallAndConfigureIIS" BinaryKey="ServerCA"
DllEntry="InstallAndConfigureIIS" Execute="immediate" Return="check"
HideTarget="no" />
    <CustomAction Id="NotifyAboutServerConsole"  BinaryKey="ServerCA"
DllEntry="NotifyAboutServerConsole" Execute="immediate" Return="check"
HideTarget="no" />
    <CustomAction Id="CheckForSdk"  BinaryKey="ServerCA"
DllEntry="CheckForSdk" Execute="immediate" Return="check" HideTarget="no" />
    <CustomAction Id="RegDocSource"  BinaryKey="ServerCA"
DllEntry="RegDocumentSource" Execute="immediate" Return="check"
HideTarget="no" />
______________________ 
WBR, Polazhenko Sergey



------------------------------------------------------------------------------
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