Hi John

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.  

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).   

You may be better off authoring all your updates as major upgrades - in this 
case the ProductCode changes as well and FindRelatedProducts kicks in.


Michael



-----Original Message-----
From: John Aldridge [mailto:j...@jjdash.demon.co.uk] 
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?

-- 
Cheers,
John

------------------------------------------------------------------------------
Download Intel&#174; 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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download Intel&#174; 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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to