Polecenia do instalacji programu Deva bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez 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 --silentWedług instalatora
64-bit · EXE (NSIS) · Bieżący użytkownik
Cicha instalacja
Deva-0.1.11-setup.exe /SWłasny folder
Deva-0.1.11-setup.exe /S /D=C:\Apps\deva- Klucz odinstalowania w rejestrze
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\e5d4b7d3-b8fd-5542-836f-43c630039bda
- Folder instalacji
- %LocalAppData%\Programs\Deva
64-bit · EXE (NSIS) · Wszyscy użytkownicy
Cicha instalacja
Deva-0.1.11-setup.exe /SWłasny folder
Deva-0.1.11-setup.exe /S /D=C:\Apps\deva- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\e5d4b7d3-b8fd-5542-836f-43c630039bda
- Folder instalacji
- %ProgramFiles%\Deva
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
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