diff options
Diffstat (limited to 'src/wixlib/ProgressDlg.wxs')
-rw-r--r-- | src/wixlib/ProgressDlg.wxs | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/wixlib/ProgressDlg.wxs b/src/wixlib/ProgressDlg.wxs new file mode 100644 index 00000000..63af2a72 --- /dev/null +++ b/src/wixlib/ProgressDlg.wxs | |||
@@ -0,0 +1,62 @@ | |||
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 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
6 | <Fragment> | ||
7 | <UI> | ||
8 | <Dialog Id="ProgressDlg" Width="370" Height="270" Title="!(loc.ProgressDlg_Title)" Modeless="yes"> | ||
9 | <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUICancel)"> | ||
10 | <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish> | ||
11 | </Control> | ||
12 | <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.ProgressDlgBannerBitmap)" /> | ||
13 | <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" /> | ||
14 | <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUINext)" /> | ||
15 | <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" /> | ||
16 | <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" /> | ||
17 | <!-- mutually exclusive title and description strings overlap --> | ||
18 | <Control Id="TextInstalling" Type="Text" X="20" Y="65" Width="330" Height="35" Hidden="yes" NoPrefix="yes" Text="!(loc.ProgressDlgTextInstalling)"> | ||
19 | <Condition Action="show">NOT Installed OR (Installed AND (RESUME OR Preselected) AND NOT PATCH)</Condition> | ||
20 | </Control> | ||
21 | <Control Id="TitleInstalling" Type="Text" X="20" Y="15" Width="330" Height="15" Transparent="yes" NoPrefix="yes" Hidden="yes" Text="!(loc.ProgressDlgTitleInstalling)"> | ||
22 | <Condition Action="show">NOT Installed OR (Installed AND (RESUME OR Preselected) AND NOT PATCH)</Condition> | ||
23 | </Control> | ||
24 | <Control Id="TextChanging" Type="Text" X="20" Y="65" Width="330" Height="35" Hidden="yes" NoPrefix="yes" Text="!(loc.ProgressDlgTextChanging)"> | ||
25 | <Condition Action="show">WixUI_InstallMode = "Change"</Condition> | ||
26 | </Control> | ||
27 | <Control Id="TitleChanging" Type="Text" X="20" Y="15" Width="330" Height="15" Transparent="yes" NoPrefix="yes" Hidden="yes" Text="!(loc.ProgressDlgTitleChanging)"> | ||
28 | <Condition Action="show">WixUI_InstallMode = "Change"</Condition> | ||
29 | </Control> | ||
30 | <Control Id="TextRepairing" Type="Text" X="20" Y="65" Width="330" Height="35" Hidden="yes" NoPrefix="yes" Text="!(loc.ProgressDlgTextRepairing)"> | ||
31 | <Condition Action="show">WixUI_InstallMode = "Repair"</Condition> | ||
32 | </Control> | ||
33 | <Control Id="TitleRepairing" Type="Text" X="20" Y="15" Width="330" Height="15" Transparent="yes" NoPrefix="yes" Hidden="yes" Text="!(loc.ProgressDlgTitleRepairing)"> | ||
34 | <Condition Action="show">WixUI_InstallMode = "Repair"</Condition> | ||
35 | </Control> | ||
36 | <Control Id="TextRemoving" Type="Text" X="20" Y="65" Width="330" Height="35" Hidden="yes" NoPrefix="yes" Text="!(loc.ProgressDlgTextRemoving)"> | ||
37 | <Condition Action="show">WixUI_InstallMode = "Remove"</Condition> | ||
38 | </Control> | ||
39 | <Control Id="TitleRemoving" Type="Text" X="20" Y="15" Width="330" Height="15" Transparent="yes" NoPrefix="yes" Hidden="yes" Text="!(loc.ProgressDlgTitleRemoving)"> | ||
40 | <Condition Action="show">WixUI_InstallMode = "Remove"</Condition> | ||
41 | </Control> | ||
42 | <Control Id="TextUpdating" Type="Text" X="20" Y="65" Width="330" Height="35" Hidden="yes" NoPrefix="yes" Text="!(loc.ProgressDlgTextUpdating)"> | ||
43 | <Condition Action="show">WixUI_InstallMode = "Update"</Condition> | ||
44 | </Control> | ||
45 | <Control Id="TitleUpdating" Type="Text" X="20" Y="15" Width="330" Height="15" Transparent="yes" NoPrefix="yes" Hidden="yes" Text="!(loc.ProgressDlgTitleUpdating)"> | ||
46 | <Condition Action="show">WixUI_InstallMode = "Update"</Condition> | ||
47 | </Control> | ||
48 | <Control Id="ActionText" Type="Text" X="70" Y="100" Width="285" Height="10"> | ||
49 | <Subscribe Event="ActionText" Attribute="Text" /> | ||
50 | </Control> | ||
51 | <Control Id="ProgressBar" Type="ProgressBar" X="20" Y="115" Width="330" Height="10" ProgressBlocks="yes" Text="!(loc.ProgressDlgProgressBar)"> | ||
52 | <Subscribe Event="SetProgress" Attribute="Progress" /> | ||
53 | </Control> | ||
54 | <Control Id="StatusLabel" Type="Text" X="20" Y="100" Width="50" Height="10" Text="!(loc.ProgressDlgStatusLabel)" /> | ||
55 | </Dialog> | ||
56 | |||
57 | <InstallUISequence> | ||
58 | <Show Dialog="ProgressDlg" Before="ExecuteAction" Overridable="yes" /> | ||
59 | </InstallUISequence> | ||
60 | </UI> | ||
61 | </Fragment> | ||
62 | </Wix> | ||