SpekInstallDir.wxs (4789B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <!-- 4 Copyright (c) Microsoft Corporation. All rights reserved. 5 6 The use and distribution terms for this software are covered by the 7 Common Public License 1.0 (http://opensource.org/licenses/cpl1.0.php) 8 which can be found in the file CPL.TXT at the root of this distribution. 9 By using this software in any fashion, you are agreeing to be bound by 10 the terms of this license. 11 12 You must not remove this notice, or any other, from this software. 13 --> 14 <!-- 15 First-time install dialog sequence: 16 - WixUI_WelcomeDlg 17 - WixUI_LicenseAgreementDlg 18 - WixUI_InstallDirDlg 19 - WixUI_VerifyReadyDlg 20 - WixUI_DiskCostDlg 21 22 Maintenance dialog sequence: 23 - WixUI_MaintenanceWelcomeDlg 24 - WixUI_MaintenanceTypeDlg 25 - WixUI_InstallDirDlg 26 - WixUI_VerifyReadyDlg 27 28 Patch dialog sequence: 29 - WixUI_WelcomeDlg 30 - WixUI_VerifyReadyDlg 31 32 --> 33 34 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> 35 <Fragment> 36 <UI Id="SpekInstallDir"> 37 <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" /> 38 <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" /> 39 <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" /> 40 41 <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> 42 <Property Id="WixUI_Mode" Value="InstallDir" /> 43 44 <DialogRef Id="BrowseDlg" /> 45 <DialogRef Id="DiskCostDlg" /> 46 <DialogRef Id="ErrorDlg" /> 47 <DialogRef Id="FatalError" /> 48 <DialogRef Id="FilesInUse" /> 49 <DialogRef Id="MsiRMFilesInUse" /> 50 <DialogRef Id="PrepareDlg" /> 51 <DialogRef Id="ProgressDlg" /> 52 <DialogRef Id="ResumeDlg" /> 53 <DialogRef Id="UserExit" /> 54 55 <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish> 56 <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish> 57 58 <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish> 59 60 <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg">NOT Installed</Publish> 61 <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">Installed AND PATCH</Publish> 62 63 <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish> 64 <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="SpekInstallDirDlg">LicenseAccepted = "1"</Publish> 65 66 <Publish Dialog="SpekInstallDirDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish> 67 <Publish Dialog="SpekInstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> 68 <Publish Dialog="SpekInstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish> 69 <Publish Dialog="SpekInstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish> 70 <Publish Dialog="SpekInstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish> 71 <Publish Dialog="SpekInstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> 72 <Publish Dialog="SpekInstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish> 73 74 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="SpekInstallDirDlg" Order="1">NOT Installed</Publish> 75 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed AND NOT PATCH</Publish> 76 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2">Installed AND PATCH</Publish> 77 78 <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish> 79 80 <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> 81 <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> 82 <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish> 83 84 <Property Id="ARPNOMODIFY" Value="1" /> 85 </UI> 86 87 <UIRef Id="WixUI_Common" /> 88 </Fragment> 89 </Wix>