No i tried that also. but still it is not working. that custom action is throwing error.
On Tue, Oct 21, 2008 at 5:30 PM, Wilson, Phil <[EMAIL PROTECTED]>wrote: > That uninstall for the older version of the product is already out there on > the systems where the product is installed. You can't change its behavior > unless you apply a patch or other minor upgrade. > > You may be able to correct your problem with this sequence towards the end > of your InstallExecute sequence: > > ...... > InstallExecute > RemoveExistingProducts > <your deferred custom action to install perfcounters> > InstallFinalize > > > Phil Wilson > > > -----Original Message----- > From: Amit Shrivastav [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 21, 2008 5:05 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] UPGRADINGPRODUCTCODE is not working > > original msi doen not contain that condition NOT UPGRADINGPRODUCTCODE. > Is this mandatory? Is there any other way so that i can stop executing that > custom action in the uninstallation through Major upgrade. > > > > > On Tue, Oct 21, 2008 at 4:57 PM, Amit Shrivastav <[EMAIL PROTECTED] > >wrote: > > > 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 > > > > ------------------------------------------------------------------------- > 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