Kommandon för att installera Deva 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 sqfcyily.Deva -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id sqfcyily.Deva -e --silentwinget uninstall --id sqfcyily.Deva -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
Deva-0.1.11-setup.exe /SEgen mapp
Deva-0.1.11-setup.exe /S /D=C:\Apps\deva- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\e5d4b7d3-b8fd-5542-836f-43c630039bda
- Installationsmapp
- %LocalAppData%\Programs\Deva
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
Deva-0.1.11-setup.exe /SEgen mapp
Deva-0.1.11-setup.exe /S /D=C:\Apps\deva- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\e5d4b7d3-b8fd-5542-836f-43c630039bda
- Installationsmapp
- %ProgramFiles%\Deva
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-deva.ps1
$url = 'https://github.com/sqfcyily/deva/releases/download/v0.1.11/Deva-0.1.11-setup.exe'
$sha256 = 'F4F74220ADF02C5125629EF588BC5FD26C275FD081BA286ADC2DCA4DE7BF691C'
$file = Join-Path $env:TEMP 'Deva-0.1.11-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 '/S' -Wait install-deva.ps1
$url = 'https://github.com/sqfcyily/deva/releases/download/v0.1.11/Deva-0.1.11-setup.exe'
$sha256 = 'F4F74220ADF02C5125629EF588BC5FD26C275FD081BA286ADC2DCA4DE7BF691C'
$file = Join-Path $env:TEMP 'Deva-0.1.11-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 '/S' -Wait