Within the Control element for your button, add something like this:
<Publish Event="DoAction" Value="CUSTOM_ACTION_ID">CONDITION_IF_NEEDED</Publish>

Rob

Veerendra wrote:
> Hello All,
> 
> I have written a custom action to remove a user-data folder and its files
> (were created installation time). Now I want to call this custom action
> based on user input, How I can achieve this.
> Actually Before removing folder I am prompting one dialog box asking that
> "Do you want to delete" . If user presses 'Yes' button then only I want to
> delete otherwise not.
> 
> Please give some point.
> 
> Regards,
> Veerendra
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to