Roxen.git
/
server
/
etc
/
RoxenUI.wxs
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/RoxenUI.wxs:25:
<CustomAction Id="SetCreatePikeLocation" Property="CreatePikeLocation" Value="[SERVERDIR]" Execute="immediate" /> <CustomAction Id="CreatePikeLocation" BinaryKey="RoxenInstaller" VBScriptCall="CreatePikeLocation" Execute="deferred" /> <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" />
<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}&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:1180:
<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="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>