Files
2026-08-12 18:07:22 +08:00

1072 lines
80 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<?include Defines.wxi ?>
<Product Id="$(var.PRODUCTCODE_GUID)"
UpgradeCode="$(var.UPGRADECODE_GUID)"
Name="$(var.INSTALLED_PRODUCT_NAME)"
Manufacturer="$(var.INSTALLED_PRODUCT_MANUFACTURER)"
Language="1033"
Codepage="936"
Version="$(var.ProductVersion)" >
<Package Id="*"
Description="$(var.INSTALLED_PRODUCT_DESCRIPTION)"
Manufacturer="$(var.INSTALLED_PRODUCT_MANUFACTURER)"
Comments="[PackageComment]"
InstallerVersion="300"
Compressed="yes"
Platform="$(var.Platform)"
InstallPrivileges="elevated"
InstallScope="perMachine"
Languages="1033"/>
<!--Major Upgrade code-->
<MajorUpgrade DowngradeErrorMessage="[NewerVersionError]" AllowDowngrades="no" />
<!--Media Output Files-->
<MediaTemplate CabinetTemplate="hexagon{0}.cab" EmbedCab="yes" CompressionLevel="medium"/>
<!--Installation directory and release files are defined in ReleaseFilesRoot.wxs and ReleaseFiles.generated.wxs -->
<Directory Id="TARGETDIR" Name="SourceDir" />
<!-- Directory Reference for the main application folder -->
<DirectoryRef Id="APPLICATIONFOLDER">
<Component Id="RemoveAppFolder" Win64="$(var.Win64)" Guid="$(var.UNINSTALL_GUID)" Feature="PRODUCTMAIN" KeyPath="yes">
<util:RemoveFolderEx Id="RemoveAppFolder" Property="DIRECTORYUNINSTALL" On="uninstall" />
</Component>
</DirectoryRef>
<!--Common Docs Reference-->
<PropertyRef Id="WIX_DIR_COMMON_DOCUMENTS" />
<!--Checking for OS Version-->
<Condition Message="This application is only supported on Windows Vista, Windows Server 2008, or higher.">
<![CDATA[Installed OR (VersionNT >= 600)]]>
</Condition>
<!--Add App Tools icons for Start Menu shortcuts-->
<Icon Id="product.ico" SourceFile="..\..\Branding\MsiProductIcon.ico" />
<!--App Tools Icon for Add/Remove-->
<Property Id="ARPPRODUCTICON" Value="product.ico" />
<!--Package Properties-->
<Property Id="PackageComment">$(var.PRODUCT_NAME) is a registered trademark of $(var.PRODUCT_COPYRIGHT)</Property>
<!--General Properties-->
<Property Id="EveryoneGroupAccount" Value="S-1-1-0" />
<!--License Properties
<Property Id="LicenseDialog_DialogTitle">Choose License Type</Property>
<Property Id="LicenseDialog_DialogMessage">Please choose your license type.</Property>
<Property Id="LicenseDialog_LicenseHasp">HASP</Property>
<Property Id="LicenseDialog_LicenseLms">LMS (Software) License</Property>
-->
<!--UI Text Properties-->
<Property Id="Progress2">updates</Property>
<Property Id="Setup">Setup</Property>
<Property Id="ButtonText_Back">&lt; &amp;Back</Property>
<Property Id="ButtonText_Browse">Br&amp;owse</Property>
<Property Id="ButtonText_Cancel">Cancel</Property>
<Property Id="ButtonText_Exit">&amp;Exit</Property>
<Property Id="ButtonText_Finish">&amp;Finish</Property>
<Property Id="ButtonText_Ignore">&amp;Ignore</Property>
<Property Id="ButtonText_Install">&amp;Install</Property>
<Property Id="ButtonText_Next">&amp;Next &gt;</Property>
<Property Id="ButtonText_No">&amp;No</Property>
<Property Id="ButtonText_OK">OK</Property>
<Property Id="ButtonText_Remove">&amp;Remove</Property>
<Property Id="ButtonText_Repair">&amp;Repair</Property>
<Property Id="ButtonText_Reset">&amp;Reset</Property>
<Property Id="ButtonText_Resume">&amp;Resume</Property>
<Property Id="ButtonText_Retry">&amp;Retry</Property>
<Property Id="ButtonText_Return">&amp;Return</Property>
<Property Id="ButtonText_Yes">&amp;Yes</Property>
<Property Id="Label_Typical">Typical</Property>
<Property Id="Label_Custom">Custom</Property>
<Property Id="Label_InstallMode"></Property>
<Property Id="Wizard">Setup Wizard</Property>
<Property Id="IAgree">No</Property>
<Property Id="Update">Update</Property>
<Property Id="ChangeProgress1">Changing</Property>
<Property Id="ChangeProgress2">changes</Property>
<Property Id="RepairProgress1">Repairing</Property>
<Property Id="RepairProgress2">repairs</Property>
<Property Id="RemoveProgress1">Removing</Property>
<Property Id="RemoveProgress2">removes</Property>
<!--UI Font & Image Properties-->
<Property Id="DefaultUIFont">DlgDescriptionBlack</Property>
<Property Id="ErrorDialog">ErrorDlg</Property>
<Property Id="BannerBitmap">bannrbmp</Property>
<Property Id="InfoIcon">info</Property>
<Property Id="CustomSetupIcon">custicon</Property>
<Property Id="RemoveIcon">removico</Property>
<Property Id="ExclamationIcon">exclamic</Property>
<Property Id="CompleteSetupIcon">completi</Property>
<Property Id="RepairIcon">repairic</Property>
<Property Id="InstallerIcon">insticon</Property>
<Property Id="DialogBitmap">dlgbmp</Property>
<Property Id="LogoCompany">companylogo</Property>
<Property Id="LogoProduct">productlogo</Property>
<Property Id="LogoProductHeader">productlogoheader</Property>
<Property Id="WhiteBackground">whitebg</Property>
<!--Setting License Properties with SetProperty-->
<!--UI Launch Properties-->
<Property Id="LAUNCHPRODUCT">1</Property>
<!--UI Error Message Properties-->
<Property Id="NewerVersionError">Newer version already installed.</Property>
<!--UI Binary Files-->
<Binary Id="Up" SourceFile="UIresource\Up.ico" />
<Binary Id="New" SourceFile="UIresource\New.ico" />
<Binary Id="custicon" SourceFile="UIresource\Custom.ico" />
<Binary Id="repairic" SourceFile="UIresource\Repair.ico" />
<Binary Id="exclamic" SourceFile="UIresource\Exclam.ico" />
<Binary Id="removico" SourceFile="UIresource\Remove.ico" />
<Binary Id="completi" SourceFile="UIresource\Complete.ico" />
<Binary Id="insticon" SourceFile="UIresource\Typical.ico" />
<Binary Id="info" SourceFile="UIresource\Info.ico" />
<Binary Id="bannrbmp" SourceFile="UIresource\Banner.jpg" />
<Binary Id="dlgbmp" SourceFile="UIresource\DialogWAI.jpg" />
<Binary Id="companylogo" SourceFile="..\..\Branding\CompanyLogo.jpg" />
<Binary Id="productlogo" SourceFile="..\..\Branding\ProductLogo.jpg" />
<Binary Id="productlogoheader" SourceFile="..\..\Branding\ProductLogoHeader.jpg" />
<Binary Id="whitebg" SourceFile="UIresource\WhiteBG.bmp" />
<!--Setting License Properties with RegistrySearch-->
<Property Id="USELMSLICENSING" ComplianceCheck="no" >
<RegistrySearch Id='UseLMSLicensingSearch'
Root='HKLM'
Key='Software\$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.PRODUCT_NAME)\$(var.PRODUCT_VERSION_NAME)\Licensing'
Name='UseLMSLicensing'
Type='raw' Win64="no"/>
</Property>
<!-- Property gets value from registry to set up installation folder for upgrades -->
<Property Id="APPLICATIONFOLDER" Secure="yes">
<RegistrySearch
Id='AppFolderRegistrySearch'
Type='raw'
Root='HKLM'
Key='Software\$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.PRODUCT_NAME)\Installer\$(var.PRODUCT_VERSION_NAME)\$(var.BUILD_TYPE_ELEMENT)\$(var.INSTALLED_PRODUCT_PLATFORM)'
Name='InstallPath'
Win64='no' />
</Property>
<!--Property Id="PDFCREATOR_INSTALLED">
<RegistrySearch Id='AcmeFoobarRegistry' Type='raw'
Root='HKLM' Key='Software\Microsoft\Windows\CurrentVersion\Uninstall\Foobar 1.0' Name='InstallDir' />
</Property-->
<!--Setting Uninstall Directory with RegistrySearch-->
<Property Id='UNINSTALLDIRECTORY'>
<RegistrySearch Id='UninstallDirectoryProperty'
Root='HKLM'
Key='Software\$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.PRODUCT_NAME)\Installer\$(var.PRODUCT_VERSION_NAME)\$(var.BUILD_TYPE_ELEMENT)\$(var.INSTALLED_PRODUCT_PLATFORM)'
Name='InstallPath'
Type='raw' Win64="no"/>
</Property>
<InstallUISequence>
</InstallUISequence>
<!--Install Execute Sequence -->
<InstallExecuteSequence>
<Custom Action="LaunchProduct" After="InstallFinalize">(UILevel=4) AND (NOT InstallMode = "Remove")</Custom>
<Custom Action="cleanInstallFolder" Before="WixRemoveFoldersEx">REMOVE="ALL"</Custom>
</InstallExecuteSequence>
<!--Custom Action Definitions -->
<?if $(var.Platform) = x64 ?>
<Binary Id='CustomActions' SourceFile='CustomActions\bin\x64\Release\CustomActions.CA.dll' />
<?else?>
<Binary Id='CustomActions' SourceFile='CustomActions\bin\Release\CustomActions.CA.dll' />
<?endif?>
<CustomAction Id='LaunchProduct' FileKey='fil3F87621905F765E23FFD55632FF25EA0' ExeCommand='' Return="asyncNoWait" />
<CustomAction Id="cleanInstallFolder" Property="DIRECTORYUNINSTALL" Value="[UNINSTALLDIRECTORY]" Execute="immediate" />
<!--UI Definition -->
<UI>
<UIRef Id="UI_Texts" />
<Dialog Id="AdminWelcomeDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" FixedSize="yes"/>
<Control Id="CompanyLogo" Type="Bitmap" X="229" Y="174" Width="140" Height="60" TabSkip="no" Text="[LogoCompany]" FixedSize="yes" />
<Control Id="ProductLogo" Type="Bitmap" X="88" Y="5" Width="50" Height="50" TabSkip="no" Text="[LogoProduct]" FixedSize="yes" />
<Control Id="Next" Type="PushButton" X="199" Y="243" Width="72" Height="17" Default="yes" Text="[ButtonText_Next]">
<Publish Property="InstallMode" Value="Server Image">1</Publish>
<Publish Event="NewDialog" Value="AdminRegistrationDlg">1</Publish>
<Condition Action="enable">1</Condition>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Disabled="yes" Text="[ButtonText_Back]" />
<Control Id="Description" Type="Text" X="135" Y="106" Width="226" Height="82" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}The [Wizard] will create a server image of [ProductName], at a specified network location. Click Next to continue or Cancel to exit the [Wizard].</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="135" Y="14" Width="226" Height="90" Transparent="yes" NoPrefix="yes">
<Text>{\VerdanaBold13}Welcome to the [ProductName] [Wizard]</Text>
</Control>
</Dialog>
<Dialog Id="PrepareDlg" Width="370" Height="270" Title="[ProductName] [Setup]" Modeless="yes">
<Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" FixedSize="yes"/>
<Control Id="CompanyLogo" Type="Bitmap" X="229" Y="174" Width="140" Height="60" TabSkip="no" Text="[LogoCompany]" FixedSize="yes" />
<Control Id="ProductLogo" Type="Bitmap" X="88" Y="5" Width="50" Height="50" TabSkip="no" Text="[LogoProduct]" FixedSize="yes" />
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Default="yes" Cancel="no" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="ActionText" Type="Text" X="136" Y="149" Width="226" Height="33" Transparent="yes" NoPrefix="yes" >
<Subscribe Event="ActionText" Attribute="Text" />
</Control>
<Control Id="Description" Type="Text" X="135" Y="106" Width="226" Height="40" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Please wait while the [Wizard] prepares to guide you through the installation.</Text>
</Control>
<Control Id="Next" Type="PushButton" X="199" Y="243" Width="72" Height="17" Disabled="yes" TabSkip="yes" Text="[ButtonText_Next]" />
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Disabled="yes" TabSkip="yes" Text="[ButtonText_Back]" />
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="135" Y="14" Width="226" Height="90" Transparent="yes" NoPrefix="yes">
<Text>{\VerdanaBold13}Welcome to the [ProductName] [Wizard]</Text>
</Control>
<Control Id="ActionData" Type="Text" X="135" Y="186" Width="226" Height="40" Transparent="yes" NoPrefix="yes">
<Subscribe Event="ActionData" Attribute="Text" />
</Control>
</Dialog>
<Dialog Id="ProgressDlg" Width="370" Height="270" Title="[ProductName] [Setup]" Modeless="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Disabled="yes" Text="[ButtonText_Back]" />
<Control Id="Next" Type="PushButton" X="199" Y="243" Width="72" Height="17" Disabled="yes" Text="[ButtonText_Next]" />
<Control Id="ActionText" Type="Text" X="70" Y="100" Width="265" Height="10" Transparent="yes" >
<Subscribe Event="ActionText" Attribute="Text" />
</Control>
<Control Id="Text" Type="Text" X="35" Y="65" Width="300" Height="20" Transparent="yes" >
<Text>Please wait while the [Wizard] [Progress2] [ProductName]. This may take several minutes.</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="15" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}[Progress1] [ProductName]</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
<Control Id="ProgressBar" Type="ProgressBar" X="35" Y="115" Width="300" Height="10" ProgressBlocks="yes" Text="Progress done">
<Subscribe Event="SetProgress" Attribute="Progress" />
</Control>
<Control Id="StatusLabel" Type="Text" X="35" Y="100" Width="35" Height="10" Text="Status:" Transparent="yes"/>
</Dialog>
<Dialog Id="UserExit" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" FixedSize="yes"/>
<Control Id="CompanyLogo" Type="Bitmap" X="229" Y="174" Width="140" Height="60" TabSkip="no" Text="[LogoCompany]" FixedSize="yes" />
<Control Id="ProductLogo" Type="Bitmap" X="88" Y="5" Width="50" Height="50" TabSkip="no" Text="[LogoProduct]" FixedSize="yes" />
<Control Id="Finish" Type="PushButton" X="199" Y="243" Width="72" Height="17" Default="yes" Cancel="no" Text="[ButtonText_Finish]">
<Publish Event="EndDialog" Value="Exit">1</Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Disabled="yes" Text="[ButtonText_Cancel]" />
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Disabled="yes" Text="[ButtonText_Back]" />
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="135" Y="14" Width="226" Height="90" Transparent="yes" NoPrefix="yes">
<Text>{\VerdanaBold13}[ProductName] [Wizard] was interrupted</Text>
</Control>
<Control Id="Description1" Type="Text" X="135" Y="106" Width="226" Height="40" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}[ProductName] setup was interrupted. Your system has not been modified. To install this program at a later time, please run the installation again.</Text>
</Control>
<Control Id="Description2" Type="Text" X="135" Y="155" Width="226" Height="40" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Click the Finish button to exit the [Wizard].</Text>
</Control>
</Dialog>
<Dialog Id="FatalError" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" FixedSize="yes"/>
<Control Id="Finish" Type="PushButton" X="199" Y="243" Width="72" Height="17" Default="yes" Cancel="no" Text="[ButtonText_Finish]">
<Publish Event="EndDialog" Value="Exit">1</Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Disabled="yes" Text="[ButtonText_Cancel]" />
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Disabled="yes" Text="[ButtonText_Back]" />
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="135" Y="14" Width="226" Height="90" Transparent="yes" NoPrefix="yes">
<Text>{\VerdanaBold13}[ProductName] [Wizard] ended prematurely</Text>
</Control>
<Control Id="Description1" Type="Text" X="135" Y="106" Width="226" Height="40" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}[ProductName] setup ended prematurely because of an error. Your system has not been modified. To install this program at a later time, please run the installation again.</Text>
</Control>
<Control Id="Description2" Type="Text" X="135" Y="155" Width="226" Height="40" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Click the Finish button to exit the [Wizard].</Text>
</Control>
</Dialog>
<Dialog Id="ExitDialog" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" FixedSize="yes"/>
<Control Id="CompanyLogo" Type="Bitmap" X="229" Y="174" Width="140" Height="60" TabSkip="no" Text="[LogoCompany]" FixedSize="yes" />
<Control Id="ProductLogo" Type="Bitmap" X="88" Y="5" Width="50" Height="50" TabSkip="no" Text="[LogoProduct]" FixedSize="yes" />
<Control Id="Finish" Type="PushButton" X="199" Y="243" Width="72" Height="17" Default="yes" Cancel="no" Text="[ButtonText_Finish]">
<Publish Event="EndDialog" Value="Return">1</Publish>
<Publish Event="DoAction" Value="LaunchProduct">(NOT Installed) AND (LAUNCHPRODUCT = 1) AND (NOT InstallMode = "Remove")</Publish>
<Publish Event="DoAction" Value="LaunchProduct">(Installed) AND (LAUNCHPRODUCT = 1)</Publish>
</Control>
<Control Id="LaunchProduct" Type="CheckBox" X="135" Y="138" Width="10" Height="10" Property="LAUNCHPRODUCT" CheckBoxValue="1">
<Text>{\DlgDescriptionWhite}Launch [ProductName] after the install finishes.</Text>
<Condition Action="hide"><![CDATA[(InstallMode = "Remove")]]></Condition>
</Control>
<Control Id="LaunchLabel" Type="Text" X="149" Y="138" Width="200" Height="24" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Launch [ProductName] after the install finishes.</Text>
<Condition Action="hide"><![CDATA[(InstallMode = "Remove")]]></Condition>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Disabled="yes" Text="[ButtonText_Cancel]" />
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Disabled="yes" Text="[ButtonText_Back]" />
<Control Id="Description" Type="Text" X="135" Y="106" Width="226" Height="28" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Click the Finish button to exit the [Wizard].</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="135" Y="14" Width="226" Height="90" Transparent="yes" NoPrefix="yes">
<Text>{\VerdanaBold13}Completing the [ProductName] [Wizard]</Text>
</Control>
</Dialog>
<Dialog Id="AdminBrowseDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="PathEdit" Type="PathEdit" X="25" Y="210" Width="329" Height="15" Property="_BrowseProperty" Indirect="yes" />
<Control Id="OK" Type="PushButton" X="189" Y="243" Width="82" Height="17" Default="yes" Text="[ButtonText_OK]">
<Publish Event="SetTargetPath" Value="[_BrowseProperty]">1</Publish>
<Publish Event="EndDialog" Value="Return">1</Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="Reset" Value="0">1</Publish>
<Publish Event="EndDialog" Value="Return">1</Publish>
</Control>
<Control Id="ComboLabel" Type="Text" Transparent="yes" X="25" Y="59" Width="68" Height="10" TabSkip="no" Text="&amp;Look in:" />
<Control Id="DirectoryCombo" Type="DirectoryCombo" X="98" Y="56" Width="205" Height="80" Property="_BrowseProperty" Fixed="yes" Remote="yes" Removable="yes">
<Subscribe Event="IgnoreChange" Attribute="IgnoreChange" />
</Control>
<Control Id="Up" Type="PushButton" X="306" Y="55" Width="23" Height="23" ToolTip="Up One Level" Icon="yes" FixedSize="yes" IconSize="16" Text="Up">
<Publish Event="DirectoryListUp" Value="0">1</Publish>
</Control>
<Control Id="NewFolder" Type="PushButton" X="331" Y="55" Width="23" Height="23" ToolTip="Create A New Folder" Icon="yes" FixedSize="yes" IconSize="16" Text="New">
<Publish Event="DirectoryListNew" Value="0">1</Publish>
</Control>
<Control Id="DirectoryList" Type="DirectoryList" X="25" Y="80" Width="329" Height="110" Property="_BrowseProperty" Sunken="yes" TabSkip="no">
<ListBox Property="_BrowseProperty" />
</Control>
<Control Id="PathLabel" Type="Text" Transparent="yes" X="25" Y="196" Width="101" Height="12" TabSkip="no" Text="&amp;Folder name:" />
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Browse to the destination folder</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Change current destination folder</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
</Dialog>
<Dialog Id="AdminInstallPointDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="Text" Type="Text" Transparent="yes" X="25" Y="80" Width="320" Height="10" TabSkip="no">
<Text>&amp;Enter a new network location or click Browse to browse to one.</Text>
</Control>
<Control Id="PathEdit" Type="PathEdit" X="25" Y="93" Width="320" Height="15" Property="TARGETDIR" />
<Control Id="Browse" Type="PushButton" X="265" Y="119" Width="80" Height="17" Text="[ButtonText_Browse]">
<Publish Event="SpawnDialog" Value="AdminBrowseDlg">1</Publish>
</Control>
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Text="[ButtonText_Back]">
<Publish Event="NewDialog" Value="AdminRegistrationDlg">1</Publish>
</Control>
<Control Id="Next" Type="PushButton" X="199" Y="243" Width="72" Height="17" Default="yes" Text="[ButtonText_Next]">
<Publish Event="SetTargetPath" Value="TARGETDIR">1</Publish>
<Publish Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Please specify a network location for the server image of [ProductName] product</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Network Location</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
</Dialog>
<Dialog Id="AdminRegistrationDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="OrganizationLabel" Type="Text" Transparent="yes" X="45" Y="71" Width="285" Height="30" TabSkip="no">
<Text>&amp;Please enter the name of your organization in the box below. This will be used as default company name for subsequent installations of [ProductName]:</Text>
</Control>
<Control Id="OrganizationEdit" Type="Edit" X="45" Y="105" Width="220" Height="15" Property="COMPANYNAME" Text="{80}" />
<Control Id="CDKeyLabel" Type="Text" Transparent="yes" X="45" Y="130" Width="188" Height="13" TabSkip="no">
<Text>CD Key:</Text>
</Control>
<Control Id="CDKeyEdit" Type="MaskedEdit" X="45" Y="143" Width="250" Height="15" Property="PIDKEY" Text="[PIDTemplate]" />
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Image="yes" Text="[ButtonText_Back]">
<Publish Event="NewDialog" Value="AdminWelcomeDlg">1</Publish>
</Control>
<Control Id="Next" Type="PushButton" X="199" Y="243" Width="72" Height="17" Default="yes" Text="[ButtonText_Next]">
<Publish Event="ValidateProductID" Value="0">0</Publish>
<Publish Event="NewDialog" Value="AdminInstallPointDlg">ProductID</Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Please enter your company information</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Company Information</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
</Dialog>
<Dialog Id="BrowseDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="PathEdit" Type="PathEdit" X="25" Y="210" Width="329" Height="15" Property="_BrowseProperty" Indirect="yes" />
<Control Id="OK" Type="PushButton" X="189" Y="243" Width="82" Height="17" Default="yes" Text="[ButtonText_OK]">
<Publish Event="SetTargetPath" Value="[_BrowseProperty]">1</Publish>
<Publish Event="EndDialog" Value="Return">1</Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="Reset" Value="0">1</Publish>
<Publish Event="EndDialog" Value="Return">1</Publish>
</Control>
<Control Id="ComboLabel" Type="Text" Transparent="yes" X="25" Y="59" Width="68" Height="10" TabSkip="no" Text="&amp;Look in:" />
<Control Id="DirectoryCombo" Type="DirectoryCombo" X="98" Y="56" Width="205" Height="80" Property="_BrowseProperty" Indirect="yes" Fixed="yes" Remote="yes" Removable="yes">
<Subscribe Event="IgnoreChange" Attribute="IgnoreChange" />
</Control>
<Control Id="Up" Type="PushButton" X="306" Y="55" Width="23" Height="23" ToolTip="Up One Level" Icon="yes" FixedSize="yes" IconSize="16" Text="Up">
<Publish Event="DirectoryListUp" Value="0">1</Publish>
</Control>
<Control Id="NewFolder" Type="PushButton" X="331" Y="55" Width="23" Height="23" ToolTip="Create A New Folder" Icon="yes" FixedSize="yes" IconSize="16" Text="New">
<Publish Event="DirectoryListNew" Value="0">1</Publish>
</Control>
<Control Id="DirectoryList" Type="DirectoryList" X="25" Y="80" Width="329" Height="110" Property="_BrowseProperty" Indirect="yes" Sunken="yes" TabSkip="no">
<ListBox Property="_BrowseProperty" />
</Control>
<Control Id="PathLabel" Type="Text" Transparent="yes" X="25" Y="196" Width="101" Height="12" TabSkip="no" Text="&amp;Folder name:" />
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Browse to the destination folder</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Change current destination folder</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
</Dialog>
<Dialog Id="CancelDlg" Width="260" Height="85" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="0" Width="260" Height="85" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="No" Type="PushButton" X="133" Y="57" Width="80" Height="17" Default="yes" Cancel="no" Text="[ButtonText_No]">
<Publish Event="EndDialog" Value="Return">1</Publish>
</Control>
<Control Id="Yes" Type="PushButton" X="48" Y="57" Width="80" Height="17" Text="[ButtonText_Yes]">
<Publish Event="EndDialog" Value="Exit">1</Publish>
</Control>
<Control Id="Text" Type="Text" Transparent="yes" X="22" Y="15" Width="220" Height="30">
<Text>Are you sure you want to cancel [ProductName] installation?</Text>
</Control>
</Dialog>
<Dialog Id="CustomizeDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes" TrackDiskSpace="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="Tree" Type="SelectionTree" X="15" Y="73" Width="174" Height="116" Property="_BrowseProperty" Sunken="yes" TabSkip="no" Text="Tree of selections" />
<Control Id="Browse" Type="PushButton" X="279" Y="212" Width="81" Height="17" Text="[ButtonText_Browse]">
<Publish Event="SelectionBrowse" Value="BrowseDlg">1</Publish>
<Condition Action="hide">Installed</Condition>
</Control>
<Control Id="Reset" Type="PushButton" X="15" Y="193" Width="63" Height="17" Text="[ButtonText_Reset]">
<Publish Event="Reset" Value="0">1</Publish>
<Subscribe Event="SelectionNoItems" Attribute="Enabled" />
</Control>
<Control Id="DiskCost" Type="PushButton" X="9" Y="243" Width="112" Height="17">
<Text>Disk &amp;Usage</Text>
<Publish Event="SpawnDialog" Value="DiskCostDlg">1</Publish>
<Subscribe Event="SelectionNoItems" Attribute="Enabled" />
</Control>
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Text="[ButtonText_Back]">
<Publish Event="NewDialog" Value="MaintenanceTypeDlg"><![CDATA[InstallMode = "Change"]]></Publish>
<Publish Event="NewDialog" Value="SetupTypeDlg"><![CDATA[InstallMode = "Custom"]]></Publish>
</Control>
<Control Id="Next" Type="PushButton" X="199" Y="243" Width="72" Height="17" Default="no" Text="[ButtonText_Next]">
<Publish Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Subscribe Event="SelectionNoItems" Attribute="Enabled" />
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="no" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Specify how features should be installed.</Text>
</Control>
<Control Id="Text" Type="Text" Transparent="yes" X="15" Y="50" Width="345" Height="20">
<Text>Click on the icons in the tree below to change the way features will be installed.</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="372" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Custom Setup</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
<Control Id="ItemDescription" Type="Text" Transparent="yes" X="200" Y="80" Width="157" Height="29">
<Text>Multiline description of the currently selected item.</Text>
<Subscribe Event="SelectionDescription" Attribute="Text" />
</Control>
<Control Id="ItemSize" Type="Text" Transparent="yes" X="200" Y="111" Width="156" Height="74">
<Text>The size of the currently selected item.</Text>
<Subscribe Event="SelectionSize" Attribute="Text" />
</Control>
<Control Id="Box" Type="GroupBox" X="195" Y="68" Width="166" Height="121" />
<Control Id="Location" Type="Text" Transparent="yes" X="65" Y="212" Width="209" Height="22">
<Text>&lt;The selection's path&gt;</Text>
<Subscribe Event="SelectionPath" Attribute="Text" />
<Subscribe Event="SelectionPathOn" Attribute="Visible" />
<Condition Action="hide">Installed</Condition>
</Control>
<Control Id="LocationLabel" Type="Text" Transparent="yes" X="15" Y="212" Width="51" Height="21" Text="Location:">
<Subscribe Event="SelectionPathOn" Attribute="Visible" />
<Condition Action="hide">Installed</Condition>
</Control>
</Dialog>
<Dialog Id="DiskCostDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="OK" Type="PushButton" X="279" Y="243" Width="82" Height="17" Default="yes" Cancel="no" Text="[ButtonText_OK]">
<Publish Event="EndDialog" Value="Return">1</Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}The disk space required for the installation of the selected features.</Text>
</Control>
<Control Id="Text" Type="Text" Transparent="yes" X="20" Y="53" Width="330" Height="40">
<Text>The highlighted volumes (if any) do not have enough disk space available for the currently selected features. You can either remove some files from the highlighted volumes, or choose to install less features onto local drive(s), or select different destination drive(s).</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Disk Space Requirements</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
<Control Id="VolumeList" Type="VolumeCostList" X="20" Y="100" Width="330" Height="120" Sunken="yes" Fixed="yes" Remote="yes">
<Text>{120}{70}{70}{70}{70}</Text>
</Control>
</Dialog>
<Dialog Id="ErrorDlg" Width="270" Height="105" Title="Installer Information" ErrorDialog="yes" NoMinimize="yes">
<Control Id="ErrorText" Type="Text" Transparent="yes" X="21" Y="15" Width="232" Height="60" TabSkip="no" Text="Information text" />
<Control Id="Y" Type="PushButton" X="100" Y="80" Width="82" Height="17" TabSkip="yes" Text="[ButtonText_Yes]">
<Publish Event="EndDialog" Value="ErrorYes">1</Publish>
</Control>
<Control Id="A" Type="PushButton" X="100" Y="80" Width="82" Height="17" TabSkip="yes" Text="[ButtonText_Cancel]">
<Publish Event="EndDialog" Value="ErrorAbort">1</Publish>
</Control>
<Control Id="C" Type="PushButton" X="100" Y="80" Width="82" Height="17" TabSkip="yes" Text="[ButtonText_Cancel]">
<Publish Event="EndDialog" Value="ErrorCancel">1</Publish>
</Control>
<Control Id="I" Type="PushButton" X="100" Y="80" Width="82" Height="17" TabSkip="yes" Text="[ButtonText_Ignore]">
<Publish Event="EndDialog" Value="ErrorIgnore">1</Publish>
</Control>
<Control Id="N" Type="PushButton" X="100" Y="80" Width="82" Height="17" TabSkip="yes" Text="[ButtonText_No]">
<Publish Event="EndDialog" Value="ErrorNo">1</Publish>
</Control>
<Control Id="O" Type="PushButton" X="100" Y="80" Width="82" Height="17" TabSkip="yes" Text="[ButtonText_OK]">
<Publish Event="EndDialog" Value="ErrorOk">1</Publish>
</Control>
<Control Id="R" Type="PushButton" X="100" Y="80" Width="82" Height="17" TabSkip="yes" Text="[ButtonText_Retry]">
<Publish Event="EndDialog" Value="ErrorRetry">1</Publish>
</Control>
</Dialog>
<Dialog Id="FilesInUse" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes" KeepModeless="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="Retry" Type="PushButton" X="280" Y="243" Width="82" Height="17" Default="yes" Cancel="no" Text="[ButtonText_Retry]">
<Publish Event="EndDialog" Value="Retry">1</Publish>
</Control>
<Control Id="Ignore" Type="PushButton" X="199" Y="243" Width="72" Height="17" Text="[ButtonText_Ignore]">
<Publish Event="EndDialog" Value="Ignore">1</Publish>
</Control>
<Control Id="Exit" Type="PushButton" X="126" Y="243" Width="72" Height="17" Text="[ButtonText_Exit]">
<Publish Event="EndDialog" Value="Exit">1</Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Some files that need to be updated are currently in use.</Text>
</Control>
<Control Id="Text" Type="Text" Transparent="yes" X="20" Y="55" Width="330" Height="30">
<Text>The following applications are using files that need to be updated by this setup. Close these applications and then click Retry to continue the installation or Cancel to exit it.</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Files in Use</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
<Control Id="List" Type="ListBox" X="20" Y="94" Width="330" Height="130" Property="FileInUseProcess" Sunken="yes" TabSkip="yes">
<ListBox Property="FileInUseProcess" />
</Control>
</Dialog>
<Dialog Id="MaintenanceTypeDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes" />
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="ChangeLabel" Type="Text" Transparent="yes" X="105" Y="65" Width="213" Height="10" TabSkip="no">
<Text>{\DlgTitleBlack}Modify</Text>
</Control>
<Control Id="ChangeButton" Type="PushButton" X="50" Y="65" Width="38" Height="38" ToolTip="Modify Installation" Default="yes" Icon="yes" FixedSize="yes" IconSize="32" Text="[CustomSetupIcon]">
<Publish Property="InstallMode" Value="Change">1</Publish>
<Publish Property="Progress1" Value="Changing">1</Publish>
<Publish Property="Progress2" Value="changes">1</Publish>
<Publish Event="NewDialog" Value="CustomizeDlg">1</Publish>
</Control>
<Control Id="RepairLabel" Type="Text" Transparent="yes" X="105" Y="114" Width="230" Height="10" TabSkip="no">
<Text>{\DlgTitleBlack}Repair</Text>
</Control>
<Control Id="RepairButton" Type="PushButton" X="50" Y="114" Width="38" Height="38" ToolTip="Repair Installation" Icon="yes" FixedSize="yes" IconSize="32" Text="[RepairIcon]">
<Publish Property="InstallMode" Value="Repair">1</Publish>
<Publish Property="Progress1" Value="Repairing">1</Publish>
<Publish Property="Progress2" Value="repairs">1</Publish>
<Publish Event="NewDialog" Value="VerifyRepairDlg">1</Publish>
</Control>
<Control Id="RemoveLabel" Type="Text" Transparent="yes" X="105" Y="163" Width="230" Height="10" TabSkip="no">
<Text>{\DlgTitleBlack}Remove</Text>
</Control>
<Control Id="RemoveButton" Type="PushButton" X="50" Y="163" Width="38" Height="38" ToolTip="Remove Installation" Icon="yes" FixedSize="yes" IconSize="32" Text="[RemoveIcon]">
<Publish Property="InstallMode" Value="Remove">1</Publish>
<Publish Property="Progress1" Value="Removing">1</Publish>
<Publish Property="Progress2" Value="removes">1</Publish>
<Publish Event="NewDialog" Value="VerifyRemoveDlg">1</Publish>
</Control>
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Text="[ButtonText_Back]">
<Publish Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
</Control>
<Control Id="Next" Type="PushButton" X="199" Y="243" Width="72" Height="17" Disabled="yes" Text="[ButtonText_Next]" />
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Select the operation you wish to perform.</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Modify, Repair or Remove installation</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
<Control Id="ChangeText" Type="Text" Transparent="yes" X="105" Y="78" Width="230" Height="20">
<Text>Allows users to change the way features are installed.</Text>
</Control>
<Control Id="RemoveText" Type="Text" Transparent="yes" X="105" Y="176" Width="230" Height="38">
<Text>Removes [ProductName] from your computer.</Text>
</Control>
<Control Id="RepairText" Type="Text" Transparent="yes" X="105" Y="127" Width="230" Height="30">
<Text>Repairs errors in the most recent installation state - fixes missing or corrupt files and registry entries.</Text>
</Control>
</Dialog>
<Dialog Id="MaintenanceWelcomeDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" FixedSize="yes"/>
<Control Id="CompanyLogo" Type="Bitmap" X="229" Y="174" Width="140" Height="60" TabSkip="no" Text="[LogoCompany]" FixedSize="yes" />
<Control Id="ProductLogo" Type="Bitmap" X="88" Y="5" Width="50" Height="50" TabSkip="no" Text="[LogoProduct]" FixedSize="yes" />
<Control Id="Next" Type="PushButton" X="199" Y="243" Width="72" Height="17" Default="yes" Text="[ButtonText_Next]">
<Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg">CostingComplete = 1</Publish>
<Publish Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Disabled="yes" Text="[ButtonText_Back]" />
<Control Id="Description" Type="Text" X="135" Y="100" Width="226" Height="82" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}The [Wizard] will allow you to change the way [ProductName] features are installed on your computer or even to remove [ProductName] from your computer. Click Next to continue or Cancel to exit the [Wizard].</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="135" Y="14" Width="226" Height="90" Transparent="yes" NoPrefix="yes">
<Text>{\VerdanaBold13}Welcome to the [ProductName] [Wizard]</Text>
</Control>
</Dialog>
<Dialog Id="OutOfDiskDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="OK" Type="PushButton" X="280" Y="243" Width="82" Height="17" Default="yes" Cancel="no" Text="[ButtonText_OK]">
<Publish Event="EndDialog" Value="Return">1</Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Disk space required for the installation exceeds available disk space.</Text>
</Control>
<Control Id="Text" Type="Text" Transparent="yes" X="20" Y="53" Width="330" Height="40">
<Text>The highlighted volumes do not have enough disk space available for the currently selected features. You can either remove some files from the highlighted volumes, or choose to install less features onto local drive(s), or select different destination drive(s).</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Out of Disk Space</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
</Dialog>
<Dialog Id="OutOfRbDiskDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="No" Type="PushButton" X="280" Y="243" Width="82" Height="17" Default="yes" Cancel="no" Text="[ButtonText_No]">
<Publish Event="EndDialog" Value="Return">1</Publish>
</Control>
<Control Id="Yes" Type="PushButton" X="193" Y="243" Width="82" Height="17" Text="[ButtonText_Yes]">
<Publish Event="EnableRollback" Value="False">1</Publish>
<Publish Event="EndDialog" Value="Return">1</Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Disk space required for the installation exceeds available disk space.</Text>
</Control>
<Control Id="Text" Type="Text" Transparent="yes" X="20" Y="53" Width="330" Height="40">
<Text>The highlighted volumes do not have enough disk space available for the currently selected features. You can either remove some files from the highlighted volumes, or choose to install less features onto local drive(s), or select different destination drive(s).</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Out of Disk Space</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
<Control Id="Text2" Type="Text" Transparent="yes" X="20" Y="94" Width="330" Height="40">
<Text>Alternatively, you may choose to disable the installer's rollback functionality. This allows the installer to restore your computer's original state should the installation be interrupted in any way. Click Yes if you wish to take the risk to disable rollback.</Text>
</Control>
</Dialog>
<Dialog Id="SetupTypeDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="TypicalLabel" Type="Text" Transparent="yes" X="105" Y="65" Width="230" Height="13" TabSkip="no">
<Text>{\DlgTitleBlack}[Label_Typical]</Text>
</Control>
<Control Id="TypicalButton" Type="PushButton" X="50" Y="65" Width="38" Height="38" ToolTip="Typical Installation" Default="yes" Icon="yes" FixedSize="yes" IconSize="32" Text="[InstallerIcon]">
<Publish Property="InstallMode" Value="Typical">1</Publish>
<Publish Property="Label_InstallMode" Value="[Label_Typical]">1</Publish>
<Publish Event="SetInstallLevel" Value="3">1</Publish>
<Publish Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
</Control>
<Control Id="CustomLabel" Type="Text" Transparent="yes" X="105" Y="118" Width="230" Height="14" TabSkip="no">
<Text>{\DlgTitleBlack}[Label_Custom]</Text>
</Control>
<Control Id="CustomButton" Type="PushButton" X="50" Y="118" Width="38" Height="38" ToolTip="Custom Installation" Icon="yes" FixedSize="yes" IconSize="32" Text="[CustomSetupIcon]">
<Publish Property="InstallMode" Value="Custom">1</Publish>
<Publish Property="Label_InstallMode" Value="[Label_Custom]">1</Publish>
<Publish Event="NewDialog" Value="CustomizeDlg">1</Publish>
</Control>
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Text="[ButtonText_Back]">
<Publish Event="NewDialog" Value="WelcomeDlg">1</Publish>
</Control>
<Control Id="Next" Type="PushButton" X="199" Y="243" Width="72" Height="17" Disabled="yes" Text="[ButtonText_Next]" />
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}Choose the setup type that best suits your needs</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Choose Setup Type</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
<!--Control Id="CompleteText" Type="Text" Transparent="yes" X="105" Y="184" Width="230" Height="36">
<Text>All program features will be installed. (Requires most disk space)</Text>
</Control-->
<Control Id="CustomText" Type="Text" Transparent="yes" X="105" Y="131" Width="230" Height="32">
<Text>Allows users to choose which program features will be installed and where they will be installed. Recommended for advanced users.</Text>
</Control>
<Control Id="TypicalText" Type="Text" Transparent="yes" X="105" Y="78" Width="230" Height="26">
<Text>Uses default settings to install</Text>
</Control>
</Dialog>
<Dialog Id="VerifyReadyDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes" TrackDiskSpace="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="Install" Type="PushButton" X="199" Y="243" Width="72" Height="17" Default="yes" Text="[ButtonText_Install]">
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
<Publish Event="SpawnDialog" Value="OutOfRbDiskDlg"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)]]></Publish>
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
<Publish Event="EnableRollback" Value="False"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
<Publish Event="SpawnDialog" Value="OutOfDiskDlg"><![CDATA[(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")]]></Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Text="[ButtonText_Back]">
<Publish Event="NewDialog" Value="AdminInstallPointDlg"><![CDATA[InstallMode = "Server Image"]]></Publish>
<Publish Event="NewDialog" Value="CustomizeDlg"><![CDATA[InstallMode = "Custom" OR InstallMode = "Change"]]></Publish>
<Publish Event="NewDialog" Value="MaintenanceTypeDlg"><![CDATA[InstallMode = "Repair"]]></Publish>
<Publish Event="NewDialog" Value="SetupTypeDlg"><![CDATA[InstallMode = "Typical" OR InstallMode = "Complete"]]></Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}The [Wizard] is ready to begin the [Label_InstallMode] installation</Text>
</Control>
<Control Id="Text" Type="Text" Transparent="yes" X="25" Y="70" Width="320" Height="62">
<Text>Click Install to begin the installation. If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Ready to Install</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
</Dialog>
<Dialog Id="VerifyRemoveDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes" TrackDiskSpace="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes"/>
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Default="yes" Text="[ButtonText_Back]">
<Publish Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
</Control>
<Control Id="Remove" Type="PushButton" X="199" Y="243" Width="72" Height="17" Text="[ButtonText_Remove]">
<Publish Event="Remove" Value="All"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
<Publish Event="SpawnDialog" Value="OutOfRbDiskDlg"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)]]></Publish>
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
<Publish Event="EnableRollback" Value="False"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
<Publish Event="SpawnDialog" Value="OutOfDiskDlg"><![CDATA[(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")]]></Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}You have chosen to remove the program from your computer.</Text>
</Control>
<Control Id="Text" Type="Text" Transparent="yes" X="25" Y="70" Width="320" Height="62">
<Text>Click Remove to remove [ProductName] from your computer. If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Remove [ProductName]</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
</Dialog>
<Dialog Id="VerifyRepairDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes" TrackDiskSpace="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" FixedSize="yes" />
<Control Id="HeaderLogoProduct" Type="Bitmap" X="320" Y="1" Width="42" Height="42" TabSkip="no" Text="[LogoProductHeader]" FixedSize="yes"/>
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="44" Width="370" Height="190" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="Repair" Type="PushButton" X="199" Y="243" Width="72" Height="17" Default="yes" Text="[ButtonText_Repair]">
<Publish Event="ReinstallMode" Value="ecmu"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
<Publish Event="Reinstall" Value="All"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
<Publish Event="SpawnDialog" Value="OutOfRbDiskDlg"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)]]></Publish>
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
<Publish Event="EnableRollback" Value="False"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
<Publish Event="SpawnDialog" Value="OutOfDiskDlg"><![CDATA[(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")]]></Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Text="[ButtonText_Back]">
<Publish Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}The [Wizard] is ready to begin the repair of [ProductName].</Text>
</Control>
<Control Id="Text" Type="Text" Transparent="yes" X="25" Y="70" Width="320" Height="50">
<Text>Click Repair to repair the installation of [ProductName]. If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="290" Height="15" Transparent="yes" NoPrefix="yes">
<Text>{\DlgTitleWhite}Repair [ProductName]</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
</Dialog>
<Dialog Id="WaitForCostingDlg" Width="260" Height="85" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="WhiteBackground" Type="Bitmap" X="0" Y="0" Width="260" Height="85" TabSkip="no" Text="[WhiteBackground]" />
<Control Id="Return" Type="PushButton" X="92" Y="58" Width="76" Height="17" Default="yes" Cancel="no" Text="[ButtonText_Return]">
<Publish Event="EndDialog" Value="Exit">1</Publish>
</Control>
<Control Id="Text" Type="Text" Transparent="yes" X="17" Y="13" Width="225" Height="40">
<Text>Please wait while the installer finishes determining your disk space requirements.</Text>
</Control>
</Dialog>
<Dialog Id="WelcomeDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" FixedSize="yes" />
<Control Id="CompanyLogo" Type="Bitmap" X="229" Y="174" Width="140" Height="60" TabSkip="no" Text="[LogoCompany]" FixedSize="yes" />
<Control Id="ProductLogo" Type="Bitmap" X="88" Y="5" Width="50" Height="50" TabSkip="no" Text="[LogoProduct]" FixedSize="yes" />
<Control Id="Next" Type="PushButton" X="199" Y="243" Width="72" Height="17" Default="yes" Text="[ButtonText_Next]">
<Publish Event="NewDialog" Value="SetupTypeDlg">1</Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Disabled="yes" Text="[ButtonText_Back]" />
<Control Id="Description" Type="Text" X="135" Y="107" Width="226" Height="82" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}The [Wizard] will install [ProductName] on your computer. Click Next to continue or Cancel to exit the [Wizard].</Text>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="135" Y="14" Width="226" Height="90" Transparent="yes" NoPrefix="yes">
<Text>{\VerdanaBold13}Welcome to the [ProductName] [Wizard]</Text>
</Control>
</Dialog>
<Dialog Id="ResumeandUpdateDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
<Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" FixedSize="yes" />
<Control Id="CompanyLogo" Type="Bitmap" X="229" Y="174" Width="140" Height="60" TabSkip="no" Text="[LogoCompany]" FixedSize="yes" />
<Control Id="ProductLogo" Type="Bitmap" X="88" Y="5" Width="50" Height="50" TabSkip="no" Text="[LogoProduct]" FixedSize="yes" />
<Control Id="Install" Type="PushButton" ElevationShield="yes" X="199" Y="243" Width="72" Height="17" Default="yes" Text="[ButtonText_Resume]" Hidden="yes">
<Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg">CostingComplete = 1</Publish>
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
<Publish Event="SpawnDialog" Value="OutOfRbDiskDlg"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)]]></Publish>
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
<Publish Event="EnableRollback" Value="False"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
<Publish Event="SpawnDialog" Value="OutOfDiskDlg"><![CDATA[(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")]]></Publish>
<Condition Action="show">ALLUSERS AND NOT PATCH</Condition>
</Control>
<Control Id="InstallNoShield" Type="PushButton" ElevationShield="no" X="199" Y="243" Width="72" Height="17" Default="yes" Text="[ButtonText_Resume]" Hidden="yes">
<Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg">CostingComplete = 1</Publish>
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
<Publish Event="SpawnDialog" Value="OutOfRbDiskDlg"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)]]></Publish>
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
<Publish Event="EnableRollback" Value="False"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
<Publish Event="SpawnDialog" Value="OutOfDiskDlg"><![CDATA[(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")]]></Publish>
<Condition Action="show">NOT ALLUSERS AND NOT PATCH</Condition>
</Control>
<Control Id="Cancel" Type="PushButton" X="280" Y="243" Width="82" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Back" Type="PushButton" X="126" Y="243" Width="72" Height="17" Disabled="yes" Text="[ButtonText_Back]" />
<Control Id="Description" Type="Text" X="135" Y="106" Width="226" Height="82" Transparent="yes" NoPrefix="yes">
<Text>{\DlgDescriptionWhite}The [Wizard] will complete the installation of [ProductName] on your computer. Click Install to continue or Cancel to exit the [Wizard].</Text>
<Condition Action="hide">PATCH</Condition>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="135" Y="14" Width="226" Height="90" Transparent="yes" NoPrefix="yes">
<Text>{\VerdanaBold13}Resuming the [ProductName] [Wizard]</Text>
<Condition Action="hide">PATCH</Condition>
</Control>
<Control Id="Update" Type="PushButton" ElevationShield="yes" X="199" Y="243"
Width="72" Height="17" Default="yes" Text="[Update]" Hidden="yes">
<Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg">
CostingComplete = 1
</Publish>
<Publish Event="EndDialog" Value="Return">
<![CDATA[OutOfDiskSpace <> 1]]>
</Publish>
<Publish Event="SpawnDialog" Value="OutOfRbDiskDlg">
OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0
AND
(PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)
</Publish>
<Publish Event="EndDialog" Value="Return">
OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0
AND
PROMPTROLLBACKCOST="D"
</Publish>
<Publish Event="EnableRollback" Value="False">
OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0
AND
PROMPTROLLBACKCOST="D"
</Publish>
<Publish Event="SpawnDialog" Value="OutOfDiskDlg">
(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1)
OR
(OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")
</Publish>
<Condition Action="show">ALLUSERS AND PATCH</Condition>
</Control>
<Control Id="UpdateNoShield" Type="PushButton" ElevationShield="no" X="199" Y="243"
Width="72" Height="17" Default="yes" Text="[Update]" Hidden="yes">
<Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg">
CostingComplete = 1
</Publish>
<Publish Event="EndDialog" Value="Return">
<![CDATA[OutOfDiskSpace <> 1]]>
</Publish>
<Publish Event="SpawnDialog" Value="OutOfRbDiskDlg">
OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0
AND
(PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)
</Publish>
<Publish Event="EndDialog" Value="Return">
OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0
AND
PROMPTROLLBACKCOST="D"
</Publish>
<Publish Event="EnableRollback" Value="False">
OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0
AND
PROMPTROLLBACKCOST="D"
</Publish>
<Publish Event="SpawnDialog" Value="OutOfDiskDlg">
(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1)
OR
(OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")
</Publish>
<Condition Action="show">NOT ALLUSERS AND PATCH</Condition>
</Control>
<Control Id="UpdateDescription" Type="Text" X="135" Y="80"
Width="220" Height="60" Transparent="yes" NoPrefix="yes"
Text= "Click on the update button to proceed with updating your [ProductName] installation to version [ProductVersion]." >
<Condition Action="hide">NOT PATCH</Condition>
</Control>
<Control Id="UpdateTitle" Type="Text" X="135" Y="20"
Width="220" Height="60" Transparent="yes" NoPrefix="yes"
Text="{\VerdanaBold13}Update [ProductName] to [ProductVersion]" >
<Condition Action="hide">NOT PATCH</Condition>
</Control>
</Dialog>
<TextStyle Id="DlgDescriptionBlack" FaceName="Tahoma" Size="8" />
<TextStyle Id="DlgTitleBlack" FaceName="Tahoma" Size="8" Bold="yes" />
<TextStyle Id="DlgDescriptionWhite" FaceName="Tahoma" Size="9" Blue="255" Red="255" Green="255"/>
<TextStyle Id="DlgTitleWhite" FaceName="Tahoma" Size="9" Bold="yes" Blue="255" Red="255" Green="255"/>
<TextStyle Id="VerdanaBold13" FaceName="Verdana" Size="13" Bold="yes" Blue="255" Red="255" Green="255"/>
<AdminUISequence>
<Show Dialog="FatalError" OnExit="error" />
<Show Dialog="UserExit" OnExit="cancel" />
<Show Dialog="ExitDialog" OnExit="success" />
<Show Dialog="PrepareDlg" Before="CostInitialize" />
<Show Dialog="AdminWelcomeDlg" After="CostFinalize" />
<Show Dialog="ProgressDlg" After="AdminWelcomeDlg" />
</AdminUISequence>
<InstallUISequence>
<Show Dialog="FatalError" OnExit="error" />
<Show Dialog="UserExit" OnExit="cancel" />
<Show Dialog="ExitDialog" OnExit="success" />
<Show Dialog="PrepareDlg" After="LaunchConditions" />
<Show Dialog="WelcomeDlg" After="MigrateFeatureStates">NOT Installed</Show>
<!--Show Dialog="ResumeDlg" After="WelcomeDlg">Installed AND (RESUME OR Preselected)</Show-->
<Show Dialog="MaintenanceWelcomeDlg" After="WelcomeDlg">Installed AND NOT RESUME AND NOT Preselected</Show>
<Show Dialog="ResumeandUpdateDlg" Before="ProgressDlg">
Installed AND (RESUME OR Preselected)
</Show>
<Show Dialog="ProgressDlg" After="MaintenanceWelcomeDlg" />
</InstallUISequence>
</UI>
<!--Start Menu Shortcuts-->
<DirectoryRef Id="ApplicationProgramsFolder">
<Component Id="AppRegistry" Guid="*" Feature="PRODUCTMAIN" Win64="no" >
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" />
<RegistryValue Root="HKCU" Key="Software\$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.PRODUCT_NAME)\$(var.PRODUCT_VERSION_NAME)\$(var.BUILD_TYPE_ELEMENT)\$(var.INSTALLED_PRODUCT_PLATFORM)" Name="installed" Type="integer" Value="1" KeyPath="yes" />
<RegistryValue Root="HKCU" Key="Software\$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.PRODUCT_NAME)\$(var.PRODUCT_VERSION_NAME)\$(var.BUILD_TYPE_ELEMENT)\$(var.INSTALLED_PRODUCT_PLATFORM)" Name="version" Type="string" Action='write' Value="$(var.PRODUCT_MAJOR_VERSION_NUMBER)$(var.PRODUCT_MINOR_VERSION_NUMBER)$(var.BUILD_NUMBER)" />
<RegistryValue Id='WriteInstallPath' Root='HKLM' Key="Software\$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.PRODUCT_NAME)\Installer\$(var.PRODUCT_VERSION_NAME)\$(var.BUILD_TYPE_ELEMENT)\$(var.INSTALLED_PRODUCT_PLATFORM)" Name='InstallPath' Type='string' Action='write' Value='[APPLICATIONFOLDER]' />
<RegistryValue Id='WriteDataLoc' Root='HKLM' Key="Software\$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.PRODUCT_NAME)\Installer\$(var.PRODUCT_VERSION_NAME)" Name='InstallDataPath' Type='string' Action='write' Value='[CommonAppDataFolder]$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.PRODUCT_NAME)' />
<RegistryValue Id='WriteWindowsInstallLocation' Root='HKLM' Key='Software\Microsoft\Windows\CurrentVersion\Uninstall\$(var.PRODUCTCODE_GUID)' Name='$(var.ProductAppFolder)' Type='string' Action='write' Value='[APPLICATIONFOLDER]' />
</Component>
<Component Id="BundleSoftwareRegistry" Guid="*" Feature="PRODUCTMAIN" Win64="no" Permanent="yes" >
<RegistryValue Id='LMSLicensingKeyPath' Root='HKCU' Key="Software\$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.FOUNDATION_NAME)\$(var.FOUNDATION_VERSION_NAME)\Licensing" Name='installed' Type='string' Action='write' Value='1' KeyPath="yes" />
<RegistryValue Id='WriteLicenseType' Root='HKLM' Key="Software\$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.FOUNDATION_NAME)\$(var.FOUNDATION_VERSION_NAME)\Licensing" Name='LicenseType' Type='string' Action='write' Value='[LICENSETYPE]' />
<RegistryValue Id='WriteUseLMSLicensing' Root='HKLM' Key="Software\$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.FOUNDATION_NAME)\$(var.FOUNDATION_VERSION_NAME)\Licensing" Name='UseLMSLicensing' Type='string' Action='write' Value='[USELMSLICENSING]' />
</Component>
<Component Id="AppShortcut" Guid="*" Feature="PRODUCTMAIN" Win64="yes">
<Shortcut Id="AppShortcut" Directory="ApplicationProgramsFolder" Name="XplorePlane" Description="$(var.PRODUCT_NAME)" WorkingDirectory="APPLICATIONFOLDER" Target="[APPLICATIONFOLDER]XplorePlane.exe" Icon="product.ico" IconIndex="0" Show="normal" />
<RegistryValue Root="HKCU" Key="Software\$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.PRODUCT_NAME)\$(var.PRODUCT_VERSION_NAME)\AppShortcut" Name="installed" Type="integer" Value="1" KeyPath="yes" />
<RemoveFolder Id='ProgramMenuFolder' On='uninstall'/>
</Component>
<Component Id="DesktopFolderShortcut" Feature="PRODUCTMAIN" Guid="*" Win64="yes">
<Shortcut Id="DesktopShortcut" Directory="DesktopFolder" Name="XplorePlane" Target="[APPLICATIONFOLDER]XplorePlane.exe" WorkingDirectory="APPLICATIONFOLDER" Icon="product.ico" IconIndex="0" Advertise="no" />
<RegistryKey Root='HKCU' Key='Software\$(var.INSTALLED_PRODUCT_MANUFACTURER_PATH)\$(var.PRODUCT_NAME)\$(var.PRODUCT_VERSION_NAME)\DeskTopShortcut'>
<RegistryValue Type='integer' Name='Installed' Value='1' KeyPath='yes' />
</RegistryKey>
<RemoveFolder Id='DesktopFolder' On='uninstall'/>
</Component>
</DirectoryRef>
<!-- Features to Install -->
<!--Main App-->
<Feature Id="PRODUCTMAIN" Title="$(var.PRODUCT_NAME)" Description="$(var.INSTALLED_PRODUCT_NAME)" Level="1" ConfigurableDirectory="APPLICATIONFOLDER" Absent="disallow">
<ComponentGroupRef Id="ReleaseFilesComponents" />
</Feature>
</Product>
</Wix>