Permalink
Browse files

SERVER-12030 Have MSI put SNMP docs in snmp directory

  • Loading branch information...
1 parent d908a87 commit 56e74d27c1a50ff945266e63a34643610fa3c46c @ehershey ehershey committed Feb 26, 2014
Showing with 10 additions and 0 deletions.
  1. +9 −0 src/mongo/installer/msi/wxs/BinaryFragment.wxs
  2. +1 −0 src/mongo/installer/msi/wxs/Installer_64.wxs
@@ -87,6 +87,14 @@
<File Id="f_snmpPdb" Name="netsnmp.pdb" Source="$(var.SnmpSource)\netsnmp.pdb"
DiskId="1" KeyPath="yes" />
</Component>
+ <?endif ?>
+ </DirectoryRef>
+ <DirectoryRef Id="SNMP">
+ <?if $(var.Edition) = Enterprise ?>
+ <Component Id="c_snmpReadme" Guid="B968FBAC-1813-4039-9FED-A607A0E4CBB3">
+ <File Id="f_snmpReadme" Name="README-snmp.txt" Source="$(var.EnterpriseBase)\docs\README-snmp.txt"
+ DiskId="1" KeyPath="yes" />
+ </Component>
<Component Id="c_snmpConfMaster" Guid="0C8CAA6C-1473-4B14-9EE5-AF5A35B1DD8D">
<File Id="f_snmpConfMaster" Name="mongod.conf.master" Source="$(var.EnterpriseBase)\docs\mongod.conf.master"
DiskId="1" KeyPath="yes" />
@@ -124,6 +132,7 @@
<ComponentGroupRef Id="cg_EnterpriseBase" />
<ComponentRef Id="c_snmp" />
<ComponentRef Id="c_snmpPdb" />
+ <ComponentRef Id="c_snmpReadme" />
<ComponentRef Id="c_snmpConfMaster" />
<ComponentRef Id="c_snmpConfSubagent" />
<ComponentRef Id="c_snmpMongodMib" />
@@ -32,6 +32,7 @@
<Directory Id="ProgramFiles64Folder">
<Directory Id="INSTALLLOCATION" Name="!(wix.InstallFolder)">
<Directory Id="BIN" Name="bin" />
+ <Directory Id="SNMP" Name="snmp" />
</Directory>
</Directory>
</Directory>

0 comments on commit 56e74d2

Please sign in to comment.