[wix-users] Upgrade - XML?

Rajeev Kallur kallur2014 at gmail.com
Sat Sep 7 23:55:55 PDT 2024


Hi ,

Is this code correct?   Currently upgrade from 5.1.0.0 to 5.2.0.0 not working.
Any comments?

<Upgrade Id="$(var.UpgradeCode)">
<UpgradeVersion OnlyDetect="yes"
Minimum="$(var.ProductVersion)"
Property="NEWERVERSIONDETECTED"
IncludeMinimum="no" />

<UpgradeVersion OnlyDetect="no"
Maximum="$(var.ProductVersion)"
Property="OLDERVERSIONBEINGUPGRADED"
IncludeMaximum="no" />

<!-- Detect for changes in 4th field only -->
<UpgradeVersion Property="ANOTHERBUILDINSTALLED"
Maximum="$(var.ProductVersion)" Minimum="$(var.ProductVersion)"
IncludeMinimum="yes" IncludeMaximum="yes" OnlyDetect="yes" />

</Upgrade>


More information about the wix-users mailing list