| 1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
| 2 | |
| 3 | <!-- |
| 4 | First-time install dialog sequence: |
| 5 | - WixUI_WelcomeDlg |
| 6 | - WixUI_LicenseAgreementDlg |
| 7 | - WixUI_InstallDirDlg |
| 8 | - WixUI_VerifyReadyDlg |
| 9 | - WixUI_DiskCostDlg |
| 10 | |
| 11 | Maintenance dialog sequence: |
| 12 | - WixUI_MaintenanceWelcomeDlg |
| 13 | - WixUI_MaintenanceTypeDlg |
| 14 | - WixUI_InstallDirDlg |
| 15 | - WixUI_VerifyReadyDlg |
| 16 | |
| 17 | Patch dialog sequence: |
| 18 | - WixUI_WelcomeDlg |
| 19 | - WixUI_VerifyReadyDlg |
| 20 | |
| 21 | --> |
| 22 | |
| 23 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 24 | <?foreach WIXUIARCH in X86;X64;A64 ?> |
| 25 | <Fragment> |
| 26 | <UI Id="WixUI_InstallDir_$(WIXUIARCH)"> |
| 27 | <Publish Dialog="BrowseDlg" Control="OK" Event="CheckTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1" /> |
| 28 | |
| 29 | <Publish Dialog="InstallDirDlg" Control="Next" Event="CheckTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1" /> |
| 30 | <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4" /> |
| 31 | </UI> |
| 32 | |
| 33 | <UIRef Id="WixUI_InstallDir" /> |
| 34 | </Fragment> |
| 35 | <?endforeach?> |
| 36 | |
| 37 | <?foreach WIXUIARCH in X86;X64;A64 ?> |
| 38 | <Fragment> |
| 39 | <UI Id="WixUI_InstallDir_ExtendedPathValidation_$(WIXUIARCH)"> |
| 40 | <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath_$(WIXUIARCH)" Order="1" /> |
| 41 | <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="2" Condition="WIXUI_INSTALLDIR_VALID<>"1"" /> |
| 42 | |
| 43 | <Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath_$(WIXUIARCH)" Order="1" /> |
| 44 | <Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="2" Condition="WIXUI_INSTALLDIR_VALID<>"1"" /> |
| 45 | <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4" Condition="WIXUI_INSTALLDIR_VALID="1"" /> |
| 46 | </UI> |
| 47 | |
| 48 | <UIRef Id="WixUI_InstallDir" /> |
| 49 | </Fragment> |
| 50 | <?endforeach?> |
| 51 | |
| 52 | <Fragment> |
| 53 | <UI Id="file WixUI_InstallDir"> |
| 54 | <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" /> |
| 55 | <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" /> |
| 56 | <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" /> |
| 57 | |
| 58 | <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> |
| 59 | |
| 60 | <DialogRef Id="BrowseDlg" /> |
| 61 | <DialogRef Id="DiskCostDlg" /> |
| 62 | <DialogRef Id="ErrorDlg" /> |
| 63 | <DialogRef Id="FatalError" /> |
| 64 | <DialogRef Id="FilesInUse" /> |
| 65 | <DialogRef Id="MsiRMFilesInUse" /> |
| 66 | <DialogRef Id="PrepareDlg" /> |
| 67 | <DialogRef Id="ProgressDlg" /> |
| 68 | <DialogRef Id="ResumeDlg" /> |
| 69 | <DialogRef Id="UserExit" /> |
| 70 | |
| 71 | <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999" /> |
| 72 | |
| 73 | <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg" Condition="NOT Installed" /> |
| 74 | <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Condition="Installed AND PATCH" /> |
| 75 | |
| 76 | <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" /> |
| 77 | <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg" Condition="LicenseAccepted = "1"" /> |
| 78 | |
| 79 | <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg" /> |
| 80 | <Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="3" /> |
| 81 | <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1" /> |
| 82 | <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2" /> |
| 83 | |
| 84 | <Publish Dialog="BrowseDlg" Control="OK" Event="SetTargetPath" Value="[_BrowseProperty]" Order="3" /> |
| 85 | <Publish Dialog="BrowseDlg" Control="OK" Event="EndDialog" Value="Return" Order="4" /> |
| 86 | |
| 87 | <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="1" Condition="NOT Installed" /> |
| 88 | <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2" Condition="Installed AND NOT PATCH" /> |
| 89 | <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2" Condition="Installed AND PATCH" /> |
| 90 | |
| 91 | <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg" /> |
| 92 | |
| 93 | <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg" /> |
| 94 | <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg" /> |
| 95 | <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg" /> |
| 96 | |
| 97 | <Property Id="ARPNOMODIFY" Value="1" /> |
| 98 | </UI> |
| 99 | |
| 100 | <UIRef Id="WixUI_Common" /> |
| 101 | </Fragment> |
| 102 | </Wix> |