-<?xml version='1.0' encoding='UTF-8'?>\r
-\r
-<!-- Licensed to the University Corporation for Advanced Internet\r
- Development, Inc. (UCAID) under one or more contributor license\r
- agreements. See the NOTICE file distributed with this work for\r
- additional information regarding copyright ownership. The UCAID\r
- licenses this file to You under the Apache License, Version 2.0\r
- (the 'License'); you may not use this file except in compliance\r
- with the License. You may obtain a copy of the License at\r
- \r
- http://www.apache.org/licenses/LICENSE-2.0\r
- \r
- Unless required by applicable law or agreed to in writing, software\r
- distributed under the License is distributed on an 'AS IS' BASIS,\r
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\r
- implied. See the License for the specific language governing\r
- permissions and limitations under the License. -->\r
-\r
-<?define BuildDirectory='G:\Downloads\shib\' ?>\r
-<?define OpenSSLDirVersion='1.0.0a' ?>\r
-\r
-<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>\r
- <!-- This is where we put all the architecture neutral bits of the\r
- Shibboleth install. It turns out that it may not be all the\r
- architecture insenstive stuff since some GUIDS may have moved\r
- -->\r
- <Fragment>\r
- <!-- Files First -->\r
- <!-- Configuration, licenses and documentation -->\r
-\r
- <DirectoryRef Id='INSTALLDIR'>\r
- <Directory Id='doc' Name='doc' >\r
- <Directory Id='doc_shibboleth' Name='shibboleth' \r
- FileSource='$(var.BuildDirectory)\cvs\2.0\cpp-sp\doc' >\r
- <Component Id='doc_shibboleth' Guid='{8239E994-8295-4E26-8708-DDF240B486BF}'>\r
- <File Name='main.css' KeyPath='yes'/>\r
- <File Name='logo.jpg' />\r
- <File Name='CREDITS.txt' />\r
- <File Name='LICENSE.txt' />\r
- <File Name='NOTICE.txt' />\r
- <File Name='README.txt'/>\r
- <File Name='RELEASE.txt' />\r
- </Component>\r
- </Directory><!-- doc_shibboleth -->\r
- </Directory><!-- doc -->\r
- <Directory Id='etc' Name='etc' >\r
- <Directory Id='etc_shibboleth' Name='shibboleth' \r
- FileSource='$(var.BuildDirectory)\cvs\2.0\cpp-sp\configs' >\r
- <Component Id='etc_shibboleth_perm' Guid='{1F1B9F9B-6437-46F1-ACE8-8D135612336C}' Permanent='yes'>\r
- <File KeyPath='yes' \r
- Source='$(var.BuildDirectory)\openssl-$(var.OpenSSLDirVersion)\apps\openssl.cnf' />\r
- <File Name='upgrade.xsl' />\r
- <File Name='example-metadata.xml' />\r
- <File Name='example-shibboleth2.xml' />\r
- </Component>\r
- <Component Id='etc_shibboleth_nonperm' Guid='{A5BBCB8B-42B3-4402-B66D-66D2971F509F}'>\r
- <File Name='keygen.bat' KeyPath='yes' Source='$(var.BuildDirectory)\cvs\2.0\cpp-sp\configs\keygen.bat-wix'/>\r
- <File Name='xsltproc.js' />\r
- </Component>\r
- <Directory Id='etc_shibboleth_dist' Name='dist' \r
- FileSource='$(var.BuildDirectory)\cvs\2.0\cpp-sp\configs' >\r
- <Component Id='dist_noperm' Guid='{6AEBA525-8F52-4D14-BAEE-0292A2E214D1}'>\r
- <!-- Note that the dir creation here is an accident caused by the inhertited Installer -->\r
- <CreateFolder Directory='var_run_shibboleth' />\r
- <File Name='apache22.config.in' KeyPath='yes' />\r
- <File Name='sslError.html' />\r
- <File Name='bindingTemplate.html' />\r
- <File Name='globalLogout.html' />\r
- <File Name='localLogout.html' />\r
- <File Name='attribute-map.xml' />\r
- <File Name='attribute-policy.xml'/>\r
- <File Name='shibboleth2.xml' />\r
- <File Name='console.logger' />\r
- <File Name='discoveryTemplate.html' />\r
- <File Name='postTemplate.html' />\r
- <File Name='partialLogout.html' />\r
- <File Name='protocols.xml' />\r
- <File Name='security-policy.xml' />\r
- </Component>\r
- <Component Id='accessError.html' Guid='{6FAA81A0-A020-4E60-A37D-1EC4D0D5FD06}' Permanent='yes'>\r
- <File Name='accessError.html' />\r
- </Component>\r
- <Component Id='apache.config' Guid='{AF4EB2B1-2489-4E39-A89E-1CA7AC2B7483}' Permanent='yes'>\r
- <File Name='apache.config.in' />\r
- </Component>\r
- <Component Id='apache2.config' Guid='{85BF72A1-FBA8-4955-ACCF-ABC83B1292C9}' Permanent='yes'>\r
- <File Name='apache2.config.in' KeyPath='yes' />\r
- </Component>\r
- <Component Id='metadataError.html' Guid='{8C46D04A-A943-4FA4-AFCB-9B040306C2C0}' Permanent='yes'>\r
- <File Name='metadataError.html' KeyPath='yes' />\r
- </Component>\r
- <Component Id='native.logger' Guid='{8586D4C7-E237-4C7F-BC79-DE0B06473395}' Permanent='yes'>\r
- <File Name='native.logger.in' KeyPath='yes' />\r
- </Component>\r
- <Component Id='sessionError.html' Guid='{8AA240B3-DC5D-4687-B321-4F5E1BAEA820}' Permanent='yes'>\r
- <File Name='sessionError.html' KeyPath='yes' />\r
- </Component>\r
- <Component Id='shibd.logger' Guid='{D8DA3D14-F779-4691-A883-4995158D2A74}' Permanent='yes'>\r
- <File Name='shibd.logger.in' KeyPath='yes' />\r
- </Component>\r
- </Directory><!-- etc_shibboleth_dist -->\r
- </Directory><!-- etc_shibboleth -->\r
- </Directory><!-- etc_dist -->\r
- <Directory Id='var' Name='var'>\r
- <Directory Id='var_log' Name='log'>\r
- <Directory Id='var_log_shibboleth' Name='shibboleth'>\r
- <Component Id='var_log_shibboleth_folder' Guid='{2BFC84E4-634B-4D70-910A-D5640739C8C8}' KeyPath='yes'>\r
- <CreateFolder />\r
- </Component>\r
- </Directory><!-- var_log_shibboleth -->\r
- </Directory><!-- var_log -->\r
- <Directory Id='var_run' Name='run'>\r
- <Directory Id='var_run_shibboleth' Name='shibboleth' />\r
- </Directory><!-- var_run -->\r
- </Directory><!-- var -->\r
- </DirectoryRef>\r
- <!-- Schemas -->\r
- <DirectoryRef Id='SHARE_DIR'><!-- \opt\shibboleth-sp\share -->\r
- <Directory Id='share_xml' Name='xml'>\r
- <Directory Id='share_xml_shibboleth' Name='shibboleth'\r
- FileSource='$(var.BuildDirectory)\cvs\2.0\cpp-sp\schemas' >\r
- <Component Id='share_xml_shibboleth' Guid='{69FCD385-B31D-43FB-B8A7-6F8D30391661}'>\r
- <File Name='shibboleth-metadata-1.0.xsd' KeyPath='yes' />\r
- <File Name='catalog.xml' Source='$(var.BuildDirectory)\cvs\2.0\cpp-sp\schemas\catalog.xml.in' />\r
- <File Name='shibboleth-2.0-attribute-map.xsd' />\r
- <File Name='shibboleth-2.0-afp.xsd' />\r
- <File Name='shibboleth-2.0-afp-mf-saml.xsd' />\r
- <File Name='WS-Trust.xsd' />\r
- <File Name='shibboleth-2.0-sp-notify.xsd' />\r
- <File Name='shibboleth-2.0-native-sp-config.xsd' />\r
- <File Name='shibboleth-2.0-afp-mf-basic.xsd' />\r
- <File Name='shibboleth-2.0-native-sp-protocols.xsd' />\r
- </Component>\r
- <Component Id='share_xml_shibboleth_xsd' Guid='{8C5B6416-5BE3-4D4D-BF8B-B677365DA58C}'>\r
- <File Name='shibboleth.xsd' KeyPath='yes' />\r
- </Component>\r
- </Directory><!-- share_xml_shibboleth -->\r
- </Directory><!-- share_xml -->\r
- </DirectoryRef><!-- share -->\r
- <!-- Previous version search -->\r
- <Property Id='SHIB_OLDVERSION' Value='none' Secure='yes'>\r
- <!-- 32 bit -->\r
- <RegistrySearch Id='SP2_2_1' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2A19CDBC-E0DA-452C-8B38-1AA9DB4D579F}' \r
- Name='DisplayVersion' Type='raw' />\r
- <RegistrySearch Id='SP2_4_1_32' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A5D2DE8D-2A4A-4D74-98B5-BA448DD4DC39}' \r
- Name='DisplayVersion' Type='raw' />\r
- <RegistrySearch Id='SP2_4_2_32' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8280E58C-D290-42CD-9425-BCC0BA439649}' \r
- Name='DisplayVersion' Type='raw' />\r
- <RegistrySearch Id='SP2_4_3_32' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7B9F4513-3141-4270-B1F5-43A467235B6B}' \r
- Name='DisplayVersion' Type='raw' />\r
- <RegistrySearch Id='SP2_2_0_32' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EAAAD296-3942-4535-B39B-81A57E94FCF7}' \r
- Name='DisplayVersion' Type='raw' />\r
- <RegistrySearch Id='SP2_3_0_32' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{790EE9BA-BB63-43D3-9080-F9AF7AC43114}' \r
- Name='DisplayVersion' Type='raw' />\r
- <RegistrySearch Id='SP2_1_0_32' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2E80BF81-72BC-4E9C-8A79-D7D7EA20AAE4}' \r
- Name='DisplayVersion' Type='raw' />\r
- <RegistrySearch Id='AppReg2' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A9A0D770-C658-4659-BC75-6F8289DDEAA3}' \r
- Name='DisplayVersion' Type='raw' />\r
- <RegistrySearch Id='SP2_4_0_32' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{56028A6A-D5A3-47C5-9494-092E1C840A8F}' \r
- Name='DisplayName' Type='raw' />\r
- <RegistrySearch Id='AppReg1' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6E62498D-162E-45AA-87C7-157308552043}' \r
- Name='DisplayVersion' Type='raw' />\r
- <RegistrySearch Id='SP2_0_0_32' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D62F990B-2A8A-442B-BF85-7FE075B2CE0C}' \r
- Name='DisplayVersion' Type='raw' />\r
- <RegistrySearch Id='SP2_3_1' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E4FA3B6C-6347-4B58-A07D-F9E388B3944B}' \r
- Name='DisplayVersion' Type='raw' />\r
-\r
- <!-- 64 bit \r
- <RegistrySearch Id='SP_2_2_1_64' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5492935D-7D97-42FE-A916-5190C3F8C403}' \r
- Name='DisplayVersion' Type='raw' Win64='yes' />\r
- <RegistrySearch Id='SP2_4_1_64' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3936DF1B-DFF2-4A02-8A2C-8AB893718397}' \r
- Name='DisplayVersion' Type='raw' Win64='yes' />\r
- <RegistrySearch Id='SP2_4_2_64' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1081BC03-B61E-4F3C-ACD9-4C8C7D3E9928}' \r
- Name='DisplayVersion' Type='raw' Win64='yes' />\r
- <RegistrySearch Id='SP_2_4_3_64' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9367CC0C-D76D-4DA8-AF51-0DD144430DD8}' \r
- Name='DisplayVersion' Type='raw' Win64='yes' />\r
- <RegistrySearch Id='SP2_3_0_64' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C7F88000-9E35-4B23-86AD-997F90B04DEE}' \r
- Name='DisplayVersion' Type='raw' Win64='yes' />\r
- <RegistrySearch Id='SP2_4_0_64' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8F0834E5-A3C8-4B7F-B8DF-30BC90331C03}' \r
- Name='DisplayName' Type='raw' Win64='yes' />\r
- <RegistrySearch Id='SP2_1_0_64' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A8C641B8-0924-4264-BEBD-8D20F8B3EB79}' \r
- Name='DisplayVersion' Type='raw' Win64='yes' />\r
- <RegistrySearch Id='SP2_2_0_64' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DDEEB7B2-A639-4513-8437-83564FECAFD3}' \r
- Name='DisplayVersion' Type='raw' Win64='yes' />\r
- <RegistrySearch Id='SP2_3_1_64' Root='HKLM' \r
- Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CFF81891-E7C4-47C3-B173-87CF1B947D05}' \r
- Name='DisplayVersion' Type='raw' Win64='yes' /> -->\r
- </Property>\r
-\r
- <Property Id="SHIBD_PORT" Value="1600" Secure="yes" />\r
-\r
- <Condition Message='Shibboleth requires Windows XP SP2 or later.'>NOT VersionNT OR (VersionNT >= 501)</Condition>\r
- <Condition Message='Shibboleth requires a Windows NT-based operating system.'>NOT Version9X</Condition>\r
- <Condition Message='You must uninstall recent versions of Shibboleth before using this installer. To uninstall, use the "Change" option from the Add/Remove dialog and then Remove. Attempting to uninstall directly causes the installer to hang on most systems.'>SHIB_OLDVERSION = "none"</Condition>\r
-\r
- <!-- The actions to perform after the files have been copied -->\r
- <Binary Id='EditConfigFileSrc' SourceFile='$(var.BuildDirectory)\cvs\2.0\cpp-sp\msi\scripts\shib_edit_config_files.vbs-wix' />\r
- <Binary Id='KeyGenSrc' SourceFile='$(var.BuildDirectory)\cvs\2.0\cpp-sp\msi\scripts\shib_keygen.vbs' />\r
- <CustomAction Id='EditConfigFiles' \r
- BinaryKey='EditConfigFileSrc' VBScriptCall='' Execute='deferred' Impersonate='no' />\r
- <CustomAction Id='SetEditConfigFiles' Property='EditConfigFiles' Value='[INSTALLDIR];@;[SHIBD_PORT];@;[ProgramFilesFolder]' />\r
- <CustomAction Id='KeyGen' BinaryKey='KeyGenSrc' VBScriptCall='' Execute='deferred' Impersonate='no' />\r
- <CustomAction Id='SetKeyGen' Property='KeyGen' Value='[INSTALLDIR]' />\r
- <InstallExecuteSequence>\r
- <Custom Action='SetEditConfigFiles' Before='CostInitialize'>NOT Installed</Custom>\r
- <Custom Action='EditConfigFiles' After='InstallFiles'>NOT Installed</Custom>\r
- <Custom Action='SetKeyGen' Before='CostInitialize'>NOT Installed</Custom>\r
- <Custom Action='KeyGen' After='EditConfigFiles'>NOT Installed</Custom>\r
- </InstallExecuteSequence>\r
-\r
- <!-- Components\r
-\r
- <ComponentRef Id='doc_shibboleth'/>\r
- <ComponentRef Id='etc_shibboleth_perm'/>\r
- <ComponentRef Id='etc_shibboleth_nonperm'/>\r
- <ComponentRef Id='dist_noperm'/>\r
- <ComponentRef Id='accessError.html'/>\r
- <ComponentRef Id='apache.config'/>\r
- <ComponentRef Id='apache2.config'/>\r
- <ComponentRef Id='metadataError.html'/>\r
- <ComponentRef Id='native.logger'/>\r
- <ComponentRef Id='sessionError.html'/>\r
- <ComponentRef Id='shibd.logger'/>\r
- <ComponentRef Id='var_log_shibboleth_folder'/>\r
- <ComponentRef Id='share_xml_shibboleth'/>\r
- <ComponentRef Id='share_xml_shibboleth_xsd'/>\r
- -->\r
-\r
- </Fragment>\r
-</Wix>\r
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Licensed to the University Corporation for Advanced Internet
+ Development, Inc. (UCAID) under one or more contributor license
+ agreements. See the NOTICE file distributed with this work for
+ additional information regarding copyright ownership. The UCAID
+ licenses this file to You under the Apache License, Version 2.0
+ (the 'License'); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an 'AS IS' BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied. See the License for the specific language governing
+ permissions and limitations under the License. -->
+
+<?include Versions.wxi ?>
+
+<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
+ <!--
+ This is where we put all the architecture neutral bits of the
+ Shibboleth install. It turns out that it may not be all the
+ architecture insenstive stuff since some GUIDS may have moved
+ -->
+ <Fragment>
+ <!-- Files First -->
+ <!-- Configuration, licenses and documentation -->
+
+ <DirectoryRef Id='INSTALLDIR'>
+ <Directory Id='doc' Name='doc' >
+ <Directory Id='doc_shibboleth' Name='shibboleth' FileSource='$(var.SPBuildDirectory)\cpp-sp\doc' >
+ <Component Id='main.css' Guid='{EA1366EE-0FD1-42E7-9F3F-C19E6C0D12D6}'>
+ <File KeyPath='yes' Name='main.css' />
+ </Component>
+ <Component Id='CREDITS.txt' Guid='{9A792E0C-61F1-4D08-9672-BE82FFB6B7F1}'>
+ <File KeyPath='yes' Name='CREDITS.txt' />
+ </Component>
+ <Component Id='LICENSE.txt' Guid='{404E7A3C-22C2-4A02-8DC0-7D5C0B25DED1}'>
+ <File KeyPath='yes' Name='LICENSE.txt' />
+ </Component>
+ <Component Id='NOTICE.txt' Guid='{80619251-6754-480A-AFAA-D7398482053C}'>
+ <File KeyPath='yes' Name='NOTICE.txt' />
+ </Component>
+ <Component Id='README.txt' Guid='{2E5A28EE-B70B-402B-8E6F-72E8EC1EEF0D}'>
+ <File KeyPath='yes' Name='README.txt'/>
+ </Component>
+ <Component Id='RELEASE.txt' Guid='{5822AF4E-BE53-4952-B662-6BE2D3913D31}'>
+ <File KeyPath='yes' Name='RELEASE.txt' />
+ </Component>
+ </Directory><!-- doc_shibboleth -->
+ </Directory><!-- doc -->
+ <Directory Id='etc' Name='etc' >
+ <Directory Id='etc_shibboleth' Name='shibboleth' FileSource='$(var.SPBuildDirectory)\cpp-sp\configs'>
+ <Component Id='upgrade.xsl' Guid='{D8D1270C-2F85-4465-8EC0-F5F30A2B3EDD}'>
+ <File KeyPath='yes' Name='upgrade.xsl' />
+ </Component>
+ <Component Id='example_metadata.xml' Guid='{D9852008-249D-405D-8059-5DAD307D2723}' Permanent='yes'>
+ <File KeyPath='yes' Name='example-metadata.xml' />
+ </Component>
+ <Component Id='example_shibboleth2.xml' Guid='{85415A41-2B4E-406F-9CFC-63CFC360A9C7}' Permanent='yes'>
+ <File KeyPath='yes' Name='example-shibboleth2.xml' />
+ </Component>
+ <Component Id='keygen.bat' Guid='{A5BBCB8B-42B3-4402-B66D-66D2971F509F}'>
+ <File KeyPath='yes' Name='keygen.bat'/>
+ </Component>
+ <Component Id='xsltproc.js' Guid='{B87F4A53-3C37-45DA-BE6F-C46790FA7C2D}'>
+ <File KeyPath='yes' Name='xsltproc.js' />
+ </Component>
+ <Directory Id='etc_shibboleth_dist' Name='dist' FileSource='$(var.SPBuildDirectory)\cpp-sp\configs'>
+ <Component Id='apache.config.in' Guid='{AF4EB2B1-2489-4E39-A89E-1CA7AC2B7483}'>
+ <File KeyPath='yes' Name='apache.config.in' />
+ </Component>
+ <Component Id='apache2.config.in' Guid='{85BF72A1-FBA8-4955-ACCF-ABC83B1292C9}'>
+ <File KeyPath='yes' Name='apache2.config.in' />
+ </Component>
+ <Component Id='apache22.config.in' Guid='{6AEBA525-8F52-4D14-BAEE-0292A2E214D1}'>
+ <File KeyPath='yes' Name='apache22.config.in' />
+ </Component>
+ <Component Id='apache24.config.in' Guid='{3562B68A-E54A-4F1B-9F10-BDACB5FFE8CB}'>
+ <File KeyPath='yes' Name='apache24.config.in' />
+ </Component>
+ <Component Id='sslError.html' Guid='{A74BA230-C49F-4151-BBF4-AA80D554D099}'>
+ <File KeyPath='yes' Name='sslError.html' />
+ </Component>
+ <Component Id='bindingTemplate.html' Guid='{F5A3A434-9209-43EC-9314-1F705055DDEC}'>
+ <File KeyPath='yes' Name='bindingTemplate.html' />
+ </Component>
+ <Component Id='globalLogout.html' Guid='{E65F580D-5489-4D79-A8FC-F9FFED666FC1}'>
+ <File KeyPath='yes' Name='globalLogout.html' />
+ </Component>
+ <Component Id='localLogout.html' Guid='{70FA3A47-A950-4074-BC13-C56D94497BD9}'>
+ <File KeyPath='yes' Name='localLogout.html' />
+ </Component>
+ <Component Id='attribute_map.xml' Guid='{878C9456-E65F-4541-A0FA-975379EAC6B6}'>
+ <File KeyPath='yes' Name='attribute-map.xml' />
+ </Component>
+ <Component Id='attribute_policy.xml' Guid='{55B88F7B-E2EA-4B70-87B7-33C566B9F992}'>
+ <File KeyPath='yes' Name='attribute-policy.xml'/>
+ </Component>
+ <Component Id='shibboleth2.xml' Guid='{E520FEDE-3F0E-47C6-9345-47223B82825A}'>
+ <File KeyPath='yes' Name='shibboleth2.xml' Source='$(var.SPBuildDirectory)\cpp-sp\configs\win-shibboleth2.xml' />
+ </Component>
+ <Component Id='console.logger' Guid='{8AC85980-32B9-4EA2-9245-167FB1AB2570}'>
+ <File KeyPath='yes' Name='console.logger' />
+ </Component>
+ <Component Id='discoveryTemplate.html' Guid='{A9573113-4387-46DD-A636-84482AF2C672}'>
+ <File KeyPath='yes' Name='discoveryTemplate.html' />
+ </Component>
+ <Component Id='postTemplate.html' Guid='{5B7111E8-8E04-42F1-AB02-E47AFB7C3D28}'>
+ <File KeyPath='yes' Name='postTemplate.html' />
+ </Component>
+ <Component Id='partialLogout.html' Guid='{E1F6208B-3C70-4632-B84C-C7D141DC4192}'>
+ <File KeyPath='yes' Name='partialLogout.html' />
+ </Component>
+ <Component Id='protocols.xml' Guid='{B226CAAC-2D18-411A-9FBF-3FE237EBEF4D}'>
+ <File KeyPath='yes' Name='protocols.xml' />
+ </Component>
+ <Component Id='security_policy.xml' Guid='{0EC04525-FCCF-4B60-8797-9B0CEC222B8C}'>
+ <File KeyPath='yes' Name='security-policy.xml' />
+ </Component>
+ <Component Id='accessError.html' Guid='{6FAA81A0-A020-4E60-A37D-1EC4D0D5FD06}'>
+ <File KeyPath='yes' Name='accessError.html' />
+ </Component>
+ <Component Id='attrChecker.html' Guid='{BDF4837C-A887-4F1C-841C-DC13DFF8A46E}'>
+ <File KeyPath='yes' Name='attrChecker.html' />
+ </Component>
+ <Component Id='metadataError.html' Guid='{8C46D04A-A943-4FA4-AFCB-9B040306C2C0}'>
+ <File KeyPath='yes' Name='metadataError.html' />
+ </Component>
+ <Component Id='native.logger.in' Guid='{8586D4C7-E237-4C7F-BC79-DE0B06473395}'>
+ <File KeyPath='yes' Name='native.logger.in' />
+ </Component>
+ <Component Id='sessionError.html' Guid='{8AA240B3-DC5D-4687-B321-4F5E1BAEA820}'>
+ <File KeyPath='yes' Name='sessionError.html' />
+ </Component>
+ <Component Id='shibd.logger.in' Guid='{D8DA3D14-F779-4691-A883-4995158D2A74}'>
+ <File KeyPath='yes' Name='shibd.logger.in' />
+ </Component>
+ </Directory><!-- etc_shibboleth_dist -->
+ </Directory><!-- etc_shibboleth -->
+ </Directory><!-- etc_dist -->
+ <Directory Id='var' Name='var'>
+ <Directory Id='var_cache' Name='cache'>
+ <Directory Id='var_cache_shibboleth' Name='shibboleth'>
+ <Component Id='var_cache_shibboleth_folder' Guid='{6C978639-DDCF-40BD-90F8-690B3E05586C}'>
+ <CreateFolder />
+ <!-- Kill off old env variable from pre 2.5 install.
+ Do it here so it is in the correct tables -->
+ <Environment Id='SHIBSP_SCHEMAS' Action='remove' Name='SHIBSP_SCHEMAS'/>
+ </Component>
+ </Directory><!-- var_cache_shibboleth -->
+ </Directory><!-- var_cache -->
+ <Directory Id='var_log' Name='log'>
+ <Directory Id='var_log_shibboleth' Name='shibboleth'>
+ <Component Id='var_log_shibboleth_folder' Guid='{2BFC84E4-634B-4D70-910A-D5640739C8C8}'>
+ <CreateFolder />
+ </Component>
+ </Directory><!-- var_log_shibboleth -->
+ </Directory><!-- var_log -->
+ <Directory Id='var_run' Name='run'>
+ <Directory Id='var_run_shibboleth' Name='shibboleth'>
+ <Component Id='var_run_shibboleth_folder' Guid='{35E176B1-965A-4571-B24E-E0C8E69B0459}'>
+ <CreateFolder />
+ </Component>
+ </Directory><!-- var_run_shibboleth -->
+ </Directory><!-- var_run -->
+ </Directory><!-- var -->
+ </DirectoryRef>
+
+ <!-- Stuff to do the editing and copy of the files -->
+
+ <Binary Id='EditConfigFileSrc' SourceFile='$(var.SPBuildDirectory)\cpp-sp\msi\scripts\shib_edit_config_files.vbs-wix' />
+
+ <CustomAction Id='EditConfigFiles'
+ BinaryKey='EditConfigFileSrc' VBScriptCall='' Execute='deferred' Impersonate='no' />
+ <CustomAction Id='SetEditConfigFiles' Property='EditConfigFiles' Value='[INSTALLDIR];@;[IS64BITINSTALL];@;[INSTALL_32BIT]' />
+
+ <CustomAction Id='KeyGen' BinaryKey='WixCA' DllEntry='CAQuietExec' Execute='deferred' Impersonate='no' />
+ <CustomAction Id='SetKeyGen' Property='KeyGen' Value='"[INSTALLDIR]etc\shibboleth\keygen.bat"' />
+
+ <!-- Stuff to configure IIS. This is a one-shot (first install/last uninstall) -->
+
+ <Binary Id='install_isapi'
+ SourceFile='$(var.SPBuildDirectory)\cpp-sp\msi\scripts\shib_install_isapi_filter.vbs-wix'/>
+ <Binary Id='uninstall_isapi'
+ SourceFile='$(var.SPBuildDirectory)\cpp-sp\msi\scripts\shib_uninstall_isapi_filter.vbs-wix'/>
+
+ <CustomAction Id='SetShibInstallISAPIFilter32' Property='ShibInstallISAPIFilter'
+ Value='[INSTALLDIR];@;[INSTALLDIR]lib\shibboleth\isapi_shib.dll;@;[SHIB_FILE_EXTENSION]' />
+ <CustomAction Id='SetShibInstallISAPIFilter64' Property='ShibInstallISAPIFilter'
+ Value='[INSTALLDIR];@;[INSTALLDIR]lib64\shibboleth\isapi_shib.dll;@;[SHIB_FILE_EXTENSION]' />
+ <CustomAction Id='ShibInstallISAPIFilter' BinaryKey='install_isapi'
+ VBScriptCall='' Execute='deferred' Impersonate='no' />
+
+ <CustomAction Id='SetShibUninstallISAPIFilter' Property='ShibUninstallISAPIFilter' Value='[INSTALLDIR]'/>
+ <CustomAction Id='ShibUninstallISAPIFilter' BinaryKey='uninstall_isapi'
+ VBScriptCall='' Execute='deferred' Impersonate='no' />
+
+ <CustomAction Id='ServicePath64' BinaryKey='WixCA' DllEntry='CAQuietExec' Execute='deferred' Impersonate='no' />
+ <CustomAction Id='SetServicePath64' Property='ServicePath64' Value='"[INSTALLDIR]etc\shibboleth\SetService64.bat"' />
+
+ <!-- Inherit the installation dir if one was set -->
+ <CustomAction Id='InheritInstallDir' Property='INSTALLDIR' Value='[OLD_INSTALLDIR]' />
+ <CustomAction Id='InheritInstallDir64' Property='INSTALLDIR' Value='[OLD_INSTALLDIR64]' />
+
+ <InstallUISequence>
+ <!-- All we need to sequence here is setting up inherited INSTALLDIR -->
+
+ <!-- inherit installationDir if there is something to inherit -->
+ <Custom Action='InheritInstallDir' After='AppSearch'>
+ OLD_INSTALLDIR
+ </Custom>
+ <Custom Action='InheritInstallDir64' After='InheritInstallDir'>
+ (NOT OLD_INSTALLDIR) AND OLD_INSTALLDIR64
+ </Custom>
+ </InstallUISequence>
+
+ <InstallExecuteSequence>
+ <Custom Action='SetEditConfigFiles' Before='CostInitialize'>NOT Installed</Custom>
+ <Custom Action='EditConfigFiles' After='InstallFiles'>NOT Installed</Custom>
+
+ <Custom Action='SetKeyGen' Before='CostInitialize'>NOT Installed</Custom>
+ <!-- Run KeyGen after WriteEnvironmentStrings so the path is set -->
+ <Custom Action='KeyGen' After='WriteEnvironmentStrings'>NOT Installed</Custom>
+
+ <!-- Install IIS if
+ - this is an install
+ - AND we were told to
+ - AND this is NOT an upgrade
+ -->
+ <Custom Action='SetShibInstallISAPIFilter32' Before='CostInitialize'>
+ (NOT Installed) AND (INSTALL_ISAPI_FILTER = "TRUE") AND (NOT ALREADYINSTALLED) AND (INSTALL_32BIT) AND IISMAJORVERSION
+ </Custom>
+ <Custom Action='SetShibInstallISAPIFilter64' Before='CostInitialize'>
+ (NOT Installed) AND (INSTALL_ISAPI_FILTER = "TRUE") AND (NOT ALREADYINSTALLED) AND (NOT INSTALL_32BIT) AND IISMAJORVERSION
+ </Custom>
+ <Custom Action='ShibInstallISAPIFilter' After='InstallFiles'>
+ (NOT Installed) AND (INSTALL_ISAPI_FILTER = "TRUE") AND (NOT ALREADYINSTALLED) AND IISMAJORVERSION
+ </Custom>
+ <ScheduleReboot Before='InstallFinalize'>
+ (NOT Installed) AND (INSTALL_ISAPI_FILTER = "TRUE") AND (NOT ALREADYINSTALLED) AND IISMAJORVERSION
+ </ScheduleReboot>
+
+
+ <!-- (try to) Uninstall IIS if
+ - this is an uninstall
+ - this is not an upgrade
+ -->
+ <Custom Action='SetShibUninstallISAPIFilter'
+ After='CostFinalize'>(REMOVE="ALL") AND (NOT UPGRADINGPRODUCTCODE)</Custom>
+ <Custom Action='ShibUninstallISAPIFilter'
+ Before='RemoveFiles'>(REMOVE="ALL") AND (NOT UPGRADINGPRODUCTCODE)</Custom>
+
+ <!-- set service path to 64 bit one if this is an install and if we were told to -->
+
+ <Custom Action='SetServicePath64' Before='CostInitialize'>
+ (NOT Installed) AND (NOT ALREADYINSTALLED) AND (NOT INSTALL_32BIT) AND (IS64BITINSTALL = "TRUE")
+ </Custom>
+ <Custom Action='ServicePath64' After='InstallServices'>
+ (NOT Installed) AND (NOT ALREADYINSTALLED) AND (NOT INSTALL_32BIT) AND (IS64BITINSTALL = "TRUE")
+ </Custom>
+
+ <!-- Duplicate actions from the UI case -->
+ <Custom Action='InheritInstallDir' After='AppSearch'>
+ OLD_INSTALLDIR
+ </Custom>
+ <Custom Action='InheritInstallDir64' After='InheritInstallDir'>
+ (NOT OLD_INSTALLDIR) AND OLD_INSTALLDIR64
+ </Custom>
+
+ <!-- Do not mess with SCM if this is an upgrade -->
+
+ <InstallServices>(NOT Installed) AND (NOT ALREADYINSTALLED)</InstallServices>
+ <StartServices>(NOT Installed)</StartServices>
+ <DeleteServices>(REMOVE="ALL") AND (NOT UPGRADINGPRODUCTCODE)</DeleteServices>
+
+ </InstallExecuteSequence>
+ </Fragment>
+</Wix>