Roxen.git / server / etc / RoxenUI.wxs

version» Context lines:

Roxen.git/server/etc/RoxenUI.wxs:1:   <?xml version="1.0" encoding="utf-8"?>   <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">    <Fragment Id="RoxenUI">    <CustomAction Id="DIRCA_TARGETDIR" Property="TARGETDIR" Value="[ProgramFilesFolder][Manufacturer]\[ProductName]" Execute="firstSequence" /> +  <CustomAction Id="DONT_INSTALL_SERVICE" Property="INSTALL_SERVICE" Value="0" Execute="firstSequence" />    <CustomAction Id="ERRCA_CANCELNEWERVERSION" Error="[VSDVERSIONMSG]" />    <CustomAction Id="ERRCA_UIANDADVERTISED" Error="[VSDUIANDADVERTISED]" />    <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="VSDCA_FolderForm_AllUsers" Property="FolderForm_AllUsers" Value="ALL" />    <CustomAction Id="SetRemoveOldService" Property="RemoveOldService"    Value="[TARGETDIR]" Execute="immediate" />    <CustomAction Id="RemoveOldService" BinaryKey="RoxenInstaller"
Roxen.git/server/etc/RoxenUI.wxs:19:    Execute="immediate" />    <CustomAction Id="CreateConfigInterface" BinaryKey="RoxenInstaller"    VBScriptCall="CreateConfigInterface" Execute="deferred" />    <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" />    <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:947:    <Control Id="WelcomeText" Type="Text" X="9" Y="63" Width="354" Height="114">    <Text>{\VSI_MS_Sans_Serif13.0_0_0}The installer will guide you through the steps required to install [ProductName] on your computer.</Text>    </Control>    </Dialog>    <Dialog Id="Custom2Buttons" Width="373" Height="287" Title="[ProductName]">    <Control Id="NextButton" Type="PushButton" X="300" Y="261" Width="66" Height="18" Default="yes">    <Text>{\VSI_MS_Sans_Serif13.0_0_0}&amp;Next &gt;</Text>    <Publish Event="EndDialog" Value="Return"><![CDATA[Custom2Buttons_NextArgs=""]]></Publish>    <Publish Event="NewDialog" Value="[Custom2Buttons_NextArgs]"><![CDATA[Custom2Buttons_NextArgs<>""]]></Publish>    </Control> -  <Control Id="RadioButtonGroup" Type="RadioButtonGroup" X="18" Y="108" Width="348" Height="138" Property="INSTALLATION_TYPE"> -  <Text>{\VSI_MS_Shell_Dlg13.0_0_0}MsiRadioButtonGroup</Text> -  </Control> +     <Control Id="CancelButton" Type="PushButton" X="156" Y="261" Width="66" Height="18" Cancel="yes">    <Text>{\VSI_MS_Sans_Serif13.0_0_0}Cancel</Text>    <Publish Event="SpawnDialog" Value="Cancel"><![CDATA[]]></Publish>    </Control>    <Control Id="PreviousButton" Type="PushButton" X="228" Y="261" Width="66" Height="18">    <Text>{\VSI_MS_Sans_Serif13.0_0_0}&lt; &amp;Back</Text>    <Publish Event="NewDialog" Value="[Custom2Buttons_PrevArgs]"><![CDATA[Custom2Buttons_PrevArgs<>""]]></Publish>    <Condition Action="disable"><![CDATA[Custom2Buttons_PrevArgs=""]]></Condition>    <Condition Action="enable"><![CDATA[Custom2Buttons_PrevArgs<>""]]></Condition>    </Control>    <Control Id="BannerBmp" Type="Bitmap" X="0" Y="0" Width="375" Height="52" TabSkip="no" Text="DefBannerBitmap" />    <Control Id="Line1" Type="Line" X="0" Y="52" Width="375" Height="6">    <Text>{\VSI_MS_Sans_Serif16.0_1_0}MsiHorizontalLine</Text>    </Control>    <Control Id="Line2" Type="Line" X="0" Y="252" Width="375" Height="6">    <Text>{\VSI_MS_Sans_Serif13.0_0_0}MsiHorizontalLine</Text>    </Control>    <Control Id="BannerText" Type="Text" X="9" Y="9" Width="306" Height="33" Transparent="yes">    <Text>{\VSI_MS_Sans_Serif16.0_1_0}Type of installation</Text>    </Control> -  <Control Id="BodyText" Type="Text" X="9" Y="63" Width="354" Height="42"> +  <Control Id="BodyText" Type="Text" X="9" Y="63" Width="354" Height="21">    <Text>{\VSI_MS_Sans_Serif13.0_0_0}Select type of installation</Text>    </Control> -  +  <Control Id="RadioButtonGroup" Type="RadioButtonGroup" X="18" Y="84" Width="348" Height="48" Property="INSTALLATION_TYPE"> +  <Text>{\VSI_MS_Shell_Dlg13.0_0_0}MsiRadioButtonGroup</Text> +  </Control> +  <Control Id="StartServerText" Type="Text" X="9" Y="132" Width="354" Height="21"> +  <Text>{\VSI_MS_Sans_Serif13.0_0_0}Start server after installation</Text> +  </Control> +  <Control Id="StartServerGroup" Type="RadioButtonGroup" X="18" Y="153" Width="348" Height="48" Property="START_SERVER"> +  <Text>{\VSI_MS_Shell_Dlg13.0_0_0}MsiRadioButtonGroup</Text> +  </Control> +  <Control Id="InstallServiceText" Type="Text" X="9" Y="201" Width="354" Height="21"> +  <Text>{\VSI_MS_Sans_Serif13.0_0_0}Install as service</Text> +  <Condition Action="disable">NOT VersionNT</Condition> +  <Condition Action="enable">VersionNT</Condition> +  </Control> +  <Control Id="InstallServiceGroup" Type="RadioButtonGroup" X="18" Y="222" Width="348" Height="48" Property="INSTALL_SERVICE"> +  <Text>{\VSI_MS_Shell_Dlg13.0_0_0}MsiRadioButtonGroup</Text> +  <Condition Action="disable">NOT VersionNT</Condition> +  <Condition Action="enable">VersionNT</Condition> +  </Control>    </Dialog>    <RadioGroup Property="AdminMaintenanceForm_Action">    <RadioButton Text="{\VSI_MS_Sans_Serif13.0_0_0}&amp;Repair [ProductName]" X="0" Y="0" Width="348" Height="17">Repair</RadioButton>    <RadioButton Text="{\VSI_MS_Sans_Serif13.0_0_0}Re&amp;move [ProductName]" X="0" Y="18" Width="348" Height="17">Remove</RadioButton>    </RadioGroup>    <RadioGroup Property="MaintenanceForm_Action">    <RadioButton Text="{\VSI_MS_Sans_Serif13.0_0_0}&amp;Repair [ProductName]" X="0" Y="0" Width="348" Height="17">Repair</RadioButton>    <RadioButton Text="{\VSI_MS_Sans_Serif13.0_0_0}Re&amp;move [ProductName]" X="0" Y="18" Width="348" Height="17">Remove</RadioButton>    </RadioGroup>    <RadioGroup Property="FolderForm_AllUsers">    <RadioButton Text="{\VSI_MS_Sans_Serif13.0_0_0}&amp;Everyone" X="0" Y="0" Width="342" Height="17">ALL</RadioButton>    <RadioButton Text="{\VSI_MS_Sans_Serif13.0_0_0}Just &amp;me" X="0" Y="18" Width="342" Height="17">ME</RadioButton>    </RadioGroup>    <RadioGroup Property="INSTALLATION_TYPE">    <RadioButton Text="{\VSI_MS_Sans_Serif13.0_0_0}Custom" X="0" Y="0" Width="348" Height="17">1</RadioButton>    <RadioButton Text="{\VSI_MS_Sans_Serif13.0_0_0}Typical" X="0" Y="24" Width="348" Height="17">2</RadioButton>    </RadioGroup> -  +  <RadioGroup Property="START_SERVER"> +  <RadioButton Text="{\VSI_MS_Sans_Serif13.0_0_0}Yes" X="0" Y="0" Width="348" Height="17">1</RadioButton> +  <RadioButton Text="{\VSI_MS_Sans_Serif13.0_0_0}No" X="0" Y="24" Width="348" Height="17">0</RadioButton> +  </RadioGroup> +  <RadioGroup Property="INSTALL_SERVICE"> +  <RadioButton Text="{\VSI_MS_Sans_Serif13.0_0_0}Yes" X="0" Y="0" Width="348" Height="17">1</RadioButton> +  <RadioButton Text="{\VSI_MS_Sans_Serif13.0_0_0}No" X="0" Y="24" Width="348" Height="17">0</RadioButton> +  </RadioGroup>    <ComboBox Property="SERVER_PROTOCOL">    <ListItem Id="http" />    <ListItem Id="https" />    </ComboBox>    <TextStyle Id="VSI_MS_Sans_Serif13.0_0_0" FaceName="MS Sans Serif" Size="9" Red="0" Green="0" Blue="0" />    <TextStyle Id="VSI_MS_Sans_Serif16.0_1_0" FaceName="MS Sans Serif" Size="12" Red="0" Green="0" Blue="0" Bold="yes" />    <TextStyle Id="VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400" FaceName="MS Sans Serif" Size="9" Red="0" Green="0" Blue="0" />    <TextStyle Id="VSI_MS_Shell_Dlg13.0_0_0" FaceName="MS Shell Dlg" Size="9" Red="0" Green="0" Blue="0" />    <UIText Id="MenuLocal">Will be installed on local hard drive</UIText>    <UIText Id="SelParentCostNegNeg">This feature frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures free up [4] on your hard drive.</UIText>
Roxen.git/server/etc/RoxenUI.wxs:1096:    <Property Id="CustomTextA_PrevArgs"><![CDATA[Custom2Buttons]]></Property>    <Property Id="CustomTextA_NextArgs"><![CDATA[ConfirmInstallForm]]></Property>    <Property Id="ConfirmInstallForm_PrevArgs"><![CDATA[CustomTextA]]></Property>       <Property Id="VSDIISMSG"><![CDATA[This setup requires Internet Information Server 4.0 or higher and Windows NT 4.0, Windows 2000, or Windows XP. This setup cannot be installed on Windows 95, Windows 98, or Windows Me. Please install Internet Information Server and run this setup again.]]></Property>    <Property Id="FolderForm_AllUsersVisible"><![CDATA[1]]></Property>    <Property Id="SFF_NewFldrBtn"><![CDATA[NewFldrBtn]]></Property>    <Property Id="FolderForm_AllUsers"><![CDATA[ME]]></Property>    <Property Id="ARPCONTACT"><![CDATA[Roxen Internet Software]]></Property>    <Property Id="INSTALLATION_TYPE"><![CDATA[2]]></Property> +  <Property Id="START_SERVER"><![CDATA[1]]></Property> +  <Property Id="INSTALL_SERVICE"><![CDATA[1]]></Property>    <Property Id="VSDNETURLMSG"><![CDATA[This setup requires the .NET Framework version [1]. Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?]]></Property>    <Property Id="AdminMaintenanceForm_Action"><![CDATA[Repair]]></Property>    <Property Id="VSDVERSIONMSG"><![CDATA[Unable to install because a newer version of this product is already installed.]]></Property>    <Property Id="MaintenanceForm_Action"><![CDATA[Repair]]></Property>    <Property Id="EDITA1"><![CDATA[1]]></Property>    <Property Id="VSDUIANDADVERTISED"><![CDATA[This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of the package to basic.]]></Property>    <Property Id="SFF_UpFldrBtn"><![CDATA[UpFldrBtn]]></Property>    <Property Id="EDITA4"><![CDATA[1]]></Property>    <Property Id="EDITA3"><![CDATA[1]]></Property>    <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="OLDTARGETDIR">    <ComponentSearch Id="NTSTART" Type="directory"    Guid='8c53c060-a679-3ab2-a67f-0e7f84da59ab' />    </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" />    <Custom Action="DIRCA_TARGETDIR" After="CustomTextA_SetProperty_EDIT4"><![CDATA[TARGETDIR=""]]></Custom> -  +  <Custom Action="DONT_INSTALL_SERVICE" After="DIRCA_TARGETDIR">NOT VersionNT</Custom>    <RemoveExistingProducts After="InstallInitialize" /> -  <Custom Action="SetRemoveOldService" After="InstallFiles">REMOVE=""</Custom> -  <Custom Action="RemoveOldService" After="SetRemoveOldService">REMOVE=""</Custom> +  <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=""</Custom>    <Custom Action="SetCreatePikeLocation" After="CreateConfigInterface">REMOVE=""</Custom>    <Custom Action="CreatePikeLocation" After="SetCreatePikeLocation">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>