Fix install hooks and switch to PACKAGE_NAME macro.
[shibboleth/sp.git] / msi / WiX / ShibbolethSP-shibd-dialog.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   <Fragment>\r
21     <UI>\r
22       <Dialog Id='ShibdDlg' Width='370' Height='270' Title='[ProductName] Setup'>\r
23         <Control Id='Next' Type='PushButton' X='236' Y='243' Width='56' Height='17' Default='yes' Text='!(loc.WixUINext)' />\r
24         <Control Id='Back' Type='PushButton' X='180' Y='243' Width='56' Height='17' Text='!(loc.WixUIBack)' />\r
25         <Control Id='Cancel' Type='PushButton' X='304' Y='243' Width='56' Height='17' Cancel='yes' Text='!(loc.WixUICancel)'>\r
26           <Publish Event='SpawnDialog' Value='CancelDlg'>1</Publish>\r
27         </Control>\r
28 \r
29         <Control Id='Title' Type='Text' X='15' Y='6' Width='200' Height='15' Transparent='yes' NoPrefix='yes' \r
30                  Text='{\WixUI_Font_Title}Shibboleth Service Provider' />\r
31 \r
32         <Control Id='BannerBitmap' Type='Bitmap' X='0' Y='0' Width='370' Height='44' TabSkip='no' \r
33                  Text='!(loc.InstallDirDlgBannerBitmap)' />\r
34 \r
35         <Control Id='Description64' Type='Text' X='25' Y='23' Width='300' Height='20' Transparent='yes' NoPrefix='yes' \r
36                  Text='Control service, and specify which architecture (64-bit or 32-bit) to make active.'>\r
37           <Condition Action='hide' >IS64BITINSTALL &lt;&gt; "TRUE"</Condition>\r
38         </Control>\r
39         <!--\r
40         <Control Id='Description32' Type='Text' X='25' Y='23' Width='280' Height='15' Transparent='yes' NoPrefix='yes' Text='Specify the port for the Shibd daemon'>\r
41           <Condition Action='hide' >IS64BITINSTALL = "TRUE"</Condition>\r
42         </Control>\r
43         -->\r
44 \r
45         <Control Id='BannerLine' Type='Line' X='0' Y='44' Width='370' Height='0' />\r
46         <Control Id='BottomLine' Type='Line' X='0' Y='234' Width='370' Height='0' />\r
47 \r
48         <!--\r
49         <Control Id='ShibdLine1' Type='Text' X='25' Y='60' Width='312' Height='10' \r
50                  Text='Please enter the TCP port number in which the shibd daemon should run'/>\r
51         <Control Id='ShibdLine2' Type='Text' X='25' Y='79' Width='312' Height='20' \r
52                  Text='NOTE: This is NOT the web server port and MUST be a valid Windows port number that is NOT in use by any other process!'/>\r
53         <Control Id='ShibdLine3' Type='Text' X='25' Y='108' Width='312' Height='20' \r
54                  Text='If a copy of shibboleth2.xml already exists in the installation path, it will NOT be updated with this new port number.'/>\r
55         -->\r
56         \r
57         <!--\r
58         <Control Id='ShibdPortBox' Type='GroupBox' X='131' Y='165' Width='104' Height='35' />\r
59         <Control Id='ShibdPortText' Type='Text' X='146' Y='181' Width='40' Height='12' Text='Shibd port' >\r
60           <Condition Action='disable'>INSTALL_SHIBD_SERVICE &lt;&gt; "TRUE"</Condition>\r
61           <Condition Action='enable'>INSTALL_SHIBD_SERVICE = "TRUE"</Condition>\r
62         </Control>\r
63         <Control Id='ShibdPortEnter' Type='Edit' X='187' Y='178' Width='35' Height='16' \r
64                  Property='SHIBD_PORT' TabSkip='no'>\r
65           <Condition Action='disable'>INSTALL_SHIBD_SERVICE &lt;&gt; "TRUE"</Condition>\r
66           <Condition Action='enable'>INSTALL_SHIBD_SERVICE = "TRUE"</Condition>\r
67         </Control>\r
68         -->\r
69 \r
70         <Control Id='InstallShibdCheckBox' Type='CheckBox' X='80' Y='80' Width='250' Height='30' \r
71           Property='INSTALL_SHIBD_SERVICE' Text='Install Shibboleth Daemon as a service (recommended).' \r
72           CheckBoxValue='TRUE' TabSkip='yes' />\r
73 \r
74         <Control Id='ShibdLine1' Type='Text' X='25' Y='140' Width='312' Height='20' \r
75           Text='By default, Shibboleth will operate as a 64-bit system. You can change this now, or after installation.'>\r
76           <Condition Action='hide' >IS64BITINSTALL &lt;&gt; "TRUE"</Condition>\r
77         </Control>\r
78         \r
79         <Control Id='Install32BitShibd' Type='CheckBox' X='118' Y='170' Width='250' Height='30' \r
80                  Property='INSTALL_32BIT' Text='Run as a 32-bit system instead.' \r
81                  CheckBoxValue='TRUE' TabSkip='yes'>\r
82           <Condition Action='hide' >IS64BITINSTALL &lt;&gt; "TRUE"</Condition>\r
83         </Control>\r
84 \r
85       </Dialog>\r
86     </UI>\r
87   </Fragment>\r
88 </Wix>\r