Ordres per instal·lar FastAction 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 Luttik.FastAction -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Luttik.FastAction -e --silentwinget uninstall --id Luttik.FastAction -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
FastActionSetup-0.3.0-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
FastActionSetup-0.3.0-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\fastaction"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8BAA4D31-36A8-4CD8-B009-E0FB17D84108}_is1
- Carpeta d’instal·lació
- %ProgramFiles%\FastAction
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-fastaction.ps1
$url = 'https://github.com/Luttik/fast-action/releases/download/v0.3.0/FastActionSetup-0.3.0-x64.exe'
$sha256 = '239C17E9D6EA48A967D1204D7BFD8A5C854C126C1BAF4038351DECA3E140456F'
$file = Join-Path $env:TEMP 'FastActionSetup-0.3.0-x64.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