mirror of
https://github.com/MariaDB/server.git
synced 2025-12-07 17:42:39 +03:00
Fix for Bug:16053094
Registry redirection was improper and hence not able to pick the value for the OLDERVERSION property. as a result in the install upgrade dialog null value wa being passed.
This commit is contained in:
@@ -83,13 +83,25 @@
|
|||||||
Name="InstallLocation"
|
Name="InstallLocation"
|
||||||
Type="raw" />
|
Type="raw" />
|
||||||
</Property>
|
</Property>
|
||||||
|
<?if @Platform@ != "x64" ?>
|
||||||
<Property Id="OLDERVERSION">
|
<Property Id="OLDERVERSION">
|
||||||
<RegistrySearch Id="FindOlderVersion"
|
<RegistrySearch Id="FindOlderVersion"
|
||||||
Root="HKLM"
|
Root="HKLM"
|
||||||
|
Win64 = "no"
|
||||||
Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
|
Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
|
||||||
Name="DisplayVersion"
|
Name="DisplayVersion"
|
||||||
Type="raw" />
|
Type="raw" />
|
||||||
</Property>
|
</Property>
|
||||||
|
<?else ?>
|
||||||
|
<Property Id="OLDERVERSION">
|
||||||
|
<RegistrySearch Id="FindOlderVersion"
|
||||||
|
Root="HKLM"
|
||||||
|
Win64 = "yes"
|
||||||
|
Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
|
||||||
|
Name="DisplayVersion"
|
||||||
|
Type="raw" />
|
||||||
|
</Property>
|
||||||
|
<?endif ?>
|
||||||
<Property Id="DATADIR">
|
<Property Id="DATADIR">
|
||||||
<RegistrySearch Id="FindDataDir"
|
<RegistrySearch Id="FindDataDir"
|
||||||
Root="HKLM"
|
Root="HKLM"
|
||||||
|
|||||||
Reference in New Issue
Block a user