Ordres per instal·lar Refi App sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
Refi-App-Setup-0.0.19.exe /SUna altra carpeta
Refi-App-Setup-0.0.19.exe /S /D=C:\Apps\refi-app- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\76a02629-c78f-5ba7-91a3-99fb26ea9268
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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