summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2022-02-14 12:04:08 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2022-02-14 12:04:08 +0100
commite9e6b2398743eda80bd9084effd4b0365ad81682 (patch)
treea6e59e40876ec880f968d829f4cc5d367961796e /win
parentfeb8004b58c38e4c06a93329e0b4b48e24deccec (diff)
downloadmariadb-git-e9e6b2398743eda80bd9084effd4b0365ad81682.tar.gz
MDEV-27828 : Windows - major MSI upgrade fails, complaining that install directory not empty
Diffstat (limited to 'win')
-rw-r--r--win/packaging/extra.wxs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/packaging/extra.wxs.in b/win/packaging/extra.wxs.in
index 8b06ea1c24d..ae9b3d9f0a8 100644
--- a/win/packaging/extra.wxs.in
+++ b/win/packaging/extra.wxs.in
@@ -660,7 +660,7 @@
</Custom>
<Custom Action="ErrorDataDir" After="CheckDataDirectory">DATADIRERROR</Custom>
<Custom Action="CheckInstallDirectory" After="CostFinalize">
- NOT Installed
+ NOT Installed AND OLDERVERSIONBEINGUPGRADED=""
</Custom>
<Custom Action="ErrorInstallDir" After="CheckInstallDirectory">INSTALLDIRERROR</Custom>
<Custom Action="CheckDatabaseProperties" Before="CreateDatabaseCommand">SERVICENAME</Custom>