Kommandon för att installera SmartCapture 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
winget install --id DeskSoft.SmartCapture -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DeskSoft.SmartCapture -e --silentwinget uninstall --id DeskSoft.SmartCapture -e --silentPer installationsfil
32-bitars · EXE
SCSetup.exe -SILENTPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
$url = 'https://www.desksoft.com/Download/SCSetup.exe'
$sha256 = '15A02766A601C122D0097968CD7B1A43E8757B4DE26FF96C2B16F60ABEBF654B'
$file = Join-Path $env:TEMP 'SCSetup.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 '-SILENT' -Wait