1 <?xml version='1.0' encoding='UTF-8'?>
3 <!-- Licensed to the University Corporation for Advanced Internet
4 Development, Inc. (UCAID) under one or more contributor license
5 agreements. See the NOTICE file distributed with this work for
6 additional information regarding copyright ownership. The UCAID
7 licenses this file to You under the Apache License, Version 2.0
8 (the 'License'); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an 'AS IS' BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16 implied. See the License for the specific language governing
17 permissions and limitations under the License. -->
19 <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
20 <!-- This file controls the dispaying of the GUI dialogs (both WiX and custom) -->
23 <WixVariable Id="WixUILicenseRtf" Value="$(var.SPBuildDirectory)\cpp-sp\msi\wix\license.rtf" />
24 <WixVariable Id="WixUIBannerBmp" Value="$(var.SPBuildDirectory)\cpp-sp\msi\wix\TopBanner.bmp" />
25 <WixVariable Id="WixUIDialogBmp" Value="$(var.SPBuildDirectory)\cpp-sp\msi\wix\Dialog.bmp" />
26 <WixVariable Id="WixUICostingPopupOptOut" Value="1" />
28 <!-- GUI For Shibboleth installer. Uses the Wix packages, but linked in
29 blindly by looking at documentation (for sizes and dialog names)
30 and the generated.msi -->
32 <!-- Property that Light complained for -->
33 <Property Id='DefaultUIFont' Value='WixUI_Font_Normal' />
35 <!-- "You must set a property named WIXUI_INSTALLDIR with a value
36 of the ID of the directory you want the user to be able to specify
39 <Property Id='WIXUI_INSTALLDIR' Value='INSTALLDIR' />
41 <UI Id='ShibbolethInstallDir' >
43 <!-- "WixUI_InstallDir includes the following dialogs:" -->
44 <DialogRef Id='BrowseDlg' />
45 <DialogRef Id='DiskCostDlg' />
46 <DialogRef Id='InvalidDirDlg' />
47 <DialogRef Id='LicenseAgreementDlg' />
48 <DialogRef Id='WelcomeDlg' />
50 <!-- "In addition, WixUI_InstallDir includes the following common
51 dialogs that appear in all WixUI dialog sets:" -->
52 <DialogRef Id='CancelDlg' />
53 <DialogRef Id='ErrorDlg' />
54 <DialogRef Id='ExitDialog' />
55 <DialogRef Id='FatalError' />
56 <DialogRef Id='FilesInUse' />
57 <DialogRef Id='MaintenanceTypeDlg' />
58 <DialogRef Id='MaintenanceWelcomeDlg' />
59 <DialogRef Id='MsiRMFilesInUse' />
60 <DialogRef Id='OutOfDiskDlg' />
61 <DialogRef Id='OutOfRbDiskDlg' />
62 <DialogRef Id='PrepareDlg' />
63 <DialogRef Id='ProgressDlg' />
64 <DialogRef Id='ResumeDlg' />
65 <DialogRef Id='UserExit' />
66 <DialogRef Id='VerifyReadyDlg' />
67 <DialogRef Id='WaitForCostingDlg' />
69 <!-- We also define two dialogs -->
70 <DialogRef Id='UpdateDlgShib' />
71 <DialogRef Id='InstallDirDlgShib' />
73 <!-- Text Styles (from Orca) -->
74 <TextStyle Id='WixUI_Font_Normal' FaceName='Tahoma' Size='8' />
75 <TextStyle Id='WixUI_Font_Bigger' FaceName='Tahoma' Size='12' />
76 <TextStyle Id='WixUI_Font_Title' FaceName='Tahoma' Size='9' Bold='yes'/>
78 <!-- Events (from Orca\ControlEvent and from light's complaints) -->
79 <Publish Dialog='BrowseDlg' Control='OK' Event='DoAction' Value='WixUIValidatePath' Order='3'>1</Publish>
80 <Publish Dialog='BrowseDlg' Control='OK' Event='SpawnDialog' Value='InvalidDirDlg' Order='4'>
81 WIXUI_INSTALLDIR_VALID<>"1"
84 <Publish Dialog='LicenseAgreementDlg' Control='Next' Event='NewDialog' Value='InstallDirDlgShib'>
88 <Publish Dialog='MaintenanceTypeDlg' Control='RepairButton' Event='NewDialog' Value='VerifyReadyDlg'>1</Publish>
89 <Publish Dialog='MaintenanceTypeDlg' Control='RemoveButton' Event='NewDialog' Value='VerifyReadyDlg'>1</Publish>
92 <Publish Dialog='MaintenanceWelcomeDlg' Control='Next' Event='NewDialog' Value='MaintenanceTypeDlg'>1</Publish>
94 <Publish Dialog='WelcomeDlg' Control='Next' Event='NewDialog' Value='LicenseAgreementDlg'>
95 (NOT Installed) AND (NOT ALREADYINSTALLED)
97 <Publish Dialog='WelcomeDlg' Control='Next' Event='NewDialog' Value='UpdateDlgShib'>
98 (NOT Installed) AND ALREADYINSTALLED
100 <Publish Dialog='WelcomeDlg' Control='Next' Event='NewDialog' Value='VerifyReadyDlg'>
104 <Publish Dialog='ExitDialog' Control='Finish' Event='EndDialog' Value='Return'>1</Publish>
105 <Publish Dialog='LicenseAgreementDlg' Control='Back' Event='NewDialog' Value='WelcomeDlg'>1</Publish>
106 <Publish Dialog='MaintenanceTypeDlg' Control='Back' Event='NewDialog' Value='MaintenanceWelcomeDlg'>1</Publish>
107 <Publish Dialog='VerifyReadyDlg' Control='Back' Event='NewDialog' Value='WelcomeDlg'>
110 <Publish Dialog='VerifyReadyDlg' Control='Back' Event='NewDialog' Value='InstallDirDlgShib'>
111 (NOT Installed) AND (NOT ALREADYINSTALLED)
113 <Publish Dialog='VerifyReadyDlg' Control='Back' Event='NewDialog' Value='UpdateDlgShib'>
114 (NOT Installed) AND ALREADYINSTALLED
116 <Publish Dialog='VerifyReadyDlg' Control='Back' Event='NewDialog' Value='MaintenanceTypeDlg'>
117 Installed AND NOT PATCH