Kommandon för att installera Wing 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 Wingware.Wing -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Wingware.Wing -e --silentwinget uninstall --id Wingware.Wing -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
wing-12.0.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
wing-12.0.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\wing"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wing 12_is1
- Installationsmapp
- %ProgramFiles%\Wing Pro 11
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-wing.ps1
$url = 'https://wingware.com/pub/wingpro/12.0.2.0/wing-12.0.2.0.exe'
$sha256 = '102512F01108B68E7B5781646E6BEF928FD2AF68B3498AEECC708D50BEF1B7BF'
$file = Join-Path $env:TEMP 'wing-12.0.2.0.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