i have placed that in the second msi(upgraded msi). but it is not working though :(
thanks amit On Tue, Oct 21, 2008 at 4:32 PM, Ian Elliott (Excell Data Corporation) < [EMAIL PROTECTED]> wrote: > If you don't want the original msi to execute the custom action when being > uninstalled via major upgrade, you need the condition of NOT > UPGRADINGPRODUCTCODE to be in the original msi. It's not clear to me if you > have that condition in the original msi or the second msi. > > > -----Original Message----- > From: Amit Shrivastav [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 21, 2008 4:20 PM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] UPGRADINGPRODUCTCODE is not working > > Hi, > > I am trying to upgrade my installer using property *UPGRADINGPRODUCTCODE. > *In > the previous MSI it was not there. now In the latest version i.e. upgraded > msi contains that version. I have an custom action in original msi which > execute at the time of uninstallation. In the upgrade msi i dont want to > execute that custom action at the time of when major upgrade uninstall the > previous product. but i want to execute that in the uninstallation of the > new msi. I am mentioning the condition* *REMOVE="ALL" AND NOT > *UPGRADINGPRODUCTCODE > *according to msdn article* ** > http://msdn.microsoft.com/en-us/library/aa369786.aspx*< > http://msdn.microsoft.com/en-us/library/aa369786.aspx> > *. *but it is not working. althoug my custom action is executing when major > upgrade uninstall the previous version and when i uninstalling the new > upgraded msi it is not executing. > I am using windows 2003 platform for testing. and wix 3.0 for the > development. > > Please let me know if anybody previously faced this issue. > ** > Thanks in advance > Amit > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users