Re: [WiX-users] How can I run a custom action only on uninstall

2008-10-14 Thread Madhavi Athota (HCL Technologies Ltd)
Thanks a lot peter, custom actions are working now. -Original Message- From: Peter Vestergaard [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 6:12 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How can I run a custom action only on

Re: [WiX-users] How can I run a custom action only on uninstall

2008-10-14 Thread post
Hi, you must set the appropriate conditions: Installed NOT Installed The custom action will fire if the condition is evaluated to true. Kind regards, Hans > > Hi, > > I have two custom actions one should run on install, one should run on > uninstall, but

Re: [WiX-users] How can I run a custom action only on uninstall

2008-10-14 Thread Peter Vestergaard
The custom element should have a condition. This is done by adding a text element. Your InstallExecuteSequence should look like this: REMOVE REMOVE NOT Installed AND NOT PATCH NOT Installed AND NOT PATCH the custom element containing REMOVE will run on uninstall and

[WiX-users] How can I run a custom action only on uninstall

2008-10-14 Thread MadhaviAthota
Hi, I have two custom actions one should run on install, one should run on uninstall, but both my custom actions are running in install only. please see my wix xml. Please help me in the rollback. http://schemas.microsoft.com/wix/2006/wi";>