How to install MongoDB 3.X on Windows without administrator privileges?

I am in a Windows 7 window (64-bit) and do not have administrator privileges.

It appears on the MongoDB download page (see http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/ ) that the latest version is available only for installing MSI (without a zip version).

I tried to run 3.0.4 MSI. I clicked custom to change the installation directory. I used% USERPROFILE% \ MyProgs \ MongoDB-3.0.4, so no admin rights are required. He did a bit of work, but then suggested that I enter the administrator credentials. I hit (for example, by clicking on X from top right) to close the window. On other MSI installations, this worked. I tried again and clicked "No", but in both cases I got a message

MongoDB 3.0.4 2008R2Plus SSL (64 bit) setup was interrupted. Your system has not been modified. [...] 

This article looks at the BIG work of installing MongoDB on Windows: How to install mongoDB on windows?

My comment is that v2.4.14 is the latest version available through the ZIP format. So for now, I'm using this version.

Is there any other way to install version 3.X MSI version of MongoDB without administrator rights?

NOTE. The MongoDB download page https://www.mongodb.org/downloads has a link called View Build Archive (it sends you here https://www.mongodb.org/dl/win32/x86_64-2008plus-ssl , and this site contains * .zip formatted files). I thought I found my solution to this question, but when I unpacked the files and added β€œbin” to my path and ran the programs (mongo and mongod), I got a Windows dialog box that says:

 mongod.exe - System Error The program can't start because LIBEAY32.dll is missing from your computer. Try reinstalling the program to fix the problem 

I stayed here and posted this question. Thanks for any help.

At the moment I am using a version that supports the zip format (v2.4.14), and this version works .

NOTE 2: Version v2.4.14 zip formatted does not have a file named LIBEAY32.dll), or I may have tried to use this file with a newer version.

+5
source share
2 answers

Yes, using the command line, you can install the latest version of MSI (including SSL) without administrator privileges.

 msiexec /a mongodb-win32-x64-3.2.5.msi /qb TARGETDIR="C:\MongoDB" 

This will copy the binaries to C:\MongoDB\MongoDB\Server\3.2\bin

I don’t like such long paths, so I create a symbolic link inside the folder:

 cd C:\MongoDB mklink /j bin C:\MongoDB\MongoDB\Server\3.2\bin 

This will create a soft link like C:\MongoDB\bin (which you can add to your PATH environment variable).

 mongo --version mongod --version 

Both should return version 3.2.5.

You can do this with most packages, we have to do the same MSI packages with Python 2.7 and Node 4.4.3 on production computers that do not have administrator privileges.

+14
source

You can download the "obsolete" version, which is an unsigned version of non msi as zip. Disclaimer is indicated as

The 64-bit legacy build does not include SSL encryption and the lack of new Windows features that improve performance. Use this assembly for Windows Server 2003, 2008 or Windows Vista p>

Version 3.0.5 https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-3.0.5.zip

+4
source

All Articles