SSPCPP-568 The INSTALL_DIR has to have a trailing backslash or else keygen fails.
[shibboleth/cpp-sp.git] / msi / WiX / ShibbolethSP-properties.wxi
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 <!-- This is where we put all the configuration properties we will\r
20      used to drive the install.  The GUI will change them as required,\r
21      but the GUI is not required.  -->\r
22 \r
23 <Include xmlns='http://schemas.microsoft.com/wix/2006/wi'>\r
24 \r
25   <!-- Are we installing IIS, if so what extension to used -->\r
26   <Property Id='INSTALL_ISAPI_FILTER' Value='TRUE' Secure='yes' />\r
27   <Property Id='SHIB_FILE_EXTENSION' Value='.sso' Secure='yes'>\r
28     <RegistrySearch Id='AppReg' Root='HKLM' Key='SOFTWARE\Shibboleth' Name='FileExtension' Type='raw' />\r
29   </Property>\r
30 \r
31   <!-- Information for the properties page of the msi -->\r
32 \r
33   <Property Id='ARPCONTACT' Value='contact@shibboleth.net' />\r
34   <Property Id='ARPHELPLINK' Value='https://wiki.shibboleth.net/confluence/display/SHIB2/Installation+and+Configuration' />\r
35   <Property Id='ARPURLUPDATEINFO' Value='https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPWindowsUpgrade' />\r
36   <Property Id='ARPURLINFOABOUT' Value='http://shibboleth.net/' />\r
37 \r
38   <!-- Do we want to force the ServiceStart to happen? -->\r
39   <Property Id='ALWAYS_START_SERVICE' Value='TRUE' Secure='yes' />\r
40 \r
41   <!-- UPGRADINGPRODUCTCODE set in the uninstall if this is an upgrade uninstall -->\r
42   <!-- SSPCPP-568 We need a default for InstallDir -->\r
43   <Property Id='INSTALLDIR' Value='C:\opt\shibboleth-sp\'/>\r
44   <!-- IISMAJORVERSION if IIS installed -->\r
45   <PropertyRef Id='IISMAJORVERSION' />\r
46 \r
47   <!-- ALREADYINSTALLED if we are doing an upgrade -->\r
48   <Upgrade Id='$(var.ShibbolethUpgradeCode)'>\r
49     <UpgradeVersion ExcludeLanguages='yes' IncludeMaximum='yes' Maximum='127.255.255' Minimum='0.0.1' OnlyDetect='yes' Property='ALREADYINSTALLED'/>\r
50   </Upgrade>\r
51 </Include>\r