1
0
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:
Sreedhar.S
2013-09-30 12:41:22 +05:30
parent 8cafa707b8
commit 1fc8cbec49

View File

@@ -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"