Kommandon för att installera ExamDiff utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id PrestoSoft.ExamDiff -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PrestoSoft.ExamDiff -e --silentwinget uninstall --id PrestoSoft.ExamDiff -e --silentPer installationsfil
32-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
ed194_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
ed194_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\examdiff"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ExamDiff_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-examdiff.ps1
$url = 'https://www.prestosoft.com/download/ed194_setup.exe'
$sha256 = '291C692CE6F9C609C465AC5229522FB86BE75F2CE9B9EFF6D68974E94DCC8B51'
$file = Join-Path $env:TEMP 'ed194_setup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait