I earlier had this issue while installing. Checked with other threads too, but could not able to find a proper solution in my case.

Uncheck the Install MongoDB Compass option in the setup wizard. Worked for me.

For Windows 10, you will have to install MongoDB Compass separately. After install MongoDB, then download MongoDB Compass separately from here. For MongoDB Compass, make sure to select the correct Version (note: the Community Edition version is not the default version) and Platform to download. It should install successfully.

ref : https://stackoverflow.com/questions/49721421/mongodb-installation-error-mongodb-setup-wizard-ended-prematurely

+ Recent posts