From 96c6b2b64926b7c2d57ce0a85d11039d062dfc3b Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Wed, 27 Nov 2019 15:49:09 +0100 Subject: MDEV-19781 fixups - It is not enough to have and DeleteSymlinks actions because within the same installation some exes executables can be both added and removed, which needs both adding and removing some symlinks. Instead of CreateSymlinks, there is now FixSymlinks function, which goes through the list, and adds or removes the symlinks as needed. - Implemented rollback for symlink custom action. - Generate list of symlinks in C++ file, using CMake, rather than storing lists as MSI properties. --- win/packaging/extra.wxs.in | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'win/packaging/extra.wxs.in') diff --git a/win/packaging/extra.wxs.in b/win/packaging/extra.wxs.in index 68e455d6486..b55994af4bd 100644 --- a/win/packaging/extra.wxs.in +++ b/win/packaging/extra.wxs.in @@ -63,9 +63,6 @@ - - - @@ -665,16 +662,19 @@ - - - - - + + + + + + - NOT Installed - NOT Installed - Installed AND NOT REINSTALL - Installed AND NOT REINSTALL + NOT Installed OR UPGRADINGPRODUCTCODE + NOT Installed OR UPGRADINGPRODUCTCODE + NOT Installed OR UPGRADINGPRODUCTCODE + NOT Installed OR UPGRADINGPRODUCTCODE + Installed AND NOT UPGRADINGPRODUCTCODE + Installed AND NOT UPGRADINGPRODUCTCODE @@ -897,10 +897,10 @@ > - + = 600)]]> -- cgit v1.2.1