summaryrefslogtreecommitdiff
path: root/win/packaging/mysql_server.wxs.in
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-05-04 03:51:30 +0200
committerVladislav Vaintroub <wlad@montyprogram.com>2012-05-04 03:51:30 +0200
commite3ffaed1474971b656a3c77dc1d2605a5dbf02f6 (patch)
tree4e6d26242c8dfc365c1b0ab3c79650c5b686d335 /win/packaging/mysql_server.wxs.in
parentd231dc8f59221166eea13a6580bbcc8c0c755855 (diff)
downloadmariadb-git-e3ffaed1474971b656a3c77dc1d2605a5dbf02f6.tar.gz
support same version upgrade for MSI
Diffstat (limited to 'win/packaging/mysql_server.wxs.in')
-rw-r--r--win/packaging/mysql_server.wxs.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/win/packaging/mysql_server.wxs.in b/win/packaging/mysql_server.wxs.in
index 82c17d7577c..79fde801cf5 100644
--- a/win/packaging/mysql_server.wxs.in
+++ b/win/packaging/mysql_server.wxs.in
@@ -4,7 +4,7 @@
Id="*"
UpgradeCode="@CPACK_WIX_UPGRADE_CODE@"
Name="@CPACK_WIX_PACKAGE_NAME@"
- Version="@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH_VERSION@"
+ Version="@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH_VERSION@.@TINY_VERSION@"
Language="1033"
Manufacturer="@MANUFACTURER@">
@@ -26,14 +26,16 @@
<UpgradeVersion
Minimum="@MAJOR_VERSION@.@MINOR_VERSION@.0"
IncludeMinimum="yes"
- Maximum="@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH_VERSION@"
+ Maximum="@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH_VERSION@.@TINY_VERSION@"
+ IncludeMaximum="yes"
Property="OLDERVERSIONBEINGUPGRADED"
MigrateFeatures="yes"
/>
<?endif?>
<UpgradeVersion
- Minimum="@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH_VERSION@"
+ Minimum="@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH_VERSION@.@TINY_VERSION@"
Maximum="@MAJOR_VERSION@.@MINOR_VERSION@.999"
+ IncludeMinimum="no"
OnlyDetect="yes"
Property="NEWERVERSIONDETECTED" />
</Upgrade>