Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MongoDB 3.6.2 2008R2 Plus Not Installing

I'm trying to install MongoDb 3.6.2 2008R2 plus on my 64bit Window 10 (build no 1709) but the setup after some time says "setup wizard ended prematurely because of an error.your system has not been modified.To. Install this program at a later time run setup wizard again.click finish button to exit the setup." Any one know any fix regarding this issue?

like image 378
Azhar Syed Avatar asked Jan 27 '18 09:01

Azhar Syed


People also ask

Why is MongoDB not installing on Windows 7?

This is due to Mongo Compass which is selected(default) during installation that does not work for Windows 7 64 bit. Please cancel the installation remove the mongodb folder and start reinstalling. During reinstall, uncheck the mongo compass (you have install it manually for Win 7 users).

Can I install MongoDB on Windows 10?

Run MongoDB Community Edition as a Windows ServiceStarting in version 4.0, you can install and configure MongoDB as a Windows Service during installation. The MongoDB service starts upon successful installation. Configure the MongoDB instance with the configuration file <install directory>\bin\mongod.


3 Answers

I solved this problem by declining to install Compass together with Mongo in the installer wizard.

like image 82
Serhio g. Lazin Avatar answered Oct 17 '22 06:10

Serhio g. Lazin


I have the same issue. I solved it by choosing the following way:-

  1. Choose Custom Installation

  2. Uncheck Compass Installation with MongoDb

  3. Finish the Setup

  4. Again start setup and click on change the installation

  5. Tick Compass Installation with MongoDb

  6. Finish the Setup

like image 20
Avinash Kumar Yadav Avatar answered Oct 17 '22 06:10

Avinash Kumar Yadav


I had same problem and solved it by removing these folders that created on previous setup and running the setup again:

  1. %USERPROFILE%\AppData\Roaming\MongoDB Compass Community
  2. %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\MongoDB Inc
  3. %USERPROFILE%\AppData\Local\MongoDBCompassCommunity

and some files like this in Prefetch folder:

C:\Windows\Prefetch\MONGODBCOMPASSCOMMUNITY.EXE-0044164A.pf

like image 43
Ali Akrami Avatar answered Oct 17 '22 04:10

Ali Akrami