IExpress Post Installation Batch with NodeJS not finding NPM immediately
问题 I'm trying to use iExpress to install dependencies on a small script that I've created on NodeJS. The iExpress package simply installs the packages Node: msiexec /i node.msi Then runs a Post installation Batch to put the Javascript into a folder in the %UserProfile% folder. The Post installation Batch is run with: cmd /c post_install.bat In the batch there is a line which isn't working: npm install <dependency> This doesn't seem to work immediately after the MSI install, but it will work the