Roxen.git/
server/
etc/
RoxenUI.wxs
Branch:
Tag:
Non-build tags
All tags
No tags
2009-02-12
2009-02-12 14:36:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>
8768e8d78dddd802757dc8c979828238b86b3203 (
49
lines) (+
35
/-
14
)
[
Show
|
Annotate
]
Branch:
5.2
More directory search fixes...
Rev: server/etc/RoxenUI.wxs:1.49
23:
<CustomAction Id="CreateConfigInterface" BinaryKey="RoxenInstaller" VBScriptCall="CreateConfigInterface" Execute="deferred" Impersonate="no" /> <CustomAction Id="SetCreateMysql32Location" Property="CreateMysqlLocation"
-
Value="[SERVERDIR];[MYSQLD32LOCATION];[MYISAMCHK32LOCATION]" Execute="immediate" />
+
Value="[SERVERDIR];[
MYSQL32BASE];[
MYSQLD32LOCATION];[MYISAMCHK32LOCATION]" Execute="immediate" />
<CustomAction Id="SetCreateMysql64Location" Property="CreateMysqlLocation"
-
Value="[SERVERDIR];[MYSQLD64LOCATION];[MYISAMCHK32LOCATION]" Execute="immediate" />
+
Value="[SERVERDIR];[
MYSQL64BASE];[
MYSQLD64LOCATION];[MYISAMCHK32LOCATION]" Execute="immediate" />
<CustomAction Id="CreateMysqlLocation" BinaryKey="RoxenInstaller" VBScriptCall="CreateMysqlLocation" Execute="deferred" Impersonate="no" /> <CustomAction Id="SetCreatePikeLocation" Property="CreatePikeLocation"
1119:
<Custom Action="CustomTextA_SetProperty_EDIT3" After="CustomTextA_SetProperty_EDIT2" /> <Custom Action="CustomTextA_SetProperty_EDIT4" After="CustomTextA_SetProperty_EDIT3" /> <Custom Action="DIRCA_TARGETDIR" After="CustomTextA_SetProperty_EDIT4"><![CDATA[TARGETDIR=""]]></Custom>
-
<AppSearch After="DIRCA_TARGETDIR"/>
+
<
!--
AppSearch After="DIRCA_TARGETDIR"/
--
>
<Show Dialog="WelcomeForm" After="IsolateComponents"><![CDATA[Installed="" AND NOT RESUME]]></Show> <Custom Action="VSDCA_FolderForm_AllUsers" After="WelcomeForm"><![CDATA[Installed="" AND NOT RESUME AND ALLUSERS=1]]></Custom> <Show Dialog="ResumeForm" After="VSDCA_FolderForm_AllUsers"><![CDATA[Installed="" AND RESUME]]></Show>
1168:
<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"> <FileSearch LongName="Global_Variables" MinSize="128" />
1187:
</RegistrySearch> </Property> <Property Id="MYSQLD32LOCATION">
-
<DirectorySearch Id="Mysqld32Location" Path="[ProgramFiles]\MySQL" Depth="
1
">
+
<DirectorySearch Id="Mysqld32Location" Path="[ProgramFiles]\MySQL" Depth="
2
">
+
<DirectorySearch Id="Mysql32Base">
+
<DirectorySearch Id="Mysql32Bin" Path="bin">
<FileSearch LongName="mysqld.exe" /> </DirectorySearch>
-
</Property>
-
<Property Id="MYSQLD64LOCATION">
-
<DirectorySearch Id="Mysqld64Location" Path="[ProgramFiles64]\MySQL" Depth="1">
-
<FileSearch LongName="mysqld.exe" />
+
</DirectorySearch>
-
+
</DirectorySearch>
</Property> <Property Id="MYISAMCHK32LOCATION">
-
<
DirectorySearch
Id="
Myisamchk32Location
"
Path
="
[ProgramFiles]\MySQL
"
Depth="1"
>
+
<
DirectorySearchRef
Id="
Mysql32Bin
"
Parent
="
Mysql32Base
">
<FileSearch LongName="myisamchk.exe" /> </DirectorySearch> </Property>
-
+
<Property Id="MYSQL32BASE">
+
<DirectorySearchRef Id="Mysql32Base"/>
+
</Property>
+
<Property Id="MYSQLD64LOCATION">
+
<DirectorySearch Id="Mysqld64Location" Path="[ProgramFiles64]\MySQL" Depth="2">
+
<DirectorySearch Id="Mysql64Base">
+
<DirectorySearch Id="Mysql64Bin" Path="bin">
+
<FileSearch LongName="mysqld.exe" />
+
</DirectorySearch>
+
</DirectorySearch>
+
</DirectorySearch>
+
</Property>
<Property Id="MYISAMCHK64LOCATION">
-
<
DirectorySearch
Id="
Myisamchk64Location
"
Path
="
[ProgramFiles64]\MySQL
"
Depth="1"
>
+
<
DirectorySearchRef
Id="
Mysql64Bin
"
Parent
="
Mysql64Base
">
<FileSearch LongName="myisamchk.exe" /> </DirectorySearch> </Property>
-
+
<Property Id="MYSQL64BASE">
+
<DirectorySearchRef Id="Mysql64Base"/>
+
</Property>
<AdminExecuteSequence> <Custom Action="DONT_INSTALL_SERVICE" Before="DIRCA_TARGETDIR">NOT VersionNT</Custom> <Custom Action="DIRCA_TARGETDIR" Before="CostInitialize"><![CDATA[TARGETDIR=""]]></Custom>
1230:
<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="SetCreateMysql32Location" After="CreateConfigInterface" />
+
<Custom Action="SetCreateMysql64Location" After="SetCreateMysql32Location">MYSQLD64LOCATION<>""</Custom>
<Custom Action="CreateMysqlLocation" After="SetCreateMysql64Location">REMOVE="" AND MYSQLLOCATIONLOCATION <> ""</Custom> <Custom Action="SetCreatePikeLocation" After="CreateMysqlLocation">REMOVE=""</Custom> <Custom Action="CreatePikeLocation" After="SetCreatePikeLocation">REMOVE=""</Custom>