diff options
author | Ramon Fernandez <ramon@mongodb.com> | 2018-06-20 16:41:50 -0400 |
---|---|---|
committer | Ramon Fernandez <ramon@mongodb.com> | 2018-06-20 16:43:03 -0400 |
commit | 203407dbf6914d869ed32ba8d1dc45f7936c3338 (patch) | |
tree | aedb12c0af60b6d62cea6eb38162999651a71646 /src/mongo/installer | |
parent | 1a18c8f8aec34b43553fe4d7961350d1a7a6ada4 (diff) | |
download | mongo-203407dbf6914d869ed32ba8d1dc45f7936c3338.tar.gz |
SERVER-35665 Fix Community license on Windows
Reformat the license displayed at install time so it displays nicely in the
installer window; make sure the license file is also installed on disk.
Diffstat (limited to 'src/mongo/installer')
-rw-r--r-- | src/mongo/installer/msi/wxs/LicensingFragment.wxs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/installer/msi/wxs/LicensingFragment.wxs b/src/mongo/installer/msi/wxs/LicensingFragment.wxs index 66efb17ef43..26c66b99398 100644 --- a/src/mongo/installer/msi/wxs/LicensingFragment.wxs +++ b/src/mongo/installer/msi/wxs/LicensingFragment.wxs @@ -17,6 +17,10 @@ <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" />
@@ -44,6 +48,9 @@ <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 ?>
|