You need to include <PropertyRef Id="ProductVersion"/> in one of your <PatchFamily/> elements.
Keep in mind that changing the ProductVersion in the first 3 fields constitutes a minor upgrade which sequences different. Changing the 4th field constitutes a small update and is generally recommended. See http://blogs.msdn.com/heaths/archive/2005/09/12/464047.aspx (our blog server is currently for maintenance but should be up later this weekend). On Tue, Apr 21, 2009 at 12:48 AM, Ngoc Van Tran <tvbusy+...@gmail.com<tvbusy%2b...@gmail.com> > wrote: > Hi there, > > I was able to build the patch using WiX 3.0 described in Peter's post at: > http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx > > I noticed that he did not change the product version. So I tried > changing the product version (to "$(var.Version).0"). > The change of version doesn't affect the build of msi and msp files. > > However, I found that the patch doesn't update product version. > That means: > Install msi version 1.0: > - The sample file says it's version 1.0. > - In Add/Remove Programs, clicking the More info link shows version 1.0.0. > Apply the patch: > - The sample file says it's version 1.1. > - In Add/Remove Programs, clicking the More info link still shows > version 1.0.0. > Remove all and install msi version 1.1: > - The sample file says it's version 1.1. > - In Add/Remove Programs, clicking the More info link shows version 1.1.0. > > When I when on and create the third version of 1.2, so I have: > - Baseline MSI version 1.0. > - MSI version 1.1. > - Patch 1.0 to 1.1. > - MSI version 1.2. > - Patch 1.1 to 1.2. > > I install them in steps: > 1. Install MSI version 1.0. The sample file say it's 1.0, more info > link in Add/Remove Programs says it's 1.0.0. > 2. Install MSP 1.0 to 1.1. The sample file say it's 1.1, more info > link in Add/Remove Programs says it's 1.0.0. > 3. Install MSP 1.1 to 1.2: failed with error: the patch is for product > version 1.1, which is not found. > > So how can I make the patch updating product version? > > Regards, > Tran Ngoc Van > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Heath Stewart Deployment Technologies Team, Microsoft http://blogs.msdn.com/heaths ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users