blob: c6deb864066e54f198e9d55ffed344a1c9f18c38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Fragment>
<UI Id="CustomDialog">
<Dialog Id="FirstDialog" Width="100" Height="100">
<Control Id="Title" Type="Text" X="0" Y="0" Width="90" Height="13" TabSkip="no" Text="FirstDialogTitle" />
<Control Id="Header" Type="Text" X="0" Y="13" Width="90" Height="13" TabSkip="no" Text="FirstDialogHeader"
HideCondition="Installed" DisableCondition="Installed" />
</Dialog>
<Dialog Id="SecondDialog" Width="100" Height="100">
<Control Id="Title" Type="Text" X="0" Y="0" Width="90" Height="13" TabSkip="no" Text="SecondDialogTitle" />
<Control Id="OptionalCheckBox" Type="CheckBox" X="0" Y="13" Width="100" Height="40" Hidden="yes" Property="WIXUI_EXITDIALOGOPTIONALCHECKBOX" CheckBoxValue="1" Text="[WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT]"
ShowCondition="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT AND NOT Installed" />
</Dialog>
<InstallUISequence>
<Show Dialog="SecondDialog" Before="FirstDialog" Overridable="yes">NOT Installed</Show>
</InstallUISequence>
</UI>
</Fragment>
<Fragment>
<UI Id="CustomUI">
<DialogRef Id="FirstDialog" />
<DialogRef Id="SecondDialog" />
<Publish Dialog="FirstDialog" Control="Next" Event="NewDialog" Value="SecondDialog">Installed AND PATCH</Publish>
<InstallUISequence>
<Show Dialog="FirstDialog" Before="SecondDialog" Condition="Installed AND PATCH" />
<Show Dialog="SecondDialog" Before="ExecuteAction" Condition="NOT Installed" />
</InstallUISequence>
</UI>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component>
<File Source="test.txt" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>
|