diff options
Diffstat (limited to 'src/mongo/installer/msi/wxs/LicensingFragment.wxs')
-rw-r--r-- | src/mongo/installer/msi/wxs/LicensingFragment.wxs | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/src/mongo/installer/msi/wxs/LicensingFragment.wxs b/src/mongo/installer/msi/wxs/LicensingFragment.wxs index 26c66b99398..82bf0a136e7 100644 --- a/src/mongo/installer/msi/wxs/LicensingFragment.wxs +++ b/src/mongo/installer/msi/wxs/LicensingFragment.wxs @@ -4,28 +4,26 @@ <DirectoryRef Id="INSTALLLOCATION">
<?if $(var.Edition) = Enterprise ?>
- <Component Id="c_License" Guid="C0EF85E2-95F8-468B-BA95-2F739C63D2D7">
- <File Id="f_License" Name="LICENSE-Enterprise.txt" Source="$(var.EnterpriseBase)\distsrc\LICENSE-Enterprise.txt"
- DiskId ="1" KeyPath="yes" />
- </Component>
- <Component Id="c_Thirdparty" Guid="C45662A7-5C18-4A53-8D14-7C92DB38F13E">
- <File Id="f_Thirdparty" Name="THIRD-PARTY-NOTICES" Source="$(var.EnterpriseBase)\distsrc\THIRD-PARTY-NOTICES.windows"
- DiskId ="1" KeyPath="yes" />
- </Component>
+ <Component Id="c_License" Guid="C0EF85E2-95F8-468B-BA95-2F739C63D2D7">
+ <File Id="f_License" Name="LICENSE-Enterprise.txt" Source="$(var.EnterpriseBase)\distsrc\LICENSE-Enterprise.txt"
+ DiskId ="1" KeyPath="yes" />
+ </Component>
+ <Component Id="c_Thirdparty" Guid="C45662A7-5C18-4A53-8D14-7C92DB38F13E">
+ <File Id="f_Thirdparty" Name="THIRD-PARTY-NOTICES" Source="$(var.EnterpriseBase)\distsrc\THIRD-PARTY-NOTICES.windows"
+ DiskId ="1" KeyPath="yes" />
+ </Component>
+
<?else?>
- <Component Id="c_License" Guid="54C0700D-A294-4F40-A396-04CC606A7299">
- <File Id="f_GnuLicense" Name="GNU-AGPL-3.0" Source="$(var.LicenseSource)\GNU-AGPL-3.0"
- DiskId ="1" KeyPath="yes" />
- </Component>
- <Component Id="c_CommunityLicense" Guid="D512B995-0FDB-4734-B8F4-6C67D6DE1069">
- <File Id="f_LicenseCommunity" Name="LICENSE-Community.txt" Source="$(var.LicenseSource)\LICENSE-Community.txt"
- DiskId ="1" KeyPath="yes" />
- </Component>
- <Component Id="c_Thirdparty" Guid="D6098364-6DE8-48EA-A955-7D1060752132">
- <File Id="f_Thirdparty" Name="THIRD-PARTY-NOTICES" Source="$(var.LicenseSource)\THIRD-PARTY-NOTICES"
- DiskId ="1" />
- </Component>
+ <Component Id="c_License" Guid="D512B995-0FDB-4734-B8F4-6C67D6DE1069">
+ <File Id="f_LicenseCommunity" Name="LICENSE-Community.txt" Source="$(var.LicenseSource)\LICENSE-Community.txt"
+ DiskId ="1" KeyPath="yes" />
+ </Component>
+ <Component Id="c_Thirdparty" Guid="D6098364-6DE8-48EA-A955-7D1060752132">
+ <File Id="f_Thirdparty" Name="THIRD-PARTY-NOTICES" Source="$(var.LicenseSource)\THIRD-PARTY-NOTICES"
+ DiskId ="1" />
+ </Component>
<?endif?>
+
<Component Id="c_Readme" Guid="12C17EA1-075C-4A1D-9554-F3B5A2A94874">
<File Id="f_Readme" Name="README" Source="$(var.LicenseSource)\README"
DiskId ="1" />
@@ -48,9 +46,6 @@ <ComponentRef Id="c_License"/>
<ComponentRef Id="c_InstallKey"/>
<ComponentRef Id="c_MPL2"/>
- <?if $(var.Edition) != Enterprise ?>
- <ComponentRef Id="c_CommunityLicense"/>
- <?endif?>
</ComponentGroup>
<?if $(var.Edition) = Enterprise ?>
|