Set native EOL on all wxs, make and vcxproj files. Revert the ones which had become...
[shibboleth/sp.git] / msi / WiX / ShibbolethSP-install-dlg.wxs
1 <?xml version='1.0' encoding='UTF-8'?>
2
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
10      
11      http://www.apache.org/licenses/LICENSE-2.0
12      
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.  -->
18
19 <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
20   <!-- This file contains the description of the dialog which captures installation
21        values for first time installs -->
22   <Fragment>
23
24     <UI>
25
26       <!-- This Dialog sets up:
27            - INSTALLDIR
28            - INSTALL_32BIT (if a 64bit machine)
29            - INSTALL_ISAPI_FILTER (if IIS about)
30            - SHIB_FILE_EXTENSION (if IIS about)
31         -->
32
33       <Dialog Id='InstallDirDlgShib' Width='370' Height='270' Title='[ProductName] Setup'>
34         <!-- Stuff at the top: picture, some text, a line -->
35         <Control Id='TopBitMap' Type='Bitmap' X='0' Y='0' Width='370' Height='44' Text='WixUI_Bmp_Banner' />
36         <Control Id='TopInfo' Type='Text' X='15' Y='6' Width='150' Height='12' 
37                  Text='{\WixUI_Font_Title}Configure Shibboleth' Transparent='yes'/>
38         <Control Id='TopDetailed' Type='Text' X='25' Y='24' Width='320' Height='12' 
39                  Text='Please choose where to install the Shibboleth SP and other installation options' Transparent='yes'/>
40         <Control Id='TopLine' Type='Line' X='0' Y='44' Width='370' Height='1' />
41
42         <!-- Buttons to control Shibboleth Setup -->
43         <Control Id='DescriptionLine1' Type='Text' X='25' Y='51' Height='12' Width='320' 
44                  Text='The files for [ProductName] will be installed in the following folder.'/>
45
46         <Control Id='DescriptionLine2' Type='Text' X='25' Y='70' Height='12' Width='320' 
47                  Text='To install into a different folder, click the Browse button, and select another folder.'/>
48
49         <Control Id='DescriptionLine3' Type='Text' X='25' Y='90' Height='24' Width='320' 
50                  Text='You can choose not to install [ProductName] by clicking Cancel to exit the installer.' />
51
52         <!-- Where? -->
53         <Control Id='Dest' Type='Edit' X='25' Y='115' Width='228' Height='17' Property='INSTALLDIR' Text='[INSTALLDIR]' />
54         <Control Id='ChangeFolder' Type='PushButton' X='265' Y='115' Height='17' Width='56' Text='B&amp;rowse...'>
55           <Publish Event='SpawnDialog' Value='BrowseDlg' Order='1'>1</Publish>
56           <Publish Event='[_BrowseProperty]' Value='[WIXUI_INSTALLDIR]' Order='1'>1</Publish>
57         </Control>
58
59         <!-- Service? -->
60         <Control Id='InstallShibd' Type='Text' X='25' Y='148' Height='17' Width='235' 
61                  Text='The Shibboleth Daemon will be installed as a service.' />
62
63         <!-- 32 Bits? -->
64         <Control Id='Install32Bit' Type='CheckBox' X='265' Y='146' Height='17' Width='80'
65                  Property='INSTALL_32BIT' CheckBoxValue='TRUE' 
66                  Text='Run as 32-Bit'>
67           <Condition Action='show'>IS64BITINSTALL = "TRUE"</Condition>
68           <Condition Action='hide'>IS64BITINSTALL &lt;&gt; "TRUE"</Condition>
69         </Control>
70
71         <!-- ISAPI? -->
72         <Control Id='InstallISAPI' Type='CheckBox' X='25' Y='175' Height='17' Width='160'
73                  Property='INSTALL_ISAPI_FILTER' CheckBoxValue='TRUE' 
74                  Text='Install ISAPI modules into IIS'>
75           <Condition Action='show'>IISMAJORVERSION</Condition>
76           <Condition Action='hide'>NOT IISMAJORVERSION</Condition>
77         </Control>
78         <Control Id='FileExtensionText' Type='Text' X='185' Y='178' Height='17' Width='96'
79                  Text='IIS Script Extension'>
80           <Condition Action='show'>IISMAJORVERSION</Condition>
81           <Condition Action='hide'>NOT IISMAJORVERSION</Condition>
82         </Control>
83         <Control Id='FileExtensionEdit' Type='Edit' X='285' Y='175' Height='17' Width='50'
84                  Property='SHIB_FILE_EXTENSION' Text='[SHIB_FILE_EXTENSION]'>
85           <Condition Action='show'>IISMAJORVERSION</Condition>
86           <Condition Action='hide'>NOT IISMAJORVERSION</Condition>
87           <Condition Action='enable'>INSTALL_ISAPI_FILTER = "TRUE"</Condition>
88           <Condition Action='disable'>INSTALL_ISAPI_FILTER &lt;&gt; "TRUE"</Condition>
89         </Control>
90
91         <!-- Stuff at the bottom: line, Back,Next, [space] Cancel -->
92         <Control Id='BottomLine' Type='Line' X='0' Y='234' Width='370' Height='1' />
93         <Control Id='Back' Type='PushButton' X='180' Y='243' Width='56' Height='17' Text='&amp;Back'>
94           <Publish  Event='NewDialog' Value='LicenseAgreementDlg'>1</Publish>
95         </Control>
96
97         <Control Id='Next' Type='PushButton' X='236' Y='243' Width='56' Height='17' Text='&amp;Next' Default='yes'>
98           <Publish Event='SetTargetPath' Value='[WIXUI_INSTALLDIR]'>1</Publish>
99           <Publish Event='DoAction' Value='WixUIValidatePath' >
100             NOT WIXUI_DONTVALIDATEPATH
101           </Publish>
102           <Publish Event='SpawnDialog' Value='InvalidDirDlg' >
103             NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID&lt;&gt;"1"
104           </Publish>
105           <Publish Event='NewDialog' Value='VerifyReadyDlg'>
106             WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"
107           </Publish>
108         </Control>
109
110         <Control Id='Cancel' Type='PushButton' X='304' Y='243' Width='56' Height='17' Text='&amp;Cancel' Cancel='yes'>
111           <Publish  Event='SpawnDialog' Value='CancelDlg'>1</Publish>
112         </Control>
113       </Dialog>
114
115     </UI>
116   </Fragment>
117 </Wix>