Skip to content

Commit 9aa8e06

Browse files
committed
Merge branch 'mysql-5.6' into mysql-5.7
Conflicts: packaging/WiX/mysql_server.wxs.in
2 parents 7c023db + 7783a27 commit 9aa8e06

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packaging/WiX/mysql_server.wxs.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,18 @@
7878
</InstallUISequence>
7979

8080
<!-- Find previous installation -->
81-
<Property Id="INSTALLDIR">
81+
<Property Id="GETINSTALLDIR">
8282
<RegistrySearch Id="FindInstallLocation"
8383
Root="HKLM"
8484
@Win64@
8585
Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
8686
Name="InstallLocation"
8787
Type="raw" />
8888
</Property>
89+
<CustomAction Id="SetInstall" Property="INSTALLDIR" Value="[GETINSTALLDIR]" />
90+
<InstallUISequence>
91+
<Custom Action="SetInstall" After="AppSearch">Installed</Custom>
92+
</InstallUISequence>
8993
<Property Id="OLDERVERSION">
9094
<RegistrySearch Id="FindOlderVersion"
9195
Root="HKLM"

0 commit comments

Comments
 (0)