Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39025

Windows MSI unattended installation missing mongod.exe with ADDLOCAL

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.10, 4.0.10
    • Affects Version/s: 4.0.5
    • Component/s: Packaging
    • None
    • Fully Compatible
    • Windows
    • v4.0
    • Security 2019-03-11, Dev Tools 2019-02-11, Dev Tools 2019-02-25, Security 2019-03-25, Security 2019-04-08

      The installation tutorial for unattended windows installation: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows-unattended/#install-mdb-edition states:

      To install specific MongoDB component sets, you can specify them in the ADDLOCAL argument using a comma-separated list including one or more of the following component sets:

      with Server as the component that includes mongod.exe binary.

      After downloading mongodb-win32-x86_64-2008plus-ssl-4.0.5-signed.msi, executing this via msiexec:

      msiexec /qb /i mongodb-win32-x86_64-2008plus-ssl-4.0.5-signed.msi ADDLOCAL="Server"
      

      Resulting in missing mongod.exe in C:\Program Files\MongoDB\Server\4.0\bin

      C:\Program Files\MongoDB\Server\4.0>dir bin
      Volume in drive C has no label.
      Volume Serial Number is 544D-E427
       
      Directory of C:\Program Files\MongoDB\Server\4.0\bin
       
      16/01/2019  02:38 PM    <DIR>          .
      16/01/2019  02:38 PM    <DIR>          ..
      03/04/2018  06:58 PM         2,462,720 libeay32.dll
      16/01/2019  02:38 PM               616 mongod.cfg
      19/12/2018  07:20 PM       357,355,520 mongod.pdb
      03/04/2018  06:58 PM           357,888 ssleay32.dll
                     4 File(s)    360,176,744 bytes
                     2 Dir(s)  38,985,547,776 bytes free
      

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            wan.bachtiar@mongodb.com Wan Bachtiar
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: