summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorRavinder Thakur <ravinder.thakur@oracle.com>2013-02-06 13:52:32 +0530
committerRavinder Thakur <ravinder.thakur@oracle.com>2013-02-06 13:52:32 +0530
commitcc1a0d2ae2241c4d5bf0f817866393baad8814a4 (patch)
tree615ba001f2616113b29f3d8fd1239e58f72b5a86 /packaging
parentbdc87957f3c5d5b7138a95af2abc3894c720b5e9 (diff)
downloadmariadb-git-cc1a0d2ae2241c4d5bf0f817866393baad8814a4.tar.gz
Bug#14711808 MSI INSTALLATION / UPGRADE CAN CORRUPT EXISTING INSTALLATION
Currently MySQL MSI installer on Windows installs MySQL in "per user" mode. It means that if a Windows machine has multiple users, they each can install MySQL independently. However the default path of MySQL is "C:\Program Files (x86)\MySQL\" and when two users install MySQL on same machine, the installation by second user just overwrites the MySQL files. This default shared location leads to the issue where if the second user uninstalls MySQL, the installation files are removed for the first user as well. In this fix, we are now making the default installation "per machine". It means that when MySQL is installed with defaults options, all users can see the shortcuts for MySQL in start menu(since installations is for all users). Also when any user relaunches the installer, it will consider that action uninstallation rather than installation for that user. There are command line options in installer that can be used to undo the "per machine" installation but will not consider that scenario.MySQL is a server product and it does not make a lot of sense to install it differently for each user.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/WiX/mysql_server.wxs.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/packaging/WiX/mysql_server.wxs.in b/packaging/WiX/mysql_server.wxs.in
index 370830d82db..4c2a856782c 100644
--- a/packaging/WiX/mysql_server.wxs.in
+++ b/packaging/WiX/mysql_server.wxs.in
@@ -34,8 +34,9 @@
Languages='1033'
Compressed='yes'
SummaryCodepage='1252'
- Platform='@Platform@'/>
-
+ Platform='@Platform@'
+ InstallScope="perMachine"/>
+
<Media Id='1' Cabinet='product.cab' EmbedCab='yes' />
<!-- Upgrade -->