Commando’s om Neuron zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met winget
PowerShell
winget install --id NeuronWorkspace.Neuron -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NeuronWorkspace.Neuron -e --silentwinget uninstall --id NeuronWorkspace.Neuron -e --silentPer installer
64-bits · EXE (NSIS) · en-US
Stille installatie
Neuron-0.5.0-win-x64.exe /SAndere map
Neuron-0.5.0-win-x64.exe /S /D=C:\Apps\neuron- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\bc0adba4-4097-5320-adf0-99e51d6b51d9
- DisplayVersion
- 0.5.0
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-neuron.ps1
$url = 'https://github.com/neuron-workspace/Neuron/releases/download/v0.5.0/Neuron-0.5.0-win-x64.exe'
$sha256 = 'DB11465BD40111DAE736B3180A0AE0A01EDBD3DDB2A4DBB7A9E33A4F7AB492D7'
$file = Join-Path $env:TEMP 'Neuron-0.5.0-win-x64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait