Author Posts

April 6, 2016 at 1:02 am

Hello!

I'm trying to understand how and MSI for example node.js can be installed as a service and configured on HTTP server through PowerShell.

Any inputs are really helpful.

Thank you!

April 6, 2016 at 1:58 am

I don't have experience with this, but if you're happen to have PowerShell v5, you can use the package manager to install node.js directly from Chocolatey:

First add the chocolatey repository to the package manager:

Register-PackageSource -Name Chocolatey -Location http://chocolatey.org/api/v2 -ProviderName Chocolatey -Trusted

Then you can find the node.js package like this:

Find-Package -Name nodejs.install

If you want to install you can do it like this:

Install-Package -Name nodejs.install

Source page for the package: https://chocolatey.org/packages/nodejs.install