aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.CoreIntegration/TestData/DialogsInInstallUISequence/PackageComponents.wxs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2019-01-12 16:33:59 -0600
committerSean Hall <r.sean.hall@gmail.com>2019-01-12 17:00:22 -0600
commita8e31958d7e1b0ef10ea8035abf1e3bf07170eb8 (patch)
tree5a54ef7491ba49f2fd65c2bc97b2f1afd6c0132b /src/test/WixToolsetTest.CoreIntegration/TestData/DialogsInInstallUISequence/PackageComponents.wxs
parent9d55d0078155316f3faf799fcf98f123c91617b6 (diff)
downloadwix-a8e31958d7e1b0ef10ea8035abf1e3bf07170eb8.tar.gz
wix-a8e31958d7e1b0ef10ea8035abf1e3bf07170eb8.tar.bz2
wix-a8e31958d7e1b0ef10ea8035abf1e3bf07170eb8.zip
Add failing test for issues exposed by UIExtension.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/TestData/DialogsInInstallUISequence/PackageComponents.wxs')
-rw-r--r--src/test/WixToolsetTest.CoreIntegration/TestData/DialogsInInstallUISequence/PackageComponents.wxs38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/DialogsInInstallUISequence/PackageComponents.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/DialogsInInstallUISequence/PackageComponents.wxs
new file mode 100644
index 00000000..724c46ed
--- /dev/null
+++ b/src/test/WixToolsetTest.CoreIntegration/TestData/DialogsInInstallUISequence/PackageComponents.wxs
@@ -0,0 +1,38 @@
1<?xml version="1.0" encoding="utf-8"?>
2<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
3 <Fragment>
4 <UI Id="CustomDialog">
5 <!-- TODO: compiler can't handle loc strings for number fields -->
6 <TextStyle Id="CustomFont" FaceName="!(loc.CustomFontName)" Size="!(loc.CustomFontSize)" />
7 <Dialog Id="FirstDialog" Width="100" Height="100">
8 <Control Id="Title" Type="Text" X="0" Y="0" Width="90" Height="13" TabSkip="no" Text="FirstDialogTitle" />
9 </Dialog>
10 <Dialog Id="SecondDialog" Width="100" Height="100">
11 <Control Id="Title" Type="Text" X="0" Y="0" Width="90" Height="13" TabSkip="no" Text="SecondDialogTitle" />
12 </Dialog>
13
14 <InstallUISequence>
15 <!-- TODO: overriding this currently causes a duplicate symbol error -->
16 <Show Dialog="SecondDialog" Before="FirstDialog" Overridable="yes">NOT Installed</Show>
17 </InstallUISequence>
18 </UI>
19 </Fragment>
20 <Fragment>
21 <UI Id="CustomUI">
22 <DialogRef Id="FirstDialog" />
23 <DialogRef Id="SecondDialog" />
24
25 <Publish Dialog="FirstDialog" Control="Next" Event="NewDialog" Value="SecondDialog">Installed AND PATCH</Publish>
26
27 <InstallUISequence>
28 <Show Dialog="FirstDialog" Before="SecondDialog">Installed AND PATCH</Show>
29 <Show Dialog="SecondDialog" Before="ExecuteAction">NOT Installed</Show>
30 </InstallUISequence>
31 </UI>
32 <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
33 <Component>
34 <File Source="test.txt" />
35 </Component>
36 </ComponentGroup>
37 </Fragment>
38</Wix>