• Ravinder Thakur's avatar
    Bug#14711808 MSI INSTALLATION / UPGRADE CAN CORRUPT EXISTING INSTALLATION · 16872793
    Ravinder Thakur authored
    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.
    16872793
mysql_server.wxs.in 6.81 KB