Befehle, um Node.js 6 ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id OpenJS.NodeJS.6 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenJS.NodeJS.6 -e --silentwinget uninstall --id OpenJS.NodeJS.6 -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i node-v6.17.0-x64.msi /qn /norestartProtokoll schreiben
msiexec /i node-v6.17.0-x64.msi /qn /norestart /l*v "%TEMP%\node-js-6-install.log"Deinstallation
msiexec /x {99D1C612-99E8-4857-86FE-13010D3FF067} /qn /norestart- MSI-Produktcode
- {99D1C612-99E8-4857-86FE-13010D3FF067}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{99D1C612-99E8-4857-86FE-13010D3FF067}
- Installationsordner
- %ProgramFiles%\nodejs
64-Bit · ZIP
Keine Installation nötig (portabel)
32-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i node-v6.17.0-x86.msi /qn /norestartProtokoll schreiben
msiexec /i node-v6.17.0-x86.msi /qn /norestart /l*v "%TEMP%\node-js-6-install.log"Deinstallation
msiexec /x {512D50AB-E625-4D27-9AFF-2F2FFBAC2AC3} /qn /norestart- MSI-Produktcode
- {512D50AB-E625-4D27-9AFF-2F2FFBAC2AC3}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{512D50AB-E625-4D27-9AFF-2F2FFBAC2AC3}
- Installationsordner
- %ProgramFiles(x86)%\nodejs
32-Bit · ZIP
Keine Installation nötig (portabel)
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-node-js-6.ps1
$url = 'https://nodejs.org/dist/v6.17.0/node-v6.17.0-x64.msi'
$sha256 = '3A9171AB366BA45ACCC2EC898B50390D0020797B1CF16A16E9F3E105FCFDC95A'
$file = Join-Path $env:TEMP 'node-v6.17.0-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-node-js-6.ps1
$url = 'https://nodejs.org/dist/v6.17.0/node-v6.17.0-x86.msi'
$sha256 = 'E3478FCF22E3395A41F34CF7E64527E6CC532C109E5A8D67AB1DE213E53F780C'
$file = Join-Path $env:TEMP 'node-v6.17.0-x86.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait