source: nscp/helpers/installers/ui/WixUI_MondoNSCP.wxs @ 35254d1

0.4.00.4.10.4.2
Last change on this file since 35254d1 was 35254d1, checked in by Michael Medin <michael@…>, 2 years ago
  • Fixed installer "back" issues
  • Fixed payload truncation for NRPe and NSCA
  • Improved the installer target tagging functions in the python installer
  • Property mode set to 100644
File size: 9.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--
4    Copyright (c) Microsoft Corporation.  All rights reserved.
5   
6    The use and distribution terms for this software are covered by the
7    Common Public License 1.0 (http://opensource.org/licenses/cpl1.0.php)
8    which can be found in the file CPL.TXT at the root of this distribution.
9    By using this software in any fashion, you are agreeing to be bound by
10    the terms of this license.
11   
12    You must not remove this notice, or any other, from this software.
13-->
14<!--
15First-time install dialog sequence:
16- WixUI_WelcomeDlg
17- WixUI_LicenseAgreementDlg
18- WixUI_SetupTypeDlg
19- WixUI_VerifyReadyDlg
20- WixUI_CustomizeDlg
21- WixUI_DiskCostDlg
22- WixUI_BrowseDlg
23
24Maintenance dialog sequence:
25- WixUI_MaintenanceWelcomeDlg
26- WixUI_MaintenanceTypeDlg
27- WixUI_CustomizeDlg
28- WixUI_VerifyReadyDlg
29
30Patch dialog sequence:
31 - WixUI_WelcomeDlg
32 - WixUI_VerifyReadyDlg
33-->
34
35<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
36  <Fragment>
37    <UI Id="WixUI_MondoNSCP">
38      <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
39      <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
40      <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
41
42      <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
43      <Property Id="WixUI_Mode" Value="Mondo" />
44
45      <DialogRef Id="ErrorDlg" />
46      <DialogRef Id="FatalError" />
47      <DialogRef Id="FilesInUse" />
48      <DialogRef Id="MsiRMFilesInUse" />
49      <DialogRef Id="PrepareDlg" />
50      <DialogRef Id="ProgressDlg" />
51      <DialogRef Id="ResumeDlg" />
52      <DialogRef Id="UserExit" />
53
54      <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
55
56      <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg">NOT Installed AND NOT PATCH</Publish>
57      <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">Installed AND PATCH</Publish>
58
59      <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
60      <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="SetupTypeDlg">1</Publish>
61
62
63      <!--
64        Custom Workflow
65                                CONF_HAS_ERRORS=1:  Dont allow anything (inform of issue)
66              SetupTypeDlg -> InvalidConfigureationDlg -> VerifyReadyDlg
67
68                                CONF_OLD_FOUND=0:   Allow setting boot.ini
69              SetupTypeDlg -> SelectConfigurationDlg -> ConfigureDlg -> VerifyReadyDlg
70
71                                CONF_CAN_CHANGE=1: Allow change
72              SetupTypeDlg -> ConfigureDlg -> VerifyReadyDlg
73
74        UNKNOWN: Dont allow anything (dont tell anyone)
75              SetupTypeDlg -> VerifyReadyDlg
76             
77        Backflows:
78          InvalidConfigureationDlg -> SetupTypeDlg<...>
79          SelectConfigurationDlg -> SetupTypeDlg<...>
80          ConfigureDlg [CONF_OLD_FOUND=0] -> SelectConfigurationDlg
81          ConfigureDlg [*] -> SetupTypeDlg<...>
82          VerifyReadyDlg [CONF_HAS_ERRORS=1] -> InvalidConfigureationDlg
83          VerifyReadyDlg [CONF_OLD_FOUND=0 OR CONF_CAN_CHANGE=1] -> ConfigureDlg
84          VerifyReadyDlg [*] -> SetupTypeDlg<...>
85                           -->
86
87      <Publish Dialog="SetupTypeDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
88      <Publish Dialog="SetupTypeDlg" Control="TypicalButton" Event="NewDialog" Value="InvalidConfigureationDlg" Order="4">CONF_HAS_ERRORS = "1"</Publish>
89      <Publish Dialog="SetupTypeDlg" Control="TypicalButton" Event="NewDialog" Value="SelectConfigurationDlg" Order="3">CONF_OLD_FOUND="0"</Publish>
90      <Publish Dialog="SetupTypeDlg" Control="TypicalButton" Event="NewDialog" Value="ConfigureDlg" Order="2">CONF_CAN_CHANGE = "1"</Publish>
91      <Publish Dialog="SetupTypeDlg" Control="TypicalButton" Event="NewDialog" Value="VerifyReadyDlg" Order="1">1</Publish>
92      <Publish Dialog="SetupTypeDlg" Control="CustomButton" Event="NewDialog" Value="CustomizeDlg">1</Publish>
93      <Publish Dialog="SetupTypeDlg" Control="CompleteButton" Event="NewDialog" Value="InvalidConfigureationDlg" Order="4">CONF_HAS_ERRORS = "1"</Publish>
94      <Publish Dialog="SetupTypeDlg" Control="CompleteButton" Event="NewDialog" Value="SelectConfigurationDlg" Order="3">CONF_OLD_FOUND="0"</Publish>
95      <Publish Dialog="SetupTypeDlg" Control="CompleteButton" Event="NewDialog" Value="ConfigureDlg" Order="2">CONF_CAN_CHANGE = "1"</Publish>
96      <Publish Dialog="SetupTypeDlg" Control="CompleteButton" Event="NewDialog" Value="VerifyReadyDlg" Order="1">1</Publish>
97
98      <Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="1">WixUI_InstallMode = "Change"</Publish>
99      <Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="SetupTypeDlg" Order="2">WixUI_InstallMode = "InstallCustom"</Publish>
100      <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="3">1</Publish>
101      <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="ConfigureDlg" Order="4">CONF_CAN_CHANGE = "1"</Publish>
102      <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="SelectConfigurationDlg" Order="5">CONF_OLD_FOUND="0"</Publish>
103      <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="InvalidConfigureationDlg" Order="6">CONF_HAS_ERRORS = "1"</Publish>
104
105      <Publish Dialog="InvalidConfigureationDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="1">WixUI_InstallMode = "Change" OR WixUI_InstallMode = "InstallCustom"</Publish>
106      <Publish Dialog="InvalidConfigureationDlg" Control="Back" Event="NewDialog" Value="SetupTypeDlg" Order="2">WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode = "InstallComplete"</Publish>
107      <Publish Dialog="InvalidConfigureationDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="3">WixUI_InstallMode = "Repair" OR WixUI_InstallMode = "Remove"</Publish>
108      <Publish Dialog="InvalidConfigureationDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="4">WixUI_InstallMode = "Update"</Publish>
109      <Publish Dialog="InvalidConfigureationDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="5">1</Publish>
110
111      <Publish Dialog="SelectConfigurationDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="1">WixUI_InstallMode = "Change" OR WixUI_InstallMode = "InstallCustom"</Publish>
112      <Publish Dialog="SelectConfigurationDlg" Control="Back" Event="NewDialog" Value="SetupTypeDlg" Order="2">WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode = "InstallComplete"</Publish>
113      <Publish Dialog="SelectConfigurationDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="3">WixUI_InstallMode = "Repair" OR WixUI_InstallMode = "Remove"</Publish>
114      <Publish Dialog="SelectConfigurationDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="4">WixUI_InstallMode = "Update"</Publish>
115      <Publish Dialog="SelectConfigurationDlg" Control="Next" Event="NewDialog" Value="ConfigureDlg" Order="5">1</Publish>
116
117      <Publish Dialog="ConfigureDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="1">WixUI_InstallMode = "Change" OR WixUI_InstallMode = "InstallCustom"</Publish>
118      <Publish Dialog="ConfigureDlg" Control="Back" Event="NewDialog" Value="SetupTypeDlg" Order="2">WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode = "InstallComplete"</Publish>
119      <Publish Dialog="ConfigureDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="3">WixUI_InstallMode = "Repair" OR WixUI_InstallMode = "Remove"</Publish>
120      <Publish Dialog="ConfigureDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="4">WixUI_InstallMode = "Update"</Publish>
121      <Publish Dialog="ConfigureDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="5">1</Publish>
122      <Publish Dialog="ConfigureDlg" Control="Back" Event="NewDialog" Value="SelectConfigurationDlg" Order="6">CONF_OLD_FOUND="0"</Publish>
123
124      <!-- END: Modified to handle configuration dialog -->
125      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="1">WixUI_InstallMode = "Change" OR WixUI_InstallMode = "InstallCustom"</Publish>
126      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="SetupTypeDlg" Order="2">WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode = "InstallComplete"</Publish>
127      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="3">WixUI_InstallMode = "Repair" OR WixUI_InstallMode = "Remove"</Publish>
128      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="4">WixUI_InstallMode = "Update"</Publish>
129      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="ConfigureDlg" Order="5">CONF_OLD_FOUND="0" OR CONF_CAN_CHANGE="1"</Publish>
130      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InvalidConfigureationDlg" Order="6">CONF_HAS_ERRORS = "1"</Publish>
131
132      <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
133
134      <Publish Dialog="MaintenanceTypeDlg" Control="ChangeButton" Event="NewDialog" Value="CustomizeDlg">1</Publish>
135      <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
136      <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
137      <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
138    </UI>
139
140    <UIRef Id="WixUI_Common" />
141  </Fragment>
142</Wix>
Note: See TracBrowser for help on using the repository browser.