Kommandon för att installera Refi App 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 ThanhLe.RefiApp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ThanhLe.RefiApp -e --silentwinget uninstall --id ThanhLe.RefiApp -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
Refi-App-Setup-0.0.19.exe /SEgen mapp
Refi-App-Setup-0.0.19.exe /S /D=C:\Apps\refi-app- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\76a02629-c78f-5ba7-91a3-99fb26ea9268
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-refi-app.ps1
$url = 'https://github.com/thanhlmm/refi-app/releases/download/v0.0.19/Refi-App-Setup-0.0.19.exe'
$sha256 = '3DDB4DE1D73525DACE18D576A9B8C51E71DEAEC6FFF838A1FD1179ADD9B13D4E'
$file = Join-Path $env:TEMP 'Refi-App-Setup-0.0.19.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