How to install Node.js in custom folder silently on Windows?

foozoor picture foozoor · Dec 14, 2013 · Viewed 12.6k times · Source

I create a script to auto install all my dev stack on Windows.

I have a problem with Node.js

What's the command line to install node-v0.10.23-x64.msi in C:\Tools silently?

Thanks.

Answer

foozoor picture foozoor · Dec 15, 2013

I found it.

This is the correct way to install Node.js on Windows silently in a custom directory.

msiexec.exe /i node-v0.10.23-x64.msi INSTALLDIR="C:\Tools\NodeJS" /quiet