WixUI_HK.wxs (3840B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> 3 <Fragment> 4 5 <UI Id="WixUI_HK"> 6 <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" /> 7 <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" /> 8 <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" /> 9 10 <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> 11 <Property Id="WixUI_Mode" Value="InstallDir" /> 12 13 <DialogRef Id="BrowseDlg" /> 14 <DialogRef Id="DiskCostDlg" /> 15 <DialogRef Id="ErrorDlg" /> 16 <DialogRef Id="FatalError" /> 17 <DialogRef Id="FilesInUse" /> 18 <DialogRef Id="MsiRMFilesInUse" /> 19 <DialogRef Id="PrepareDlg" /> 20 <DialogRef Id="ProgressDlg" /> 21 <DialogRef Id="ResumeDlg" /> 22 <DialogRef Id="UserExit" /> 23 24 <!-- Make sure to include custom dialogs in the installer database via a DialogRef command, 25 especially if they are not included explicitly in the publish chain below --> 26 <DialogRef Id="LicenseAgreementDlg_HK"/> 27 28 <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish> 29 <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish> 30 31 <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish> 32 33 <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" 34 {{if gt (.License | len) 0}} 35 Value="LicenseAgreementDlg_HK" 36 {{else}} 37 Value="InstallDirDlg" 38 {{end}} 39 >NOT Installed</Publish> 40 <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">Installed AND PATCH</Publish> 41 42 <Publish Dialog="LicenseAgreementDlg_HK" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish> 43 <Publish Dialog="LicenseAgreementDlg_HK" Control="Next" Event="NewDialog" Value="InstallDirDlg">LicenseAccepted = "1"</Publish> 44 45 <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg_HK">1</Publish> 46 <Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> 47 <Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish> 48 <Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish> 49 <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish> 50 51 <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> 52 <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish> 53 54 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed</Publish> 55 56 <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish> 57 58 <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> 59 <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> 60 <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish> 61 </UI> 62 63 <UIRef Id="WixUI_Common" /> 64 </Fragment> 65 </Wix>