diff options
author | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-11-24 21:30:27 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-11-24 21:30:27 +0100 |
commit | 3e11fe230ef2bb3bcee280b76c1f4d5e8d2e4f38 (patch) | |
tree | 72f840f8bdf4351327be2de341c196376e30b978 /packaging | |
parent | 91ad155c7e7383c2d38bdbda4659a365ce268606 (diff) | |
download | mariadb-git-3e11fe230ef2bb3bcee280b76c1f4d5e8d2e4f38.tar.gz |
MSI: Only call custom action if REMOVE=ALL is specified, this avoids accidential removing services if
feature states are modified (reported by Iggy)
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/WiX/mysql_server.wxs.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/WiX/mysql_server.wxs.in b/packaging/WiX/mysql_server.wxs.in index ea2ee1d9aaf..43a30538384 100644 --- a/packaging/WiX/mysql_server.wxs.in +++ b/packaging/WiX/mysql_server.wxs.in @@ -128,10 +128,10 @@ Impersonate="no"
Return="check" />
<InstallExecuteSequence>
- <Custom Action="UnregisterProperty" After="InstallInitialize">Installed And Not UPGRADINGPRODUCTCODE</Custom>
- <Custom Action="UnregisterPropertySilent" After="InstallInitialize">Installed And Not UPGRADINGPRODUCTCODE</Custom>
- <Custom Action="UnregisterService" After="UnregisterProperty">Installed And Not UPGRADINGPRODUCTCODE And UILevel>4</Custom>
- <Custom Action="UnregisterServiceSilently" After="UnregisterPropertySilent">Installed And Not UPGRADINGPRODUCTCODE And UILevel<=4</Custom>
+ <Custom Action="UnregisterProperty" After="InstallInitialize">Installed And Not UPGRADINGPRODUCTCODE And REMOVE="ALL"</Custom>
+ <Custom Action="UnregisterPropertySilent" After="InstallInitialize">Installed And Not UPGRADINGPRODUCTCODE And REMOVE="ALL"</Custom>
+ <Custom Action="UnregisterService" After="UnregisterProperty">Installed And Not UPGRADINGPRODUCTCODE And REMOVE="ALL" And UILevel>4</Custom>
+ <Custom Action="UnregisterServiceSilently" After="UnregisterPropertySilent">Installed And Not UPGRADINGPRODUCTCODE And REMOVE="ALL" And UILevel<=4</Custom>
</InstallExecuteSequence>
<!-- Installation root-->
|