Roxen.git/
server/
etc/
RoxenUI.wxs
Branch:
Tag:
Non-build tags
All tags
No tags
2009-02-12
2009-02-12 12:45:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>
956bbebe8f808a61bf7c87c73f9c4e6d10e53735 (
16
lines) (+
11
/-
5
)
[
Show
|
Annotate
]
Branch:
5.2
Avoid creation of mysql-location.txt if it already exists.
Rev: server/etc/RoxenUI.wxs:1.48
1173:
<FileSearch LongName="Global_Variables" MinSize="128" /> </DirectorySearch> </Property>
+
<Property Id="MYSQLLOCATIONLOCATION">
+
<DirectorySearch Id="MysqlLocationLocation" Path="[TARGETDIR]">
+
<FileSearch LongName="mysql-location.txt" />
+
</DirectorySearch>
+
</Property>
<Property Id="MYSQLLOCATION"> <RegistrySearch Id="MysqlLocation" Root="HKLM" Key="SOFTWARE\MySQL AB" Type="raw">
1182:
</RegistrySearch> </Property> <Property Id="MYSQLD32LOCATION">
-
<DirectorySearch Id="Mysqld32Location" Path="[ProgramFiles]
/MySQL
" Depth="1">
+
<DirectorySearch Id="Mysqld32Location" Path="[ProgramFiles]
\MySQL
" Depth="1">
<FileSearch LongName="mysqld.exe" /> </DirectorySearch> </Property> <Property Id="MYSQLD64LOCATION">
-
<DirectorySearch Id="Mysqld64Location" Path="[ProgramFiles64]
/MySQL
" Depth="1">
+
<DirectorySearch Id="Mysqld64Location" Path="[ProgramFiles64]
\MySQL
" Depth="1">
<FileSearch LongName="mysqld.exe" /> </DirectorySearch> </Property> <Property Id="MYISAMCHK32LOCATION">
-
<DirectorySearch Id="Myisamchk32Location" Path="[ProgramFiles]
/MySQL
" Depth="1">
+
<DirectorySearch Id="Myisamchk32Location" Path="[ProgramFiles]
\MySQL
" Depth="1">
<FileSearch LongName="myisamchk.exe" /> </DirectorySearch> </Property> <Property Id="MYISAMCHK64LOCATION">
-
<DirectorySearch Id="Myisamchk64Location" Path="[ProgramFiles64]
/MySQL
" Depth="1">
+
<DirectorySearch Id="Myisamchk64Location" Path="[ProgramFiles64]
\MySQL
" Depth="1">
<FileSearch LongName="myisamchk.exe" /> </DirectorySearch> </Property>
1227:
<Custom Action="CreateConfigInterface" After="SetCreateConfigInterface">(REMOVE="") AND (OLDCONFIGDIR="")</Custom> <Custom Action="SetCreateMysql32Location" After="CreateConfigInterface">REMOVE="" AND MYSQLD32LOCATION<>""</Custom> <Custom Action="SetCreateMysql64Location" After="SetCreateMysql32Location">REMOVE="" AND MYSQLD64LOCATION<>""</Custom>
-
<Custom Action="CreateMysqlLocation" After="SetCreateMysql64Location">REMOVE=""</Custom>
+
<Custom Action="CreateMysqlLocation" After="SetCreateMysql64Location">REMOVE=""
AND MYSQLLOCATIONLOCATION <> ""
</Custom>
<Custom Action="SetCreatePikeLocation" After="CreateMysqlLocation">REMOVE=""</Custom> <Custom Action="CreatePikeLocation" After="SetCreatePikeLocation">REMOVE=""</Custom> <Custom Action="SetCreateEnvironment" After="CreatePikeLocation">REMOVE=""</Custom>