Roxen.git
/
server
/
etc
/
RoxenUI.wxs
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/RoxenUI.wxs:9:
<CustomAction Id="CustomTextA_SetProperty_EDIT2" Property="SERVER_PROTOCOL" Value="https" Execute="firstSequence" /> <CustomAction Id="CustomTextA_SetProperty_EDIT1" Property="SERVER_NAME" Value="Administration Interface" Execute="firstSequence" /> <CustomAction Id="CustomTextA_SetProperty_EDIT4" Property="ADM_USER" Value="administrator" Execute="firstSequence" /> <CustomAction Id="Override_CustomTextA_1" Property="Custom2Buttons_NextArgs" Value="[CustomTextA_NextArgs]" Execute="firstSequence" /> <CustomAction Id="Override_CustomTextA_2" Property="ConfirmInstallForm_PrevArgs" Value="[CustomTextA_PrevArgs]" Execute="firstSequence" /> <CustomAction Id="VSDCA_FolderForm_AllUsers" Property="FolderForm_AllUsers" Value="ALL" /> <CustomAction Id="SetRemoveOldService" Property="RemoveOldService" Value="[TARGETDIR]" Execute="immediate" /> <CustomAction Id="RemoveOldService" BinaryKey="RoxenInstaller" VBScriptCall="RemoveOldService" Execute="deferred" Impersonate="no" />
+
<CustomAction Id="FallbackMysqldExe" Property="MYSQLDEXE"
+
Value="[FALLBACKMYSQLDEXE]" Execute="immediate" />
+
<CustomAction Id="FallbackMyisamchkExe" Property="MYISAMCHKEXE"
+
Value="[FALLBACKMYISAMCHKEXE]" Execute="immediate" />
+
<CustomAction Id="FallbackMysqlBase" Property="MYSQLBASE"
+
Value="[FALLBACKMYSQLBASE]" Execute="immediate" />
<CustomAction Id="SetCreateConfigInterface" Property="CreateConfigInterface" Value="[SERVERDIR];[SERVER_NAME];[SERVER_PROTOCOL];[SERVER_PORT];[ADM_USER];[ADM_PASS1]" Execute="immediate" /> <CustomAction Id="CreateConfigInterface" BinaryKey="RoxenInstaller" VBScriptCall="CreateConfigInterface" Execute="deferred" Impersonate="no" /> <CustomAction Id="SetCreateMysqlLocation" Property="CreateMysqlLocation" Value="[SERVERDIR];[MYSQLBASE];[MYSQLDEXE];[MYISAMCHKEXE]" Execute="immediate" /> <CustomAction Id="CreateMysqlLocation" BinaryKey="RoxenInstaller" VBScriptCall="CreateMysqlLocation" Execute="deferred" Impersonate="no" />
Roxen.git/server/etc/RoxenUI.wxs:1166:
<ComponentSearch Id="NTSTART" Type="directory" Guid='8c53c060-a679-3ab2-a67f-0e7f84da59ab' /> </Property> <Property Id="WSH"> <DirectorySearch Id="WSHDIR" Path="[SystemFolder]"> <FileSearch Id="WSHOM" Name="wshom.ocx" MinVersion="5.0.0.0"/> </DirectorySearch> </Property> <Condition Message="Windows Scripting Host is required to run this installer.">Installed OR WSH</Condition> <Property Id="OLDCONFIGDIR">
-
<DirectorySearch Id="OLDCONFIGURATIONS" Path="[TARGETDIR]
configurations
">
+
<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="MYSQLNAME"> <RegistrySearch Id="MysqlName" Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8F5E3B9E-ABBD-4B35-BB68-626CB9BE98D6}" Name="DisplayName" Type="raw"/> </Property> <Property Id="MYSQLDEXE">
-
<DirectorySearch Id="MysqlLocation5" Path="[ProgramFilesFolder]\MySQL" Depth="2">
-
<DirectorySearch Id="MysqlBase5">
-
<DirectorySearch Id="MysqlBin5" Path="bin">
-
<FileSearch LongName="mysqld.exe" />
-
</DirectorySearch>
-
</DirectorySearch>
-
</DirectorySearch>
+
<RegistrySearch Id="Mysql41Location" Root="HKLM" Key="SOFTWARE\MySQL AB\MySQL Server 4.1" Name="Location" Type="raw"> <DirectorySearch Id="MysqldBin4" Path="bin"> <FileSearch LongName="mysqld.exe" /> </DirectorySearch> </RegistrySearch> <RegistrySearch Id="Mysql50Location" Root="HKLM" Key="SOFTWARE\MySQL AB\MySQL Server 5.0" Name="Location" Type="raw"> <DirectorySearch Id="MysqldBin3" Path="bin"> <FileSearch LongName="mysqld.exe" />
Roxen.git/server/etc/RoxenUI.wxs:1213:
<FileSearch LongName="mysqld.exe" /> </DirectorySearch> </RegistrySearch> <RegistrySearch Id="MysqlLocation" Root="HKLM" Key="SOFTWARE\MySQL AB\[MYSQLNAME]" Name="Location" Type="raw"> <DirectorySearch Id="MysqldBin1" Path="bin"> <FileSearch LongName="mysqld.exe" /> </DirectorySearch> </RegistrySearch> </Property>
-
<Property Id="
MYISAMCHKEXE
">
-
<DirectorySearch Id="
MyisamLocation5
" Path="[ProgramFilesFolder]\MySQL" Depth="2">
-
<DirectorySearch Id="
MyisamBase5
">
-
<DirectorySearch Id="
MyisamBin5
" Path="bin">
-
<FileSearch LongName="
myisamchk
.exe" />
+
<Property Id="
FALLBACKMYSQLDEXE
">
+
<DirectorySearch Id="
MysqlLocation5
" Path="[ProgramFilesFolder]\MySQL" Depth="2">
+
<DirectorySearch Id="
MysqlBase5
">
+
<DirectorySearch Id="
MysqlBin5
" Path="bin">
+
<FileSearch LongName="
mysqld
.exe" />
</DirectorySearch> </DirectorySearch> </DirectorySearch>
-
+
</Property>
+
<Property Id="MYISAMCHKEXE">
<RegistrySearch Id="Myisam41Location" Root="HKLM" Key="SOFTWARE\MySQL AB\MySQL Server 4.1" Name="Location" Type="raw"> <DirectorySearch Id="MyisamBin4" Path="bin"> <FileSearch LongName="myisamchk.exe" /> </DirectorySearch> </RegistrySearch> <RegistrySearch Id="Myisam50Location" Root="HKLM" Key="SOFTWARE\MySQL AB\MySQL Server 5.0" Name="Location" Type="raw"> <DirectorySearch Id="MyisamBin3" Path="bin"> <FileSearch LongName="myisamchk.exe" />
Roxen.git/server/etc/RoxenUI.wxs:1246:
<FileSearch LongName="myisamchk.exe" /> </DirectorySearch> </RegistrySearch> <RegistrySearch Id="MyisamLocation" Root="HKLM" Key="SOFTWARE\MySQL AB\[MYSQLNAME]" Name="Location" Type="raw"> <DirectorySearch Id="MyisamBin1" Path="bin"> <FileSearch LongName="myisamchk.exe" /> </DirectorySearch> </RegistrySearch> </Property>
+
<Property Id="FALLBACKMYISAMCHKEXE">
+
<DirectorySearch Id="MyisamLocation5" Path="[ProgramFilesFolder]\MySQL" Depth="2">
+
<DirectorySearch Id="MyisamBase5">
+
<DirectorySearch Id="MyisamBin5" Path="bin">
+
<FileSearch LongName="myisamchk.exe" />
+
</DirectorySearch>
+
</DirectorySearch>
+
</DirectorySearch>
+
</Property>
<Property Id="MYSQLBASE">
-
<DirectorySearchRef Id="MysqlBase5" Parent="MysqlLocation5"/>
+
<RegistrySearchRef Id="Mysql41Location" /> <RegistrySearchRef Id="Mysql50Location" /> <RegistrySearchRef Id="Mysql51Location" /> <RegistrySearchRef Id="MysqlLocation" /> </Property>
-
+
<Property Id="FALLBACKMYSQLBASE">
+
<DirectorySearchRef Id="MysqlBase5" Parent="MysqlLocation5"/>
+
</Property>
<Property Id="MYSQLDEBUG1"> <RegistrySearchRef Id="MysqlLocation" /> </Property> <Property Id="MYSQLDEBUG2"> <RegistrySearchRef Id="Mysql51Location" /> </Property> <Property Id="MYSQLDEBUG3"> <RegistrySearchRef Id="Mysql50Location" /> </Property> <Property Id="MYSQLDEBUG4">
Roxen.git/server/etc/RoxenUI.wxs:1292:
<Custom Action="Override_CustomTextA_2" After="Override_CustomTextA_1">OLDCONFIGDIR<>""</Custom> <RemoveExistingProducts After="InstallInitialize" /> <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="
SetCreateMysqlLocation
" After="CreateConfigInterface" />
+
<Custom Action="
FallbackMysqldExe
" After="CreateConfigInterface"
>MYSQLDEXE=""</Custom>
+
<Custom Action="FallbackMyisamchkExe" After="FallbackMysqldExe">MYISAMCHKEXE=""<
/
Custom
>
+
<Custom Action="FallbackMysqlBase" After="FallbackMyisamchkExe">MYSQLBASE=""</Custom>
+
<Custom Action="SetCreateMysqlLocation" After="FallbackMysqlBase" />
<Custom Action="CreateMysqlLocation" After="SetCreateMysqlLocation">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>