Kommandon för att installera CADReader 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 Glodon.CADReader -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Glodon.CADReader -e --silentwinget uninstall --id Glodon.CADReader -e --silentPer installationsfil
32-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
CADReaderIntl_3.8.2.29.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
CADReaderIntl_3.8.2.29.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cadreader"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{F820B3E7-90F4-4420-8C49-3B0107740927}_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-cadreader.ps1
$url = 'https://yuntu-f.fastcadreader.com/cad/app/CADReaderIntl_3.8.2.29.exe'
$sha256 = 'A5320CBB3BBE84D2CBC4525C852598EFEADB86B68397D5EEAFF58049229BA521'
$file = Join-Path $env:TEMP 'CADReaderIntl_3.8.2.29.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