Hi Jamie,

Yes, I was trying to ask if there was any major upgrade code implemented in the 
previous installer.


-----Original Message-----
From: Jamie Hankins [mailto:jamiehank...@hotmail.com] 
Sent: Tuesday, April 15, 2014 1:21 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX-users Digest, Vol 95, Issue 38

Hi Pavan,
The MajorUpgrade element is new, so I don't believe that it is required in the 
old version for an upgrade.  According to what I've read, it's just a simpler 
way of creating an Upgrade element.
My understanding is that the only thing in the previous version that should be 
required is that it have the same upgrade code, as well as a ProductVersion 
property.

The old version forced the user to uninstall if they had an even older version 
before installing.  Here's the Upgrade section:<Upgrade 
Id="8D35ECC7-11D7-4471-B22E-581B8144B061">  <UpgradeVersion Maximum="99.99.99" 
Property="OLDPRODUCTS" MigrateFeatures="yes" />  <Property Id="OLDPRODUCTS" 
Secure="yes" />  <UpgradeVersion Minimum="99.99.99" 
Property="AI_NEWERPRODUCTFOUND" OnlyDetect="no" />  <Property 
Id="AI_NEWERPRODUCTFOUND" Secure="yes" /></Upgrade> There is this 
CustomAction:<CustomAction Id="AI_DOWNGRADE" Return="check" Error="A higher 
version of [ProductName] is installed." /> Then, in InstallUISequence, they had 
this:<Custom Action="AI_DOWNGRADE" 
After="FindRelatedProducts"><![CDATA[AI_NEWERPRODUCTFOUND]]></Custom>
In InstallExecuteSequence, they had this:<Custom Action="AI_DOWNGRADE" 
After="FindRelatedProducts"><![CDATA[AI_NEWERPRODUCTFOUND AND (UILevel <> 
5)]]></Custom> Still, my understanding is that the content of the Upgrade 
element on the old product is irrelevant when installing the new one.  If I'm 
wrong about this, someone please correct me.
Jamie                                     
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to