Merge branch 'arm-detect-pmull' of https://github.com/sitsofe/fio
[fio.git] / os / windows / WixUI_Minimal_NoEULA.wxs
1 <?xml version="1.0" encoding="UTF-8"?>\r
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. -->\r
3 \r
4 \r
5 \r
6 <!--\r
7 First-time install dialog sequence:\r
8  - WixUI_MyWelcomeDlg\r
9 Maintenance dialog sequence:\r
10  WixUI_MaintenanceWelcomeDlg\r
11  - WixUI_MaintenanceTypeDlg\r
12  - WixUI_VerifyReadyDlg\r
13 -->\r
14 \r
15 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">\r
16   <Fragment>\r
17     <UI Id="WixUI_Minimal_NoEULA">\r
18       <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />\r
19       <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />\r
20       <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />\r
21 \r
22       <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />\r
23       <Property Id="WixUI_Mode" Value="Minimal" />\r
24 \r
25       <DialogRef Id="ErrorDlg" />\r
26       <DialogRef Id="FatalError" />\r
27       <DialogRef Id="FilesInUse" />\r
28       <DialogRef Id="MsiRMFilesInUse" />\r
29       <DialogRef Id="PrepareDlg" />\r
30       <DialogRef Id="ProgressDlg" />\r
31       <DialogRef Id="ResumeDlg" />\r
32       <DialogRef Id="UserExit" />\r
33       <DialogRef Id="MyWelcomeDlg" />\r
34 \r
35       <Dialog Id="MyWelcomeDlg" Width="370" Height="270" Title="!(loc.WelcomeDlg_Title)">\r
36           <Control Id="Install" Type="PushButton" ElevationShield="yes" X="236" Y="243" Width="56" Height="17" Default="yes" Hidden="yes" Text="!(loc.WelcomeEulaDlgInstall)" >\r
37             <Publish Property="WixUI_InstallMode" Value="Update">Installed AND PATCH</Publish>\r
38             <Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg">!(wix.WixUICostingPopupOptOut) OR CostingComplete = 1</Publish>\r
39             <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>\r
40             <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)</Publish>\r
41             <Publish Event="EndDialog" Value="Return">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>\r
42             <Publish Event="EnableRollback" Value="False">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>\r
43             <Publish Event="SpawnDialog" Value="OutOfDiskDlg">(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")</Publish>\r
44             <Condition Action="show">ALLUSERS</Condition>\r
45         </Control>\r
46         <Control Id="InstallNoShield" Type="PushButton" ElevationShield="no" X="212" Y="243" Width="80" Height="17" Default="yes" Text="!(loc.WelcomeEulaDlgInstall)" Hidden="yes">\r
47           <Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg">!(wix.WixUICostingPopupOptOut) OR CostingComplete = 1</Publish>\r
48           <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>\r
49           <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)</Publish>\r
50           <Publish Event="EndDialog" Value="Return">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>\r
51           <Publish Event="EnableRollback" Value="False">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>\r
52           <Publish Event="SpawnDialog" Value="OutOfDiskDlg">(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")</Publish>\r
53           <Condition Action="disable"><![CDATA[LicenseAccepted <> "1"]]></Condition>\r
54           <Condition Action="show">NOT ALLUSERS</Condition>\r
55         </Control>\r
56         <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">\r
57           <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>\r
58         </Control>\r
59         <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="!(loc.WelcomeDlgBitmap)" />\r
60         <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" />\r
61         <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />\r
62         <Control Id="Description" Type="Text" X="135" Y="80" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.MyWelcomeDlgDescription)" >\r
63           <Condition Action="show">NOT Installed OR NOT PATCH</Condition>\r
64           <Condition Action="hide">Installed AND PATCH</Condition>\r
65         </Control>\r
66         <Control Id="PatchDescription" Type="Text" X="135" Y="80" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeUpdateDlgDescriptionUpdate)" >\r
67           <Condition Action="show">Installed AND PATCH</Condition>\r
68           <Condition Action="hide">NOT Installed OR NOT PATCH</Condition>\r
69         </Control>\r
70         <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeDlgTitle)" />\r
71       </Dialog>\r
72 \r
73       <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>\r
74 \r
75       <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>\r
76 \r
77       <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>\r
78 \r
79       <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>\r
80       <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>\r
81       <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>\r
82 \r
83       <Publish Dialog="MyWelcomeDlg" Control="Install" Event="NewDialog" Value="PrepareDlg">1</Publish>\r
84       <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2">Installed AND PATCH</Publish>\r
85 \r
86       <InstallUISequence>\r
87         <Show Dialog="WelcomeDlg" Before="ProgressDlg">0</Show>\r
88         <Show Dialog="MyWelcomeDlg" Before="ProgressDlg">NOT Installed</Show>\r
89       </InstallUISequence>\r
90 \r
91       <Property Id="ARPNOMODIFY" Value="1" />\r
92     </UI>\r
93 \r
94     <UIRef Id="WixUI_Common" />\r
95   </Fragment>\r
96 </Wix>