Roxen.git / server / etc / RoxenUI.wxs

version» Context lines:

Roxen.git/server/etc/RoxenUI.wxs:16:    Value="[TARGETDIR]" Execute="immediate" />    <CustomAction Id="RemoveOldService" BinaryKey="RoxenInstaller"    VBScriptCall="RemoveOldService" Execute="deferred" Impersonate="no" />    <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="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"    Value="[SERVERDIR]" Execute="immediate" />    <CustomAction Id="CreatePikeLocation" BinaryKey="RoxenInstaller"    VBScriptCall="CreatePikeLocation" Execute="deferred" Impersonate="no" />    <CustomAction Id="StartBrowser" Property="BROWSER"    ExeCommand="[SERVER_PROTOCOL]://localhost:[SERVER_PORT]/"    Execute="deferred" Return="asyncNoWait" />    <CustomAction Id="ConsoleStartServer" Directory="TARGETDIR"
Roxen.git/server/etc/RoxenUI.wxs:1112:    <InstallUISequence>    <Show Dialog="FatalErrorForm" OnExit="error"><![CDATA[NOT HideFatalErrorForm]]></Show>    <Show Dialog="UserExitForm" OnExit="cancel" />    <Show Dialog="FinishedForm" OnExit="success" />    <Custom Action="ERRCA_UIANDADVERTISED" Before="AppSearch"><![CDATA[ProductState=1]]></Custom>    <Custom Action="CustomTextA_SetProperty_EDIT1" After="ValidateProductID" />    <Custom Action="CustomTextA_SetProperty_EDIT2" After="CustomTextA_SetProperty_EDIT1" />    <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>    <Show Dialog="MaintenanceForm" After="ResumeForm"><![CDATA[Installed<>""]]></Show>    <Show Dialog="FolderForm" After="CostFinalize"><![CDATA[Installed="" AND NOT RESUME]]></Show>    <Show Dialog="ProgressForm" After="FolderForm" />    </InstallUISequence>    </UI>       <Property Id="AdminWelcomeForm_NextArgs"><![CDATA[AdminFolderForm]]></Property>
Roxen.git/server/etc/RoxenUI.wxs:1161:    <Property Id="EDITA2"><![CDATA[1]]></Property>    <Property Id="VSDNETMSG"><![CDATA[This setup requires the .NET Framework version [1]. Please install the .NET Framework and run this setup again.]]></Property>    <Property Id="VSDINVALIDURLMSG"><![CDATA[The specified path '[2]' is unavailable. The Internet Information Server might not be running or the path exists and is redirected to another machine. Please check the status of this virtual directory in the Internet Services Manager.]]></Property>    <Property Id="NEWERPRODUCTFOUND" Secure="yes" />    <Property Id="UPGRADE" Secure="yes" />    <Property Id="BROWSER">explorer</Property>    <Property Id="TARGETDIR">    <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" />    </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="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>    </AdminExecuteSequence>    <InstallExecuteSequence>    <Custom Action="ERRCA_CANCELNEWERVERSION" After="FindRelatedProducts"><![CDATA[NEWERPRODUCTFOUND AND NOT Installed]]></Custom>    <Custom Action="CustomTextA_SetProperty_EDIT1" After="ValidateProductID" />    <Custom Action="CustomTextA_SetProperty_EDIT2" After="CustomTextA_SetProperty_EDIT1" />    <Custom Action="CustomTextA_SetProperty_EDIT3" After="CustomTextA_SetProperty_EDIT2" />    <Custom Action="CustomTextA_SetProperty_EDIT4" After="CustomTextA_SetProperty_EDIT3" />
Roxen.git/server/etc/RoxenUI.wxs:1223:    <Custom Action="Override_CustomTextA_2" After="Override_CustomTextA_1">OLDCONFIGDIR&lt;&gt;""</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="SetCreateMysql32Location" After="CreateConfigInterface">REMOVE="" AND MYSQLD32LOCATION&lt;&gt;""</Custom> -  <Custom Action="SetCreateMysql64Location" After="SetCreateMysql32Location">REMOVE="" AND MYSQLD64LOCATION&lt;&gt;""</Custom> +  <Custom Action="SetCreateMysql32Location" After="CreateConfigInterface" /> +  <Custom Action="SetCreateMysql64Location" After="SetCreateMysql32Location">MYSQLD64LOCATION&lt;&gt;""</Custom>    <Custom Action="CreateMysqlLocation" After="SetCreateMysql64Location">REMOVE="" AND MYSQLLOCATIONLOCATION &lt;&gt; ""</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&lt;&gt;"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>