Skip to content

Commit 7783a27

Browse files
committed
Merge branch 'mysql-5.5' into mysql-5.6
2 parents 8c65185 + b4afc6a commit 7783a27

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packaging/WiX/mysql_server.wxs.in

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
33

44
<!--
5-
Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
5+
Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
66

77
This program is free software; you can redistribute it and/or modify
88
it under the terms of the GNU General Public License as published by
@@ -89,13 +89,17 @@
8989
</InstallUISequence>
9090

9191
<!-- Find previous installation -->
92-
<Property Id="INSTALLDIR">
92+
<Property Id="GETINSTALLDIR">
9393
<RegistrySearch Id="FindInstallLocation"
9494
Root="HKLM"
9595
Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
9696
Name="InstallLocation"
9797
Type="raw" />
9898
</Property>
99+
<CustomAction Id="SetInstall" Property="INSTALLDIR" Value="[GETINSTALLDIR]" />
100+
<InstallUISequence>
101+
<Custom Action="SetInstall" After="AppSearch">Installed</Custom>
102+
</InstallUISequence>
99103
<?if @Platform@ != "x64" ?>
100104
<Property Id="OLDERVERSION">
101105
<RegistrySearch Id="FindOlderVersion"

0 commit comments

Comments
 (0)