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 erro
I have the same issue. I solved it by choosing the following way:-
Choose Custom Installation
Uncheck Compass Installation with MongoDb
Finish the Setup
Again start setup and click on change the installation
Tick Compass Installation with MongoDb
Finish the Setup
I had same problem and solved it by removing these folders that created on previous setup and running the setup again:
and some files like this in Prefetch folder:
C:\Windows\Prefetch\MONGODBCOMPASSCOMMUNITY.EXE-0044164A.pf
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.
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:
Uninstall Compass
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).
Install
Now re-install Compass.
That fixed it for me.
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.
I solved this problem by declining to install Compass together with Mongo in the installer wizard.