On 15/03/2010 23:21, Michael Osmond wrote: > That is correct for a minor upgrade. You keep the UpgradeCode and > ProductCode the same, and the PackageCode and Version must change (see the > MSI SDK for details). FindRelatedProducts is not used for a minor upgrade.
OK, understood. I'll email the tutorial author to point out the error in that page. > Also be aware when you start an MSI with a minor upgrade it is actually a > reinstall. You need to specify REINSTALL=ALL and REINSTALLMODE=vomus (the > mode can vary but must include re-caching the package). Yes, we'd worked that out. We were planning to deal with that through the upgrade bootstrapper. > You may be better off authoring all your updates as major upgrades - in this > case the ProductCode changes as well and FindRelatedProducts kicks in. But if we do that then we can't distribute the update as an MSP, can we? Thank you for your help! -- Cheers, John > -----Original Message----- > From: John Aldridge [mailto:[email protected]] > Sent: Tuesday, 16 March 2010 8:39 AM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Minor upgrade tutorial > > I'm confused about minor upgrades... the tutorial at > > http://www.tramontana.co.hu/wix/lesson4.php#4.1 > > describes how to author the WiX package, keeping the product code the > same, and including an<Upgrade> element which insists that a previous > version of the product is installed (and that a later one isn't). > > This doesn't seem to work, though, and various web pages say pretty > clearly that the FindRelatedProducts action only runs the first time a > particular product code is installed. > > Is the tutorial right? > > How should I be authoring an upgrade so that it will not downgrade an > even later version? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

