Hi,

Could anybody help me to find out in the following code that why custom action 
RemoveUserData is not running.

 <CustomAction Id="RemoveUserData" Execute="deferred" Property="COMMANDEXE" 
ExeCommand='/C rmdir /S /Q "[AppDataFolder]\[ProductName]"' 
Return="asyncNoWait"/> 


<Property Id="COMMANDEXE" Admin="no" Hidden="no" Secure="no">
      <DirectorySearch Id="CmdExe_DirSearch" Depth="3" 
Path="c:\windows\system32">
        <FileSearch Id="CmdExe_FileSearch" Name="cmd.exe"/>
      </DirectorySearch>
</Property>


<Dialog Id="UserDataDlg" Width="270" Height="80" Title="[ProductName]" 
NoMinimize="yes">
        <Control Id="NoButton" Type="PushButton" X="134" Y="50" Width="58" 
Height="17" Text="{\VSI_MS_Sans_Serif13.0_0_0}&amp;No" Default="no" Cancel="no" 
TabSkip="no">
          <Publish Event="EndDialog" Value="Return">1</Publish>
        </Control>
        <Control Id="YesButton" Type="PushButton" X="58" Y="50" Width="58" 
Height="17" Text="{\VSI_MS_Sans_Serif13.0_0_0}&amp;Yes" TabSkip="no">
          <Publish Event="EndDialog" Value="Return">1</Publish>
          <Publish Event="DoAction" Value="RemoveUserData"></Publish>
        </Control>
        <Control Id="Text" Type="Text" X="64" Y="15" Width="194" Height="25">
          <Text>Do You want to Delete User Data?</Text>
        </Control>
        <Control Id="Icon" Type="Icon" X="15" Y="15" Width="24" Height="24" 
FixedSize="yes" IconSize="32" ToolTip="Information Icon" Text="[InfoIcon]"/>
</Dialog>

Thanks & Regards,
Veerendra

       
---------------------------------
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to