Skip to content

Commit e9e6b23

Browse files
committed
MDEV-27828 : Windows - major MSI upgrade fails, complaining that install directory not empty
1 parent feb8004 commit e9e6b23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win/packaging/extra.wxs.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@
660660
</Custom>
661661
<Custom Action="ErrorDataDir" After="CheckDataDirectory">DATADIRERROR</Custom>
662662
<Custom Action="CheckInstallDirectory" After="CostFinalize">
663-
NOT Installed
663+
NOT Installed AND OLDERVERSIONBEINGUPGRADED=""
664664
</Custom>
665665
<Custom Action="ErrorInstallDir" After="CheckInstallDirectory">INSTALLDIRERROR</Custom>
666666
<Custom Action="CheckDatabaseProperties" Before="CreateDatabaseCommand">SERVICENAME</Custom>

0 commit comments

Comments
 (0)