aboutsummaryrefslogtreecommitdiff
path: root/src/wixlib/WelcomeDlg.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixlib/WelcomeDlg.wxs')
-rw-r--r--src/wixlib/WelcomeDlg.wxs21
1 files changed, 7 insertions, 14 deletions
diff --git a/src/wixlib/WelcomeDlg.wxs b/src/wixlib/WelcomeDlg.wxs
index dcfd24bd..bb13f1dc 100644
--- a/src/wixlib/WelcomeDlg.wxs
+++ b/src/wixlib/WelcomeDlg.wxs
@@ -1,33 +1,26 @@
1<?xml version="1.0" encoding="UTF-8"?> 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<!-- 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 2
4 3
5<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> 4<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
6 <Fragment> 5 <Fragment>
7 <UI> 6 <UI>
8 <Dialog Id="WelcomeDlg" Width="370" Height="270" Title="!(loc.WelcomeDlg_Title)"> 7 <Dialog Id="WelcomeDlg" Width="370" Height="270" Title="!(loc.WelcomeDlg_Title)">
9 <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)" > 8 <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)">
10 <Publish Property="WixUI_InstallMode" Value="Update">Installed AND PATCH</Publish> 9 <Publish Property="WixUI_InstallMode" Value="Update" Condition="Installed AND PATCH" />
11 </Control> 10 </Control>
12 <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)"> 11 <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
13 <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish> 12 <Publish Event="SpawnDialog" Value="CancelDlg" />
14 </Control> 13 </Control>
15 <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="!(loc.WelcomeDlgBitmap)" /> 14 <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="!(loc.WelcomeDlgBitmap)" />
16 <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" /> 15 <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" />
17 <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" /> 16 <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
18 <Control Id="Description" Type="Text" X="135" Y="80" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeDlgDescription)" > 17 <Control Id="Description" Type="Text" X="135" Y="80" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeDlgDescription)" ShowCondition="NOT Installed OR NOT PATCH" HideCondition="Installed AND PATCH" />
19 <Condition Action="show">NOT Installed OR NOT PATCH</Condition> 18 <Control Id="PatchDescription" Type="Text" X="135" Y="80" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeUpdateDlgDescriptionUpdate)" ShowCondition="Installed AND PATCH" HideCondition="NOT Installed OR NOT PATCH" />
20 <Condition Action="hide">Installed AND PATCH</Condition>
21 </Control>
22 <Control Id="PatchDescription" Type="Text" X="135" Y="80" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeUpdateDlgDescriptionUpdate)" >
23 <Condition Action="show">Installed AND PATCH</Condition>
24 <Condition Action="hide">NOT Installed OR NOT PATCH</Condition>
25 </Control>
26 <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeDlgTitle)" /> 19 <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeDlgTitle)" />
27 </Dialog> 20 </Dialog>
28 21
29 <InstallUISequence> 22 <InstallUISequence>
30 <Show Dialog="WelcomeDlg" Before="ProgressDlg" Overridable="yes">NOT Installed OR PATCH</Show> 23 <Show Dialog="WelcomeDlg" Before="ProgressDlg" Overridable="yes" Condition="NOT Installed OR PATCH" />
31 </InstallUISequence> 24 </InstallUISequence>
32 </UI> 25 </UI>
33 </Fragment> 26 </Fragment>