We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7c023db + 7783a27 commit 9aa8e06Copy full SHA for 9aa8e06
packaging/WiX/mysql_server.wxs.in
@@ -78,14 +78,18 @@
78
</InstallUISequence>
79
80
<!-- Find previous installation -->
81
- <Property Id="INSTALLDIR">
+ <Property Id="GETINSTALLDIR">
82
<RegistrySearch Id="FindInstallLocation"
83
Root="HKLM"
84
@Win64@
85
Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
86
Name="InstallLocation"
87
Type="raw" />
88
</Property>
89
+ <CustomAction Id="SetInstall" Property="INSTALLDIR" Value="[GETINSTALLDIR]" />
90
+ <InstallUISequence>
91
+ <Custom Action="SetInstall" After="AppSearch">Installed</Custom>
92
+ </InstallUISequence>
93
<Property Id="OLDERVERSION">
94
<RegistrySearch Id="FindOlderVersion"
95
0 commit comments