Roxen.git
/
server
/
etc
/
RoxenUI.wxs
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/RoxenUI.wxs:1166:
<Property Id="BROWSER">explorer</Property> <Property Id="TARGETDIR"> <ComponentSearch Id="NTSTART" Type="directory" Guid='8c53c060-a679-3ab2-a67f-0e7f84da59ab' /> </Property> <Property Id="OLDCONFIGDIR"> <DirectorySearch Id="OLDCONFIGURATIONS" Path="[TARGETDIR]configurations"> <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"> <DirectorySearch Id="MysqlVersionLocation"> <FileSearch LongName="Location" MinVersion="4.1"/> </DirectorySearch> </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> <AdminExecuteSequence> <Custom Action="DONT_INSTALL_SERVICE" Before="DIRCA_TARGETDIR">NOT VersionNT</Custom> <Custom Action="DIRCA_TARGETDIR" Before="CostInitialize"><![CDATA[TARGETDIR=""]]></Custom> </AdminExecuteSequence> <InstallExecuteSequence> <Custom Action="ERRCA_CANCELNEWERVERSION" After="FindRelatedProducts"><![CDATA[NEWERPRODUCTFOUND AND NOT Installed]]></Custom> <Custom Action="CustomTextA_SetProperty_EDIT1" After="ValidateProductID" />
Roxen.git/server/etc/RoxenUI.wxs:1220:
<StopServices Sequence="1900">VersionNT AND INSTALL_SERVICE="1"</StopServices> <DeleteServices Sequence="2000">VersionNT AND INSTALL_SERVICE="1"</DeleteServices> <InstallServices Sequence="5800">VersionNT AND INSTALL_SERVICE="1"</InstallServices> <StartServices Sequence="5900">VersionNT AND INSTALL_SERVICE="1" AND START_SERVER="1"</StartServices> <Custom Action="SetRemoveOldService" After="InstallFiles">REMOVE="" AND INSTALL_SERVICE="1"</Custom> <Custom Action="RemoveOldService" After="SetRemoveOldService">REMOVE="" AND INSTALL_SERVICE="1"</Custom> <Custom Action="SetCreateConfigInterface" Sequence="5100">REMOVE=""</Custom> <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> <Custom Action="CreateEnvironment" After="SetCreateEnvironment">REMOVE=""</Custom> <Custom Action="ConsoleStartServer" After="StartServices">((NOT VersionNT) OR INSTALL_SERVICE<>"1") AND START_SERVER="1"</Custom> </InstallExecuteSequence> <Binary Id="DefBannerBitmap" src="Banner.bmp" /> <Binary Id="UpFldrBtn" src="UpFldrBtn.icon" /> <Binary Id="NewFldrBtn" src="NewFldrBtn.icon" /> <Binary Id="RoxenInstaller" src="Win32Installer.vbs" /> </Fragment> </Wix>