Commando’s om OVITO Basic 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
winget install --id ovito.ovito-basic -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ovito.ovito-basic -e --silentwinget uninstall --id ovito.ovito-basic -e --silentPer installer
64-bits · EXE (NSIS) · Alle gebruikers · en-US
ovito-basic-3.15.4-win64.exe /Sovito-basic-3.15.4-win64.exe /S /D=C:\Apps\ovito-basic- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OVITO Basic
- Installatiemap
- %ProgramFiles%\OVITO Basic
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
$url = 'https://www.ovito.org/download/master/ovito-basic-3.15.4-win64.exe'
$sha256 = '641CCCA82EEE792C9852C55AFFA1A2F4D56E5EFA19CD74DC134A0F6FE606D388'
$file = Join-Path $env:TEMP 'ovito-basic-3.15.4-win64.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