Error installing mongodb in windows

Asked

Viewed 1,675 times

-1

I tried to install the db Mongo in windows. I do the whole installation process but when the installation comes close to being finished the files and the installation folder of Mongo are deleted. An error occurs and the installation is aborted.

"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."

  1. Operating system: WIN 10 64 bits.
  2. Mongodb: 3.6.

Someone’s been through it ?

  • 1

    Weird, no mistake? Nothing ?

  • I see the folder being created at the time of installation. Then when it is all over and deleted.

2 answers

4

Have you checked whether you have permission to install in the directory suggested by Mongodb? By default, the installation files are in this directory:

C:\Program Files\MongoDB\

Have you ever tried to install in another directory? For example:

C:\Users\moisolas\Documents

If not, I suggest:

  • It would be interesting to use some program that carries out the cleaning of waste from installers, for example, the Ccleaner...

  • Do you have any anti-virus installed? Try to pause the real-time protection of it and perform the installation of MongoDB.

  • Hello. I tried to install in another directory. I haven’t cleaned the registry yet. I will. I only have Windows defender installed. I’ll make the recommendations

0


I don’t know why this happens exactly but the steps below helped me to solve the problem.

  1. Uncheck Compass install option
  2. Complete the installation
  3. Run the installer again:
  4. Mark Compass install option.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.