File tree Expand file tree Collapse file tree 3 files changed +12
-22
lines changed Expand file tree Collapse file tree 3 files changed +12
-22
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ SET(CPACK_WIX_INCLUDE "${CMAKE_CURRENT_BINARY_DIR}/mysql_server_extra.wxs;${CMAK
100100IF (CMAKE_SIZEOF_VOID_P EQUAL 8)
101101 SET (WixWin64 " Win64='yes'" )
102102ELSE ()
103- SET (WixWin64)
103+ SET (WixWin64 " Win64='no'" )
104104ENDIF ()
105105
106106CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR} /mysql_server_extra.wxs.in
Original file line number Diff line number Diff line change 1- # Copyright (c) 2010, 2011 , Oracle and/or its affiliates. All rights reserved.
1+ # Copyright (c) 2010, 2013 , Oracle and/or its affiliates. All rights reserved.
22#
33# This program is free software; you can redistribute it and/or modify
44# it under the terms of the GNU General Public License as published by
@@ -59,7 +59,7 @@ IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
5959ELSE ()
6060 SET (Platform x86)
6161 SET (PlatformProgramFilesFolder ProgramFilesFolder)
62- SET (Win64)
62+ SET (Win64 " Win64='no'" )
6363ENDIF ()
6464
6565SET (ENV{VS_UNICODE_OUTPUT})
Original file line number Diff line number Diff line change 9292 <Property Id="INSTALLDIR">
9393 <RegistrySearch Id="FindInstallLocation"
9494 Root="HKLM"
95+ @Win64@
9596 Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
9697 Name="InstallLocation"
9798 Type="raw" />
9899 </Property>
99- <?if @Platform@ != "x64" ?>
100- <Property Id="OLDERVERSION">
101- <RegistrySearch Id="FindOlderVersion"
102- Root="HKLM"
103- Win64 = "no"
104- Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
105- Name="DisplayVersion"
106- Type="raw" />
107- </Property>
108- <?else ?>
109- <Property Id="OLDERVERSION">
110- <RegistrySearch Id="FindOlderVersion"
111- Root="HKLM"
112- Win64 = "yes"
113- Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
114- Name="DisplayVersion"
115- Type="raw" />
116- </Property>
117- <?endif ?>
100+ <Property Id="OLDERVERSION">
101+ <RegistrySearch Id="FindOlderVersion"
102+ Root="HKLM"
103+ @Win64@
104+ Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]"
105+ Name="DisplayVersion"
106+ Type="raw" />
107+ </Property>
118108 <Property Id="DATADIR">
119109 <RegistrySearch Id="FindDataDir"
120110 Root="HKLM"
You can’t perform that action at this time.
0 commit comments