Roxen.git / server / etc / RoxenUI.wxs

version» Context lines:

Roxen.git/server/etc/RoxenUI.wxs:8:    <CustomAction Id="CustomTextA_SetProperty_EDIT3" Property="SERVER_PORT" Value="22202" Execute="firstSequence" />    <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" /> +  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" /> +  VBScriptCall="CreateConfigInterface" Execute="deferred" Impersonate="No" /> +  <CustomAction Id="SetCreateMysql32Location" Property="CreateMysqlLocation" +  Value="[SERVERDIR];[MYSQLD32LOCATION];[MYISAMCHK32LOCATION]" Execute="immediate" /> +  <CustomAction Id="SetCreateMysql64Location" Property="CreateMysqlLocation" +  Value="[SERVERDIR];[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" /> +  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"    ExeCommand='"[TARGETDIR]ntstart"'    Execute="deferred" Return="asyncNoWait" />    <CustomAction Id="SetCreateEnvironment"    Property="CreateEnvironment"    Value="[TARGETDIR]local/environment.ini"    Execute="immediate" />    <CustomAction Id="CreateEnvironment" BinaryKey="RoxenInstaller" -  VBScriptCall="CreateEnvironment" Execute="deferred" /> +  VBScriptCall="CreateEnvironment" Execute="deferred" Impersonate="No" />    <UI>    <Property Id="ErrorDialog"><![CDATA[ErrorDialog]]></Property>    <Property Id="DefaultUIFont"><![CDATA[VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400]]></Property>    <Dialog Id="UserExitForm" Width="373" Height="287" Title="[ProductName]">    <Control Id="CloseButton" Type="PushButton" X="300" Y="261" Width="66" Height="18" Default="yes" Cancel="yes">    <Text>{\VSI_MS_Sans_Serif13.0_0_0}&amp;Close</Text>    <Publish Event="EndDialog" Value="Return"><![CDATA[1]]></Publish>    </Control>    <Control Id="CancelButton" Type="PushButton" X="156" Y="261" Width="66" Height="18" Disabled="yes">    <Text>{\VSI_MS_Sans_Serif13.0_0_0}Cancel</Text>
Roxen.git/server/etc/RoxenUI.wxs:1160:    <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="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"> +  <FileSearch LongName="mysqld.exe" /> +  </DirectorySearch> +  </Property> +  <Property Id="MYSQLD64LOCATION"> +  <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"> +  <FileSearch LongName="myisamchk.exe" /> +  </DirectorySearch> +  </Property> +  <Property Id="MYISAMCHK64LOCATION"> +  <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" />    <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:1184:    <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="SetCreatePikeLocation" After="CreateConfigInterface">REMOVE=""</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="CreateMysqlLocation" After="SetCreateMysql64Location">REMOVE=""</Custom> +  <Custom Action="SetCreatePikeLocation" After="CreateMysqlInterface">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>