Le 31 octobre 2008 08:18, Guillaume Chassigneux <[EMAIL PROTECTED]> a écrit : > Hi, > > > > I am creating an upgrade package changing ProductVersion, ProductCode and > PackageCode each time I want to update my application. > > I have OnlyDetect = 'no' on the UpgradeVersion node. > > I also have set up the InstallExecuteSequence to insert the following > <RemoveExistingProducts After="InstallValidate"/> > > > > My problem is that when I upgrade an existing installation with a newer > version, I ended up with two entries in the Add/Remove Program files window. > > > > How can I avoid such a behavior ? > > Thank you in advance for your help ! > > > > Guim >
Your case is unclear to me and I wan't to be sure you followed these good practices: -first, a distinction exists between upgrades on the basis of your setup content. You should'nt upgrade the productcode for every package. -second, you need to tell your setup what to uninstall. That requires you included an upgradecode in previous packages and you explicitely state what you remove while you are running the setup. I recommend you read http://www.tramontana.co.hu/wix/lesson4.php, and http://msdn.microsoft.com/en-us/library/aa370579(VS.85).aspx for notions. ------------------------------------------------------------------------- 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