Kommandoer til at installere Perspective uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id gdiObjects.Perspective -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id gdiObjects.Perspective -e --silentwinget uninstall --id gdiObjects.Perspective -e --silentPr. installationsfil
32-bit · EXE (Inno Setup) · Alle brugere
Lydløs installation
PDWSInstall.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
PDWSInstall.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\perspective"PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-perspective.ps1
$url = 'https://www.gdiobjects.com/Files/PDWSInstall.exe'
$sha256 = 'C301FBC7D047C15821C8341BDEF13F633753CE9503DB76B1C8CD30EF527000BA'
$file = Join-Path $env:TEMP 'PDWSInstall.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