summaryrefslogtreecommitdiff
path: root/src/mongo/installer
diff options
context:
space:
mode:
authorSridhar Nanjundeswaran <sridhar@10gen.com>2013-12-04 10:01:52 -0800
committerSridhar Nanjundeswaran <sridhar@10gen.com>2013-12-05 10:01:10 -0800
commit08fda16ab279ed379161b1e75c64d5462e98815e (patch)
treef8a3c89364ad557e67c09925ded17596eaabfa02 /src/mongo/installer
parentea9033b729b3ca3f3158fd83094e1b7dd96a2b2f (diff)
downloadmongo-08fda16ab279ed379161b1e75c64d5462e98815e.tar.gz
SERVER-10900 - When building MSI for enterprise edition use third party notices file from enterprise repository
Diffstat (limited to 'src/mongo/installer')
-rw-r--r--src/mongo/installer/msi/wxs/LicensingFragment.wxs22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mongo/installer/msi/wxs/LicensingFragment.wxs b/src/mongo/installer/msi/wxs/LicensingFragment.wxs
index c876377bdeb..53ab077c839 100644
--- a/src/mongo/installer/msi/wxs/LicensingFragment.wxs
+++ b/src/mongo/installer/msi/wxs/LicensingFragment.wxs
@@ -4,8 +4,12 @@
<DirectoryRef Id="INSTALLLOCATION">
<?if $(var.Edition) = Enterprise ?>
- <Component Id="c_EnterpriseLicense" Guid="C0EF85E2-95F8-468B-BA95-2F739C63D2D7">
- <File Id="f_EnterpriseLicense" Name="LICENSE.txt" Source="$(var.EnterpriseBase)\distsrc\LICENSE.txt"
+ <Component Id="c_License" Guid="C0EF85E2-95F8-468B-BA95-2F739C63D2D7">
+ <File Id="f_License" Name="LICENSE.txt" Source="$(var.EnterpriseBase)\distsrc\LICENSE.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?>
@@ -13,25 +17,21 @@
<File Id="f_GnuLicense" Name="GNU-AGPL-3.0" Source="$(var.LicenseSource)\GNU-AGPL-3.0"
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" />
</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>
</DirectoryRef>
<ComponentGroup Id="cg_License">
<ComponentRef Id="c_Readme"/>
<ComponentRef Id="c_Thirdparty"/>
- <?if $(var.Edition) = Enterprise ?>
- <ComponentRef Id="c_EnterpriseLicense"/>
- <?else?>
- <ComponentRef Id="c_License"/>
- <?endif?>
+ <ComponentRef Id="c_License"/>
</ComponentGroup>
<?if $(var.Edition) = Enterprise ?>