Re: [WiX-users] Custom Action Rollback Implementation

2008-01-18 Thread Richard
In article <[EMAIL PROTECTED]>, "Daryn Mitchell" <[EMAIL PROTECTED]> writes: > Richard is right that your primary issue to that your CA has to be deferred > if you want your rollback action to get written to the rollback script. Right, I forgot to mention that the ICE I wrote checked that t

Re: [WiX-users] Custom Action Rollback Implementation

2008-01-18 Thread Daryn Mitchell
> -Original Message- > From: Sneha Gharpure > > the "WriteToRegistry" action is called only during the > installation and therefore the condition " Not Installed". > I am not sure about the condition for "WriteToRegistry_Rollback". > I have tried both- "Installed" and "Not Installed" > >

Re: [WiX-users] Custom Action Rollback Implementation

2008-01-18 Thread Richard
In article <[EMAIL PROTECTED]>, Sneha Gharpure <[EMAIL PROTECTED]> writes: > Creating a registry entry is just an example. > My question is, if suppose I have a custom action which is an "immediate" > custom action and if I want to add a rollback for that custom action, how do > I add it and

Re: [WiX-users] Custom Action Rollback Implementation

2008-01-18 Thread Sneha Gharpure
Sneha Gharpure wrote: > > Hi, > > Thanks for your reply. > > Creating a registry entry is just an example. > My question is, if suppose I have a custom action which is an "immediate" > custom action and if I want to add a rollback for that custom action, how > do I add it and what is the corr

Re: [WiX-users] Custom Action Rollback Implementation

2008-01-18 Thread Sneha Gharpure
Hi, Thanks for your reply. Creating a registry entry is just an example. My question is, if suppose I have a custom action which is an "immediate" custom action and if I want to add a rollback for that custom action, how do I add it and what is the correct sequence for that? Thanks, Sneha diw

Re: [WiX-users] Custom Action Rollback Implementation

2008-01-18 Thread diwakar09
Hi, I didn't understand your question, What i have understood is- you want to write to registry and you want to delete that value from registry, If you want to write to registry Try this And on uninstallation it will automatically remove it from the registry,

[WiX-users] Custom Action Rollback Implementation

2008-01-18 Thread Sneha Gharpure
I have a custom action writeToRegistry and after this action if the user presses cancel, the corresponding value should be deleted from the registry. Following is the sample code showing how we have implemented it. WriteToRegistry -> writes a value to a registry DeleteFromRegistry -> deletes a v