main
wxs 99 lines 5.34 KB
Raw
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_SetupTypeDlg
8 - WixUI_VerifyReadyDlg
9 - WixUI_CustomizeDlg
10 - WixUI_DiskCostDlg
11 - WixUI_BrowseDlg
12
13 Maintenance dialog sequence:
14 - WixUI_MaintenanceWelcomeDlg
15 - WixUI_MaintenanceTypeDlg
16 - WixUI_CustomizeDlg
17 - WixUI_VerifyReadyDlg
18
19 Patch dialog sequence:
20 - WixUI_WelcomeDlg
21 - WixUI_VerifyReadyDlg
22 -->
23
24 <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
25 <?foreach WIXUIARCH in X86;X64;A64 ?>
26 <Fragment>
27 <UI Id="WixUI_Mondo_$(WIXUIARCH)">
28 <Publish Dialog="BrowseDlg" Control="OK" Event="CheckTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1" />
29 </UI>
30
31 <UIRef Id="WixUI_Mondo" />
32 </Fragment>
33 <?endforeach?>
34
35 <?foreach WIXUIARCH in X86;X64;A64 ?>
36 <Fragment>
37 <UI Id="WixUI_Mondo_ExtendedPathValidation_$(WIXUIARCH)">
38 <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath_$(WIXUIARCH)" Order="1" />
39 <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="2" Condition="WIXUI_INSTALLDIR_VALID&lt;&gt;&quot;1&quot;" />
40 </UI>
41
42 <UIRef Id="WixUI_Mondo" />
43 </Fragment>
44 <?endforeach?>
45
46 <Fragment>
47 <UI Id="file WixUI_Mondo">
48 <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
49 <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
50 <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
51
52 <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
53
54 <DialogRef Id="ErrorDlg" />
55 <DialogRef Id="FatalError" />
56 <DialogRef Id="FilesInUse" />
57 <DialogRef Id="MsiRMFilesInUse" />
58 <DialogRef Id="PrepareDlg" />
59 <DialogRef Id="ProgressDlg" />
60 <DialogRef Id="ResumeDlg" />
61 <DialogRef Id="UserExit" />
62
63 <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999" />
64
65 <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg" Condition="NOT Installed AND NOT PATCH" />
66 <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Condition="Installed AND PATCH" />
67
68 <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" />
69 <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="SetupTypeDlg" Order="2" Condition="LicenseAccepted = &quot;1&quot;" />
70
71 <Publish Dialog="SetupTypeDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg" />
72 <Publish Dialog="SetupTypeDlg" Control="TypicalButton" Event="NewDialog" Value="VerifyReadyDlg" />
73 <Publish Dialog="SetupTypeDlg" Control="CustomButton" Event="NewDialog" Value="CustomizeDlg" />
74 <Publish Dialog="SetupTypeDlg" Control="CompleteButton" Event="NewDialog" Value="VerifyReadyDlg" />
75
76 <Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="1" Condition="WixUI_InstallMode = &quot;Change&quot;" />
77 <Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="SetupTypeDlg" Order="2" Condition="WixUI_InstallMode = &quot;InstallCustom&quot;" />
78 <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" />
79
80 <Publish Dialog="BrowseDlg" Control="OK" Event="SetTargetPath" Value="[_BrowseProperty]" Order="3" />
81 <Publish Dialog="BrowseDlg" Control="OK" Event="EndDialog" Value="Return" Order="4" />
82
83 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="1" Condition="WixUI_InstallMode = &quot;InstallCustom&quot;" />
84 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="SetupTypeDlg" Order="2" Condition="WixUI_InstallMode = &quot;InstallTypical&quot; OR WixUI_InstallMode = &quot;InstallComplete&quot;" />
85 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="3" Condition="WixUI_InstallMode = &quot;Change&quot;" />
86 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="4" Condition="WixUI_InstallMode = &quot;Repair&quot; OR WixUI_InstallMode = &quot;Remove&quot;" />
87 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2" Condition="WixUI_InstallMode = &quot;Update&quot;" />
88
89 <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg" />
90
91 <Publish Dialog="MaintenanceTypeDlg" Control="ChangeButton" Event="NewDialog" Value="CustomizeDlg" />
92 <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg" />
93 <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg" />
94 <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg" />
95 </UI>
96
97 <UIRef Id="WixUI_Common" />
98 </Fragment>
99 </Wix>