Error installing mongodb on windows

-1

I tried to install mongo db on windows. I do the whole installation process but when the installation comes close to being finished the files and the mongo installation folder are deleted. An error has occurred 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."

  • Operating system: WIN 10 64 bit.
  • MongoDB: 3.6.
  • Does anyone have a clue where the problem might be?

        
    asked by anonymous 11.04.2018 / 10:23

    2 answers

    0

    I do not know why this happens exactly however the steps below helped me to solve the problem.

  • Uncheck Compass install
  • Finish the installation
  • Run the installer again:
  • Check the Compass install option.
  • 12.04.2018 / 00:28
    4

    Have you checked that you are allowed to install to the directory suggested by MongoDB? By default, the installation files are located in this directory:

    C:\Program Files\MongoDB\
    

    Have you tried installing in another directory? For example:

    C:\Users\moisolas\Documents
    

    If it does not resolve, I suggest:

    • It would be interesting to use some program that performs cleaning of installer residues, for example, Ccleaner ...

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

    11.04.2018 / 17:51