Hi,

I want to allow same version upgrades to take care of the fourth element in
the version numbers. 
According to
http://wix.sourceforge.net/manual-wix3/wix_xsd_majorupgrade.htm, I can use
AllowSameVersionUpgrades attribute to do this. However, I am getting build
errors as this element is not recognized. 

 error CNDL0004: The MajorUpgrade element contains an unexpected attribute
'AllowSameVersionUpgrades'.

Has this been dropped from the schema in 3.5?

How else can I achieve the same version upgrade?

I have tried,

<Upgrade Id="{F57F3EEE-DE43-49A8-89CF-94477062396F}">
   <UpgradeVersion Minimum="4.9.1" Property="NEWERPRODUCTFOUND"
OnlyDetect="yes"        IncludeMinimum="no" />
   <UpgradeVersion Minimum="4.9.1" Maximum="4.9.1" Property="FOUNDSELF"
OnlyDetect="no" IncludeMinimum="yes" IncludeMaximum="yes"  />
   <UpgradeVersion Minimum="1.0.0.0" Maximum="4.9.1"
Property="PREVIOUSVERSIONSINSTALLED"  OnlyDetect ="no" IncludeMinimum="yes" 
/>
</Upgrade>

For FOUNDSELF case above, shouldn't install allow upgrade as OnlyDetect
attribute is set to 'no'?

This, however, results in an error message during installation that another
version has already been installed and this needs to be first uninstalled
before proceeding with the install.

Thanks

Umesh
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/SameVersion-Upgrade-tp5939737p5939737.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to