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