1 <?xml version="1.0" encoding="UTF-8"?>
\r
4 Copyright (c) Microsoft Corporation. All rights reserved.
\r
7 First-time install dialog sequence: Maintenance dialog sequence:
\r
8 - WixUI_WelcomeEulaDlg - WixUI_MaintenanceWelcomeDlg
\r
9 - WixUI_MaintenanceTypeDlg
\r
10 - WixUI_CustomizeDlg
\r
11 - WixUI_VerifyReadyDlg
\r
14 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
\r
16 <UI Id="WixUI_LanguagePack">
\r
17 <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
\r
18 <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
\r
19 <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
\r
21 <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
\r
22 <Property Id="WixUI_Mode" Value="Minimal" />
\r
24 <DialogRef Id="ErrorDlg" />
\r
25 <DialogRef Id="MyFatalError" />
\r
26 <DialogRef Id="FilesInUse" />
\r
27 <DialogRef Id="MsiRMFilesInUse" />
\r
28 <DialogRef Id="MyPrepareDlg" />
\r
29 <DialogRef Id="ProgressDlg" />
\r
30 <DialogRef Id="MyResumeDlg" />
\r
31 <DialogRef Id="MyUserExit" />
\r
32 <DialogRef Id="MyWelcomeDlg" />
\r
34 <Publish Dialog="MyExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
\r
36 <Publish Dialog="MyWelcomeDlg" Control="Next" Event="SpawnWaitDialog" Value="WaitForCostingDlg">CostingComplete = 1</Publish>
\r
37 <Publish Dialog="MyWelcomeDlg" Control="Next" Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
\r
38 <Publish Dialog="MyWelcomeDlg" Control="Next" Event="SpawnDialog" Value="OutOfRbDiskDlg">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)</Publish>
\r
39 <Publish Dialog="MyWelcomeDlg" Control="Next" Event="EndDialog" Value="Return">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>
\r
40 <Publish Dialog="MyWelcomeDlg" Control="Next" Event="EnableRollback" Value="False">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>
\r
41 <Publish Dialog="MyWelcomeDlg" Control="Next" Event="SpawnDialog" Value="OutOfDiskDlg">(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")</Publish>
\r
43 <Property Id="ARPNOMODIFY" Value="1" />
\r
46 <UIRef Id="WixUI_Common" />
\r
48 <!-- the following dialogs are taken from the Wix Toolset: wix3\src\ext\UIExtension\wixlib\*.wsx files, however the width for the Bitmap was adjusted to 123 -->
\r
51 <Dialog Id="MyWelcomeDlg" Width="370" Height="270" Title="!(loc.WelcomeDlg_Title)">
\r
52 <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)" >
\r
53 <Publish Property="WixUI_InstallMode" Value="Update">Installed AND PATCH</Publish>
\r
55 <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
\r
56 <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
\r
58 <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="123" Height="234" TabSkip="no" Text="!(loc.WelcomeDlgBitmap)" />
\r
59 <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" />
\r
60 <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
\r
61 <Control Id="Description" Type="Text" X="135" Y="80" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeDlgDescription)" >
\r
62 <Condition Action="show">NOT Installed OR NOT PATCH</Condition>
\r
63 <Condition Action="hide">Installed AND PATCH</Condition>
\r
65 <Control Id="PatchDescription" Type="Text" X="135" Y="80" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeUpdateDlgDescriptionUpdate)" >
\r
66 <Condition Action="show">Installed AND PATCH</Condition>
\r
67 <Condition Action="hide">NOT Installed OR NOT PATCH</Condition>
\r
69 <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeDlgTitle)" />
\r
73 <Show Dialog="MyWelcomeDlg" Before="ProgressDlg" Overridable="yes">NOT Installed OR PATCH</Show>
\r
74 </InstallUISequence>
\r
79 <Dialog Id="MyUserExit" Width="370" Height="270" Title="!(loc.UserExit_Title)">
\r
80 <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUIFinish)">
\r
81 <Publish Event="EndDialog" Value="Exit">1</Publish>
\r
83 <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUICancel)" />
\r
84 <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="123" Height="234" TabSkip="no" Text="!(loc.UserExitBitmap)" />
\r
85 <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" />
\r
86 <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
\r
87 <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.UserExitTitle)" />
\r
88 <Control Id="Description" Type="Text" X="135" Y="80" Width="220" Height="80" Transparent="yes" NoPrefix="yes" Text="!(loc.UserExitDescription1) !(loc.UserExitDescription2)" />
\r
92 <Show Dialog="MyUserExit" OnExit="cancel" Overridable="yes" />
\r
93 </InstallUISequence>
\r
96 <Show Dialog="MyUserExit" OnExit="cancel" Overridable="yes" />
\r
102 <Dialog Id="MyFatalError" Width="370" Height="270" Title="!(loc.FatalError_Title)">
\r
103 <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUIFinish)">
\r
104 <Publish Event="EndDialog" Value="Exit">1</Publish>
\r
106 <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUICancel)" />
\r
107 <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="123" Height="234" TabSkip="no" Text="!(loc.FatalErrorBitmap)" />
\r
108 <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" />
\r
109 <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
\r
110 <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.FatalErrorTitle)" />
\r
111 <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="80" Transparent="yes" NoPrefix="yes" Text="!(loc.FatalErrorDescription1) !(loc.FatalErrorDescription2)" />
\r
114 <InstallUISequence>
\r
115 <Show Dialog="MyFatalError" OnExit="error" Overridable="yes" />
\r
116 </InstallUISequence>
\r
119 <Show Dialog="MyFatalError" OnExit="error" Overridable="yes" />
\r
125 <Dialog Id="MyPrepareDlg" Width="370" Height="270" Title="!(loc.PrepareDlg_Title)" Modeless="yes">
\r
126 <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUICancel)">
\r
127 <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
\r
129 <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="123" Height="234" TabSkip="no" Text="!(loc.PrepareDlgBitmap)" />
\r
130 <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
\r
131 <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="20" Transparent="yes" NoPrefix="yes" Text="!(loc.PrepareDlgDescription)" />
\r
132 <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.PrepareDlgTitle)" />
\r
133 <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" TabSkip="yes" Text="!(loc.WixUIBack)" />
\r
134 <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Disabled="yes" TabSkip="yes" Text="!(loc.WixUINext)" />
\r
135 <Control Id="ActionData" Type="Text" X="135" Y="125" Width="220" Height="30" Transparent="yes" NoPrefix="yes">
\r
136 <Subscribe Event="ActionData" Attribute="Text" />
\r
138 <Control Id="ActionText" Type="Text" X="135" Y="100" Width="220" Height="20" Transparent="yes" NoPrefix="yes">
\r
139 <Subscribe Event="ActionText" Attribute="Text" />
\r
143 <InstallUISequence>
\r
144 <Show Dialog="MyPrepareDlg" Before="AppSearch" Overridable="yes" />
\r
145 </InstallUISequence>
\r
150 <Dialog Id="MyResumeDlg" Width="370" Height="270" Title="!(loc.ResumeDlg_Title)">
\r
151 <Control Id="Install" Type="PushButton" ElevationShield="yes" X="212" Y="243" Width="80" Height="17" Default="yes" Text="!(loc.ResumeDlgInstall)" Hidden="yes">
\r
152 <Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg">!(wix.WixUICostingPopupOptOut) OR CostingComplete = 1</Publish>
\r
153 <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
\r
154 <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)</Publish>
\r
155 <Publish Event="EndDialog" Value="Return">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>
\r
156 <Publish Event="EnableRollback" Value="False">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>
\r
157 <Publish Event="SpawnDialog" Value="OutOfDiskDlg">(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")</Publish>
\r
158 <Condition Action="show">ALLUSERS</Condition>
\r
160 <Control Id="InstallNoShield" Type="PushButton" ElevationShield="no" X="212" Y="243" Width="80" Height="17" Default="yes" Text="!(loc.ResumeDlgInstall)" Hidden="yes">
\r
161 <Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg">!(wix.WixUICostingPopupOptOut) OR CostingComplete = 1</Publish>
\r
162 <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
\r
163 <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)</Publish>
\r
164 <Publish Event="EndDialog" Value="Return">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>
\r
165 <Publish Event="EnableRollback" Value="False">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>
\r
166 <Publish Event="SpawnDialog" Value="OutOfDiskDlg">(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")</Publish>
\r
167 <Condition Action="show">NOT ALLUSERS</Condition>
\r
169 <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
\r
170 <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
\r
172 <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="123" Height="234" TabSkip="no" Text="!(loc.ResumeDlgBitmap)" />
\r
173 <Control Id="Back" Type="PushButton" X="156" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" />
\r
174 <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
\r
175 <Control Id="Description" Type="Text" X="135" Y="80" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.ResumeDlgDescription)" />
\r
176 <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.ResumeDlgTitle)" />
\r
179 <InstallUISequence>
\r
180 <Show Dialog="MyResumeDlg" Before="ProgressDlg" Overridable="yes">Installed AND (RESUME OR Preselected)</Show>
\r
181 </InstallUISequence>
\r
186 <Dialog Id="MyExitDialog" Width="370" Height="270" Title="!(loc.ExitDialog_Title)">
\r
187 <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUIFinish)" />
\r
188 <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUICancel)" />
\r
189 <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="123" Height="234" TabSkip="no" Text="!(loc.ExitDialogBitmap)" />
\r
190 <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" />
\r
191 <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
\r
192 <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="40" Transparent="yes" NoPrefix="yes" Text="!(loc.ExitDialogDescription)" />
\r
193 <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.ExitDialogTitle)" />
\r
194 <Control Id="OptionalText" Type="Text" X="135" Y="110" Width="220" Height="80" Transparent="yes" NoPrefix="yes" Hidden="yes" Text="[WIXUI_EXITDIALOGOPTIONALTEXT]">
\r
195 <Condition Action="show">WIXUI_EXITDIALOGOPTIONALTEXT AND NOT Installed</Condition>
\r
197 <Control Id="OptionalCheckBox" Type="CheckBox" X="135" Y="190" Width="220" Height="40" Hidden="yes" Property="WIXUI_EXITDIALOGOPTIONALCHECKBOX" CheckBoxValue="1" Text="[WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT]">
\r
198 <Condition Action="show">WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT AND NOT Installed</Condition>
\r
202 <InstallUISequence>
\r
203 <Show Dialog="MyExitDialog" OnExit="success" Overridable="yes" />
\r
204 </InstallUISequence>
\r
207 <Show Dialog="MyExitDialog" OnExit="success" Overridable="yes" />
\r