Merge commit '2.5.0' into moonshot-packaging-fixes
[shibboleth/sp.git] / msi / WiX / MergeModules / OpenSAML-schemas.wxs
diff --git a/msi/WiX/MergeModules/OpenSAML-schemas.wxs b/msi/WiX/MergeModules/OpenSAML-schemas.wxs
new file mode 100644 (file)
index 0000000..b97ae4f
--- /dev/null
@@ -0,0 +1,247 @@
+<?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
+<?include ..\Versions.wxi ?>\r
+\r
+<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>\r
+\r
+  <Module Id='OpenSAMLSchemasMergeModule' Language='1033' Version='$(var.OpenSAMLVersion)'>\r
+    <Package Id='{8567178A-EEA1-4798-9D20-C2E2F7247D0F}' Description='Merge Module for OpenSAML schemas'\r
+             Comments='This module is built by the Shibboleth Consortium'\r
+             Manufacturer='Shibboleth Consortium' InstallerVersion='300' Platform='x86'/>\r
+\r
+    <Directory Id='TARGETDIR' Name='SourceDir'>\r
+      <Directory Id='CommonAppDataFolder' Name='CommonFiles' >\r
+        <Directory Id='Shibboleth' Name='Shibboleth' >\r
+          <Directory Id='SP' Name='SP' >\r
+            <Directory Id='xml' Name='xml' >\r
+              <Directory Id='opensaml' Name='opensaml' FileSource='$(var.SPBuildDirectory)\cpp-opensaml\schemas\' >\r
+                <Component Id='assertion_01.xsd' Guid='{3BB83A55-9212-40F4-86E1-D95CEDAE5501}'>\r
+                  <File KeyPath='yes' Id='assertion_01.xsd' Name='cs-sstc-schema-assertion-01.xsd'/>\r
+                </Component>\r
+                <Component Id='assertion_1.1.xsd' Guid='{D01E45CD-41D8-4029-AB27-103D36734D07}'>\r
+                  <File KeyPath='yes' Id='assertion_1.1.xsd' Name='cs-sstc-schema-assertion-1.1.xsd' />\r
+                </Component>\r
+                <Component Id='protocol_01.xsd' Guid='{333BABD7-1EDF-4F7C-85A7-4FDD804E57D3}'>\r
+                  <File KeyPath='yes' Id='protocol_01.xsd' Name='cs-sstc-schema-protocol-01.xsd' />\r
+                </Component>\r
+                <Component Id='protocol_1.1.xsd' Guid='{CB8A87E7-A8FE-44E7-AE2F-D5C41F66A1C0}'>\r
+                  <File KeyPath='yes' Id='protocol_1.1.xsd' Name='cs-sstc-schema-protocol-1.1.xsd' />\r
+                </Component>\r
+                <Component Id='saml10_catalog.xml' Guid='{7E08BA59-AC67-4FEF-A3C4-DA01F59E16E0}'>\r
+                  <File KeyPath='yes' Name='saml10-catalog.xml' Source='$(var.SPBuildDirectory)\cpp-opensaml\schemas\saml10-catalog.xml.in' />\r
+                </Component>\r
+                <Component Id='saml11_catalog.xml' Guid='{4D599268-82B3-4C69-BB24-8E3D0FC79BE1}'>\r
+                  <File KeyPath='yes' Name='saml11-catalog.xml' Source='$(var.SPBuildDirectory)\cpp-opensaml\schemas\saml11-catalog.xml.in' />\r
+                </Component>\r
+                <Component Id='saml20_catalog.xml' Guid='{2A9829FE-518F-478B-B116-5B6A3087A6C9}'>\r
+                  <File KeyPath='yes' Name='saml20-catalog.xml' Source='$(var.SPBuildDirectory)\cpp-opensaml\schemas\saml20-catalog.xml.in' />\r
+                </Component>\r
+                <Component Id='assertion_2.0.xsd' Guid='{6A785715-2E2E-4DFC-948B-94711E1DC355}'>\r
+                  <File KeyPath='yes' Id='assertion_2.0.xsd' Name='saml-schema-assertion-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='authn_context_2.0.xsd' Guid='{7EC7E7A6-464C-4137-8E20-DDE9BD4F7706}'>\r
+                  <File KeyPath='yes' Id='authn_context_2.0.xsd' Name='saml-schema-authn-context-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_auth_telephony_2.0.xsd' Guid='{81BDD012-6863-45DF-86CB-138B627D7D17}'>\r
+                  <File KeyPath='yes' Id='ac_auth_telephony_2.0.xsd' Name='saml-schema-authn-context-auth-telephony-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_ip_2.0.xsd' Guid='{A47F07CA-77B4-40E5-A8FA-955C626E6E38}'>\r
+                  <File KeyPath='yes' Id='ac_ip_2.0.xsd' Name='saml-schema-authn-context-ip-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_ippword_2.0.xsd' Guid='{9052E8FD-D9B5-42CB-836A-C1A825DA6B3F}'>\r
+                  <File KeyPath='yes' Id='ac_ippword_2.0.xsd' Name='saml-schema-authn-context-ippword-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_kerberos_2.0.xsd' Guid='{03D7CD55-AF85-4B1A-A09F-991D5BCC3C71}'>\r
+                  <File KeyPath='yes' Id='ac_kerberos_2.0.xsd' Name='saml-schema-authn-context-kerberos-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_mobileonefactor_reg_2.0.xsd' Guid='{B934A845-5027-4B80-9C8B-DE6BA42E1D1C}'>\r
+                  <File KeyPath='yes' Id='ac_mobileonefactor_reg_2.0.xsd' Name='saml-schema-authn-context-mobileonefactor-reg-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_mobileonefactor_unreg_2.0.xsd' Guid='{B2DCED0E-E97E-448E-83D1-6CDFC8711EA9}'>\r
+                  <File KeyPath='yes' Id='ac_mobileonefactor_unreg_2.0.xsd' Name='saml-schema-authn-context-mobileonefactor-unreg-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_mobiletwofactor_reg_2.0.xsd' Guid='{70C79D92-D7AF-49FB-A332-72F431582C6A}'>\r
+                  <File KeyPath='yes' Id='ac_mobiletwofactor_reg_2.0.xsd' Name='saml-schema-authn-context-mobiletwofactor-reg-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_mobiletwofactor_unreg_2.0.xsd' Guid='{195F5D51-1FD6-410A-9A48-9C4AAF1202FB}'>\r
+                  <File KeyPath='yes' Id='ac_mobiletwofactor_unreg_2.0.xsd' Name='saml-schema-authn-context-mobiletwofactor-unreg-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_nomad_telephony_2.0.xsd' Guid='{13686CA3-58F4-4176-9297-3E797D075A6E}'>\r
+                  <File KeyPath='yes' Id='ac_nomad_telephony_2.0.xsd' Name='saml-schema-authn-context-nomad-telephony-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_personal_telephony_2.0.xsd' Guid='{10BFBEF9-B458-4CF2-930A-404D1BDCF4B8}'>\r
+                  <File KeyPath='yes' Id='ac_personal_telephony_2.0.xsd' Name='saml-schema-authn-context-personal-telephony-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_pgp_2.0.xsd' Guid='{4514C6C6-0DFB-4A4B-BD93-36D856937199}'>\r
+                  <File KeyPath='yes' Id='ac_pgp_2.0.xsd' Name='saml-schema-authn-context-pgp-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_ppt_2.0.xsd' Guid='{8AB6A86E-DEDC-49C3-B1BB-92DAFBE49351}'>\r
+                  <File KeyPath='yes' Id='ac_ppt_2.0.xsd' Name='saml-schema-authn-context-ppt-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_pword_2.0.xsd' Guid='{77793E85-3003-4D75-862E-7164AB576D6D}'>\r
+                  <File KeyPath='yes' Id='ac_pword_2.0.xsd' Name='saml-schema-authn-context-pword-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_session_2.0.xsd' Guid='{D426514A-1A01-4B70-9375-C5240E9267FB}'>\r
+                  <File KeyPath='yes' Id='ac_session_2.0.xsd' Name='saml-schema-authn-context-session-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_smartcard_2.0.xsd' Guid='{3A57FE98-237B-4993-ACCE-6BC5ECAF0E54}'>\r
+                  <File KeyPath='yes' Id='ac_smartcard_2.0.xsd' Name='saml-schema-authn-context-smartcard-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_smartcardpki_2.0.xsd' Guid='{CBAE6C22-E0B1-42E5-BF3F-AAD55EAA6193}'>\r
+                  <File KeyPath='yes' Id='ac_smartcardpki_2.0.xsd' Name='saml-schema-authn-context-smartcardpki-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_softwarepki_2.0.xsd' Guid='{BB0D6BE0-9C42-4EDA-88B6-C791809B5092}'>\r
+                  <File KeyPath='yes' Id='ac_softwarepki_2.0.xsd' Name='saml-schema-authn-context-softwarepki-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_spki_2.0.xsd' Guid='{76840C0F-8991-4B6D-A32F-6053B93B60B6}'>\r
+                  <File KeyPath='yes' Id='ac_spki_2.0.xsd' Name='saml-schema-authn-context-spki-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_srp_2.0.xsd' Guid='{C07DFE86-DCCA-4289-BEB8-D8B7A146EBBB}'>\r
+                  <File KeyPath='yes' Id='ac_srp_2.0.xsd' Name='saml-schema-authn-context-srp-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_sslcert_2.0.xsd' Guid='{72BE1F0B-E2B5-40D3-A086-24D0011E718C}'>\r
+                  <File KeyPath='yes' Id='ac_sslcert_2.0.xsd' Name='saml-schema-authn-context-sslcert-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_telephony_2.0.xsd' Guid='{BDD9E146-8AEB-4AE9-A99F-6B2072587A4C}'>\r
+                  <File KeyPath='yes' Id='ac_telephony_2.0.xsd' Name='saml-schema-authn-context-telephony-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_timesync_2.0.xsd' Guid='{8220805B-A2D3-4952-BF20-AA763B77C243}'>\r
+                  <File KeyPath='yes' Id='ac_timesync_2.0.xsd' Name='saml-schema-authn-context-timesync-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_types_2.0.xsd' Guid='{E0ED6CFB-C41E-4E8D-AC78-ADBC22A28893}'>\r
+                  <File KeyPath='yes' Id='ac_types_2.0.xsd' Name='saml-schema-authn-context-types-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_x509_2.0.xsd' Guid='{514D0A27-C204-43BC-A8B1-47E51C4E4FE2}'>\r
+                  <File KeyPath='yes' Id='ac_x509_2.0.xsd' Name='saml-schema-authn-context-x509-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ac_xmldsig_2.0.xsd' Guid='{8BD5727A-0DE4-4739-8CCA-CC0BEA03D7B1}'>\r
+                  <File KeyPath='yes' Id='ac_xmldsig_2.0.xsd' Name='saml-schema-authn-context-xmldsig-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='dce_2.0.xsd' Guid='{669A1D43-AB09-4BCD-A989-B42DE5D50EB1}'>\r
+                  <File KeyPath='yes' Id='dce_2.0.xsd' Name='saml-schema-dce-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='ecp_2.0.xsd' Guid='{D4E12A26-39B7-407B-9177-D67799CEF333}'>\r
+                  <File KeyPath='yes' Id='ecp_2.0.xsd' Name='saml-schema-ecp-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='metadata_2.0.xsd' Guid='{02823006-3999-4F7B-979E-4BE0C32B6109}'>\r
+                  <File KeyPath='yes' Id='metadata_2.0.xsd' Name='saml-schema-metadata-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='protocol_2.0.xsd' Guid='{20E92615-EA8B-482C-80A2-6EEB103DA945}'>\r
+                  <File KeyPath='yes' Id='protocol_2.0.xsd' Name='saml-schema-protocol-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='x500_2.0.xsd' Guid='{1C737F49-4B66-47FD-A1CA-754342DFF868}'>\r
+                  <File KeyPath='yes' Id='x500_2.0.xsd' Name='saml-schema-x500-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='xacml_2.0.xsd' Guid='{36D94CC5-8DB9-4986-B7A2-D71303966307}'>\r
+                  <File KeyPath='yes' Id='xacml_2.0.xsd' Name='saml-schema-xacml-2.0.xsd' />\r
+                </Component>\r
+                <Component Id='metadata_attr.xsd' Guid='{87188F0C-D1CF-4990-91E7-A10D23EDDFE7}'>\r
+                  <File KeyPath='yes' Id='metadata_attr.xsd' Name='sstc-metadata-attr.xsd' />\r
+                </Component>\r
+                <Component Id='request_initiation.xsd' Guid='{F824BCC5-467B-4AEB-B2CA-BE8F465B34F5}'>\r
+                  <File KeyPath='yes' Id='request_initiation.xsd' Name='sstc-request-initiation.xsd' />\r
+                </Component>\r
+                <Component Id='saml1x_metadata.xsd' Guid='{1F5DD1A1-A7EB-44C7-9FC5-A15E2263804F}'>\r
+                  <File KeyPath='yes' Id='saml1x_metadata.xsd' Name='sstc-saml1x-metadata.xsd' />\r
+                </Component>\r
+                <Component Id='attribute_ext.xsd' Guid='{E81FA4D6-C58D-4D04-8167-A4BB9E3675E9}'>\r
+                  <File KeyPath='yes' Id='attribute_ext.xsd' Name='sstc-saml-attribute-ext.xsd' />\r
+                </Component>\r
+                <Component Id='delegation.xsd' Guid='{48AA3869-C62B-47B2-8E1E-80BE6AB056BE}'>\r
+                  <File KeyPath='yes' Id='delegation.xsd' Name='sstc-saml-delegation.xsd' />\r
+                </Component>\r
+                <Component Id='idp_discovery.xsd' Guid='{9A16BE14-D5AA-40F3-8416-709B7C96E8C6}'>\r
+                  <File KeyPath='yes' Id='idp_discovery.xsd' Name='sstc-saml-idp-discovery.xsd' />\r
+                </Component>\r
+                <Component Id='metadata_algsupport_v1.0.xsd' Guid='{97489B89-9651-4131-82A7-0B9F638FD25C}'>\r
+                  <File KeyPath='yes' Id='metadata_algsupport_v1.0.xsd' Name='sstc-saml-metadata-algsupport-v1.0.xsd' />\r
+                </Component>\r
+                <Component Id='metadata_ext_query.xsd' Guid='{5F1380C9-7327-4D11-BC9E-CD59CC362B21}'>\r
+                  <File KeyPath='yes' Id='metadata_ext_query.xsd' Name='sstc-saml-metadata-ext-query.xsd' />\r
+                </Component>\r
+                <Component Id='metadata_ui_v1.0.xsd' Guid='{C203B8C4-0056-46F6-96DE-E831933437D3}'>\r
+                  <File KeyPath='yes' Id='metadata_ui_v1.0.xsd' Name='sstc-saml-metadata-ui-v1.0.xsd' />\r
+                </Component>\r
+                <Component Id='protocol_ext_thirdparty.xsd' Guid='{EEFDA0C0-F1F4-4C09-82CD-873F037A4296}'>\r
+                  <File KeyPath='yes' Id='protocol_ext_thirdparty.xsd' Name='sstc-saml-protocol-ext-thirdparty.xsd' />\r
+                </Component>\r
+                <Component Id='async_slo_v1.0.xsd' Guid='{C3209C47-3F6D-4C20-B004-C85DDC4AD7E7}'>\r
+                  <File KeyPath='yes' Id='async_slo_v1.0.xsd' Name='saml-async-slo-v1.0.xsd' />\r
+                </Component>\r
+              </Directory><!-- opensaml -->\r
+              <Directory Id='xmltooling' Name='xmltooling' FileSource='$(var.SPBuildDirectory)\cpp-xmltooling\schemas\' >\r
+                <Component Id='xenc_schema.xsd' Guid='{2197D645-3AA3-46F1-B250-0F964B901A94}'>\r
+                  <File KeyPath='yes' Name='xenc-schema.xsd' />\r
+                </Component>\r
+                <Component Id='xenc11_schema.xsd' Guid='{DC61F4FB-03BB-4ED4-9552-6BE33CE3DF80}'>\r
+                  <File KeyPath='yes' Name='xenc11-schema.xsd' />\r
+                </Component>\r
+                <Component Id='xmldsig.xsd' Guid='{72871706-1D8F-4695-B573-AF2EB0635281}'>\r
+                  <File KeyPath='yes' Name='xmldsig-core-schema.xsd' />\r
+                </Component>\r
+                <Component Id='xmldsig11.xsd' Guid='{A0E6F269-77F0-47E6-B59A-887977ECE06A}'>\r
+                  <File KeyPath='yes' Name='xmldsig11-schema.xsd' />\r
+                </Component>\r
+                <Component Id='soap_envelope.xsd' Guid='{A2B2255D-344E-44E9-B894-5AB3416D8CBC}'>\r
+                  <File KeyPath='yes' Name='soap-envelope.xsd' />\r
+                </Component>\r
+                <Component Id='xml.xsd' Guid='{E58D7865-6B4D-4CDB-859F-0A69AD1E20BF}'>\r
+                  <File KeyPath='yes' Name='xml.xsd' />\r
+                </Component>\r
+                <Component Id='xmltooling.xsd' Guid='{E99A5CCE-C0A9-483C-BB02-A147E0C1A609}'>\r
+                  <File KeyPath='yes' Name='xmltooling.xsd' />\r
+                </Component>\r
+                <Component Id='catalog.xml' Guid='{CD84FD26-CCB0-4FC6-9B51-E72CC23046D8}'>\r
+                  <File KeyPath='yes' Name='catalog.xml' Source='$(var.SPBuildDirectory)\cpp-xmltooling\schemas\catalog.xml.in' />\r
+                </Component>\r
+              </Directory><!-- xmltooling -->\r
+            </Directory><!-- xml -->\r
+          </Directory><!-- SP -->\r
+        </Directory><!-- Shibboleth -->\r
+      </Directory><!-- CommonAppDataFolder -->\r
+    </Directory><!-- TargetDir -->\r
+    <Binary Id='EditCatalogFileSrc' SourceFile='$(var.SPBuildDirectory)\cpp-sp\msi\scripts\shib_edit_catalog.vbs' />\r
+    <CustomAction Id='EditXMLToolingCatalog' BinaryKey='EditCatalogFileSrc' VBScriptCall=''\r
+      Execute='deferred' Impersonate='no' />\r
+    <CustomAction Id='EditCatalogSAML10' BinaryKey='EditCatalogFileSrc' VBScriptCall=''\r
+      Execute='deferred' Impersonate='no' />\r
+    <CustomAction Id='EditCatalogSAML11' BinaryKey='EditCatalogFileSrc' VBScriptCall=''\r
+      Execute='deferred' Impersonate='no' />\r
+    <CustomAction Id='EditCatalogSAML20' BinaryKey='EditCatalogFileSrc' VBScriptCall=''\r
+      Execute='deferred' Impersonate='no' />\r
+    <CustomAction Id='SetEditXMLToolingCatalog' Property='EditXMLToolingCatalog'\r
+      Value='[CommonAppDataFolder]Shibboleth\SP\xml\xmltooling\;@;catalog.xml' />\r
+    <CustomAction Id='SetEditCatalogSAML10' Property='EditCatalogSAML10'\r
+      Value='[CommonAppDataFolder]Shibboleth\SP\xml\opensaml\;@;saml10-catalog.xml' />\r
+    <CustomAction Id='SetEditCatalogSAML11' Property='EditCatalogSAML11'\r
+      Value='[CommonAppDataFolder]Shibboleth\SP\xml\opensaml\;@;saml11-catalog.xml' />\r
+    <CustomAction Id='SetEditCatalogSAML20' Property='EditCatalogSAML20'\r
+      Value='[CommonAppDataFolder]Shibboleth\SP\xml\opensaml\;@;saml20-catalog.xml' />\r
+    <InstallExecuteSequence>\r
+      <Custom Action='SetEditXMLToolingCatalog' Before='CostInitialize'>NOT Installed</Custom>\r
+      <Custom Action='SetEditCatalogSAML10' Before='CostInitialize'>NOT Installed</Custom>\r
+      <Custom Action='SetEditCatalogSAML11' Before='CostInitialize'>NOT Installed</Custom>\r
+      <Custom Action='SetEditCatalogSAML20' Before='CostInitialize'>NOT Installed</Custom>\r
+      <Custom Action='EditXMLToolingCatalog' After='InstallFiles'>NOT Installed</Custom>\r
+      <Custom Action='EditCatalogSAML10' After='InstallFiles'>NOT Installed</Custom>\r
+      <Custom Action='EditCatalogSAML11' After='InstallFiles'>NOT Installed</Custom>\r
+      <Custom Action='EditCatalogSAML20' After='InstallFiles'>NOT Installed</Custom>\r
+    </InstallExecuteSequence>\r
+\r
+  </Module>\r
+</Wix>\r