MongoDB 3.6.2 2008R2 Plus Not Installing

2019-01-17 15:05发布

问题:

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?

回答1:

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



回答2:

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



回答3:

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



回答4:

I tried the suggestion above but none works for me. Instead, I ended up downloading the archive version and extract that and place that in the folder structure below (on Windows 10, 64 bit) C:\Program Files\MongoDB\Server\3.6.5\

Then I configured the system environment path and it works fine. As this is for testing, it would be fine for now.



回答5:

I unselected ".NET Framework 3.5 (includes .NET 2.0 and 3.0)" in the Windows Features (Turn Windows features on or off). After restarting mongodb and Compass got installed successfully.



回答6:

I tried to install MongoDB Enterprise 2008R2 for Windows 10 64-bit and had the exact same problem. I already had Compass installed, so here is what I did:

  1. Uninstall Compass

  2. Select install when needed (this will get you to the next page where you're prompted to install Compass or not. If you choose Install Everything you WON'T get the option to NOT install Compass (the other comments here might be earlier versions of Mongo... I'm not sure).

  3. Install

  4. Now re-install Compass.

That fixed it for me.