Changeset 107366 in vbox
- Timestamp:
- Dec 18, 2024 5:09:41 PM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/VirtualBox.wxs
r107365 r107366 104 104 <Upgrade Id="C4BAD770-BFE8-4D2C-A592-693028A7215B"> <!-- Upgrade of Sun xVM VirtualBox >= v1.6.0 --> 105 105 106 <!-- Upgrade is flagged if current-install is newer than or equal to package - TODO: should make a dialog appear asking user to confirm downgrade --> 107 <!-- Setting "OnlyDetect" to "no" makes the installer uninstall an already newer installed version --> 108 <UpgradeVersion Property="NEWERVERSIONDETECTED" Minimum="$(var.Property_Version)" IncludeMinimum="no" OnlyDetect="no" /> 109 110 <!-- Flag is set if the install will trigger an upgrade of an existing install --> 111 <UpgradeVersion Property="PREVIOUSVERSIONSINSTALLED" Minimum="1.0.0.0" Maximum="$(var.Property_Version)" IncludeMaximum="yes" /> 106 <!-- Detect if the same version (as this version) of VirtualBox already is installed. 107 Useful for debugging / testboxes --> 108 <UpgradeVersion Property="SAMEVERSIONDETECTED" Minimum="$(var.Property_Version)" IncludeMinimum="yes" 109 Maximum="$(var.Property_Version)" IncludeMaximum="yes" 110 OnlyDetect="yes" /> 111 112 <!-- Detect if a newer version (than this version) of VirtualBox already is installed. 113 @todo Should make a dialog appear asking user to confirm downgrade --> 114 <UpgradeVersion Property="NEWERVERSIONDETECTED" Minimum="$(var.Property_Version)" IncludeMinimum="no" 115 Maximum="9.9.99" IncludeMaximum="yes" 116 OnlyDetect="yes" /> 117 118 <!-- Detect if an older version (than this version) of VirtualBox already is installed. --> 119 <UpgradeVersion Property="PREVIOUSVERSIONDETECTED" Minimum="1.0.0.0" Maximum="$(var.Property_Version)" IncludeMaximum="no" /> 112 120 113 121 </Upgrade> … … 417 425 418 426 <!-- First install the new version and then remove the old version. This is more efficient --> 419 <RemoveExistingProducts After="InstallValidate" Condition="PREVIOUSVERSION SINSTALLED OR NEWERVERSIONDETECTED" />427 <RemoveExistingProducts After="InstallValidate" Condition="PREVIOUSVERSIONDETECTED OR NEWERVERSIONDETECTED" /> 420 428 421 429 <Custom Action="ca_OriginalTargetDir" After="FileCost" Condition="(NOT INSTALLDIR)" />
Note:
See TracChangeset
for help on using the changeset viewer.