Development
MSI
Verified recipe
Node.js LTS Silent Install Switches (Intune & SCCM)
Silent install switches
/quiet /norestart
Silent uninstall switches: /quiet /norestart
Intune Win32 app settings
Paste these into the Program and Detection rules steps when you add Node.js LTS as a Win32 app.
Install command
msiexec /i node-vXX.XX.X-x64.msi /quiet /norestartUninstall command
msiexec /x {NODE_GUID} /quiet /norestartDetection rule (File)
C:\Program Files\nodejs\node.exe- Device restart behavior: no restart required.
SCCM / ConfigMgr deployment type
Installation program
msiexec /i node-vXX.XX.X-x64.msi /quiet /norestartUninstall program
msiexec /x {NODE_GUID} /quiet /norestartValues in braces (for example a product GUID) depend on the exact version you deploy. Swap in the value from your installer, or let InstallMage read it for you.
Deployment notes
LTS version recommended for enterprise. Includes npm.
Windows Installer packages install silently with msiexec /i <file>.msi /qn (or /quiet) and uninstall with msiexec /x {ProductCode} /qn.
FAQ
- What are the silent install switches for Node.js LTS?
- Node.js LTS installs silently with /quiet /norestart (it uses a MSI installer). Full command: msiexec /i node-vXX.XX.X-x64.msi /quiet /norestart
- How do I silently uninstall Node.js LTS?
- Run: msiexec /x {NODE_GUID} /quiet /norestart
- What detection rule should I use for Node.js LTS in Intune?
- Use a file detection rule. File exists: C:\Program Files\nodejs\node.exe.
- How do I deploy Node.js LTS with Intune?
- Wrap the installer as a Win32 app (.intunewin), set the install and uninstall commands above, and add the detection rule. InstallMage can build the .intunewin and generate these commands from the Node.js LTS installer in under three minutes.