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 <?include Versions.wxi ?>
21 <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
22 <!-- This file controls the dispaying of the GUI dialogs (both WiX and custom) -->
25 <WixVariable Id="WixUILicenseRtf" Value="$(var.SPBuildDirectory)\cpp-sp\msi\wix\license.rtf" />
26 <WixVariable Id="WixUIBannerBmp" Value="$(var.SPBuildDirectory)\cpp-sp\msi\wix\TopBanner.bmp" />
27 <WixVariable Id="WixUIDialogBmp" Value="$(var.SPBuildDirectory)\cpp-sp\msi\wix\Dialog.bmp" />
28 <WixVariable Id="WixUICostingPopupOptOut" Value="1" />
30 <!-- GUI For Shibboleth installer. Uses the Wix packages, but linked in
31 blindly by looking at documentation (for sizes and dialog names)
32 and the generated.msi -->
34 <!-- Property that Light complained for -->
35 <Property Id='DefaultUIFont' Value='WixUI_Font_Normal' />
37 <!-- "You must set a property named WIXUI_INSTALLDIR with a value
38 of the ID of the directory you want the user to be able to specify
41 <Property Id='WIXUI_INSTALLDIR' Value='INSTALLDIR' />
43 <UI Id='ShibbolethInstallDir' >
45 <!-- "WixUI_InstallDir includes the following dialogs:" -->
46 <DialogRef Id='BrowseDlg' />
47 <DialogRef Id='DiskCostDlg' />
48 <DialogRef Id='InvalidDirDlg' />
49 <DialogRef Id='LicenseAgreementDlg' />
50 <DialogRef Id='WelcomeDlg' />
52 <!-- "In addition, WixUI_InstallDir includes the following common
53 dialogs that appear in all WixUI dialog sets:" -->
54 <DialogRef Id='CancelDlg' />
55 <DialogRef Id='ErrorDlg' />
56 <DialogRef Id='ExitDialog' />
57 <DialogRef Id='FatalError' />
58 <DialogRef Id='FilesInUse' />
59 <DialogRef Id='MaintenanceTypeDlg' />
60 <DialogRef Id='MaintenanceWelcomeDlg' />
61 <DialogRef Id='MsiRMFilesInUse' />
62 <DialogRef Id='OutOfDiskDlg' />
63 <DialogRef Id='OutOfRbDiskDlg' />
64 <DialogRef Id='PrepareDlg' />
65 <DialogRef Id='ProgressDlg' />
66 <DialogRef Id='ResumeDlg' />
67 <DialogRef Id='UserExit' />
68 <DialogRef Id='VerifyReadyDlg' />
69 <DialogRef Id='WaitForCostingDlg' />
71 <!-- We also define two dialogs -->
72 <DialogRef Id='UpdateDlgShib' />
73 <DialogRef Id='InstallDirDlgShib' />
75 <!-- Text Styles (from Orca) -->
76 <TextStyle Id='WixUI_Font_Normal' FaceName='Tahoma' Size='8' />
77 <TextStyle Id='WixUI_Font_Bigger' FaceName='Tahoma' Size='12' />
78 <TextStyle Id='WixUI_Font_Title' FaceName='Tahoma' Size='9' Bold='yes'/>
80 <!-- Events (from Orca\ControlEvent and from light's complaints) -->
81 <Publish Dialog='BrowseDlg' Control='OK' Event='DoAction' Value='WixUIValidatePath' Order='3'>1</Publish>
82 <Publish Dialog='BrowseDlg' Control='OK' Event='SpawnDialog' Value='InvalidDirDlg' Order='4'>
83 WIXUI_INSTALLDIR_VALID<>"1"
86 <Publish Dialog='LicenseAgreementDlg' Control='Next' Event='NewDialog' Value='InstallDirDlgShib'>
90 <Publish Dialog='MaintenanceTypeDlg' Control='RepairButton' Event='NewDialog' Value='VerifyReadyDlg'>1</Publish>
91 <Publish Dialog='MaintenanceTypeDlg' Control='RemoveButton' Event='NewDialog' Value='VerifyReadyDlg'>1</Publish>
94 <Publish Dialog='MaintenanceWelcomeDlg' Control='Next' Event='NewDialog' Value='MaintenanceTypeDlg'>1</Publish>
96 <Publish Dialog='WelcomeDlg' Control='Next' Event='NewDialog' Value='LicenseAgreementDlg'>
97 (NOT Installed) AND (NOT ALREADYINSTALLED)
99 <Publish Dialog='WelcomeDlg' Control='Next' Event='NewDialog' Value='UpdateDlgShib'>
100 (NOT Installed) AND ALREADYINSTALLED
102 <Publish Dialog='WelcomeDlg' Control='Next' Event='NewDialog' Value='VerifyReadyDlg'>
106 <Publish Dialog='ExitDialog' Control='Finish' Event='EndDialog' Value='Return'>1</Publish>
107 <Publish Dialog='LicenseAgreementDlg' Control='Back' Event='NewDialog' Value='WelcomeDlg'>1</Publish>
108 <Publish Dialog='MaintenanceTypeDlg' Control='Back' Event='NewDialog' Value='MaintenanceWelcomeDlg'>1</Publish>
109 <Publish Dialog='VerifyReadyDlg' Control='Back' Event='NewDialog' Value='WelcomeDlg'>
112 <Publish Dialog='VerifyReadyDlg' Control='Back' Event='NewDialog' Value='InstallDirDlgShib'>
113 (NOT Installed) AND (NOT ALREADYINSTALLED)
115 <Publish Dialog='VerifyReadyDlg' Control='Back' Event='NewDialog' Value='UpdateDlgShib'>
116 (NOT Installed) AND ALREADYINSTALLED
118 <Publish Dialog='VerifyReadyDlg' Control='Back' Event='NewDialog' Value='MaintenanceTypeDlg'>
119 Installed AND NOT PATCH