aboutsummaryrefslogtreecommitdiff
path: root/src/wixlib/WixUI_InstallDir.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixlib/WixUI_InstallDir.wxs')
-rw-r--r--src/wixlib/WixUI_InstallDir.wxs81
1 files changed, 81 insertions, 0 deletions
diff --git a/src/wixlib/WixUI_InstallDir.wxs b/src/wixlib/WixUI_InstallDir.wxs
new file mode 100644
index 00000000..dae09a48
--- /dev/null
+++ b/src/wixlib/WixUI_InstallDir.wxs
@@ -0,0 +1,81 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- 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. -->
3
4
5
6<!--
7First-time install dialog sequence:
8 - WixUI_WelcomeDlg
9 - WixUI_LicenseAgreementDlg
10 - WixUI_InstallDirDlg
11 - WixUI_VerifyReadyDlg
12 - WixUI_DiskCostDlg
13
14Maintenance dialog sequence:
15 - WixUI_MaintenanceWelcomeDlg
16 - WixUI_MaintenanceTypeDlg
17 - WixUI_InstallDirDlg
18 - WixUI_VerifyReadyDlg
19
20Patch dialog sequence:
21 - WixUI_WelcomeDlg
22 - WixUI_VerifyReadyDlg
23
24-->
25
26<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
27 <Fragment>
28 <UI Id="WixUI_InstallDir">
29 <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
30 <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
31 <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
32
33 <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
34 <Property Id="WixUI_Mode" Value="InstallDir" />
35
36 <DialogRef Id="BrowseDlg" />
37 <DialogRef Id="DiskCostDlg" />
38 <DialogRef Id="ErrorDlg" />
39 <DialogRef Id="FatalError" />
40 <DialogRef Id="FilesInUse" />
41 <DialogRef Id="MsiRMFilesInUse" />
42 <DialogRef Id="PrepareDlg" />
43 <DialogRef Id="ProgressDlg" />
44 <DialogRef Id="ResumeDlg" />
45 <DialogRef Id="UserExit" />
46
47 <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish>
48 <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
49
50 <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
51
52 <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg">NOT Installed</Publish>
53 <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">Installed AND PATCH</Publish>
54
55 <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
56 <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">LicenseAccepted = "1"</Publish>
57
58 <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
59 <Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
60 <Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish>
61 <Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
62 <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish>
63 <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
64 <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
65
66 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="1">NOT Installed</Publish>
67 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed AND NOT PATCH</Publish>
68 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2">Installed AND PATCH</Publish>
69
70 <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
71
72 <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
73 <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
74 <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
75
76 <Property Id="ARPNOMODIFY" Value="1" />
77 </UI>
78
79 <UIRef Id="WixUI_Common" />
80 </Fragment>
81</Wix>