Ordres per instal·lar fend 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 printfn.fend -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id printfn.fend -e --silentwinget uninstall --id printfn.fend -e --silentPer instal·lador
64 bits · MSI · Tots els usuaris · en-US
Instal·lació silenciosa
msiexec /i fend-1.5.9-windows-x64.msi /qn /norestartDesar un registre
msiexec /i fend-1.5.9-windows-x64.msi /qn /norestart /l*v "%TEMP%\fend-install.log"Desinstal·lar
msiexec /x {8322E394-7072-446E-86F1-3884A0F0BDE1} /qn /norestart- Codi de producte MSI
- {8322E394-7072-446E-86F1-3884A0F0BDE1}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8322E394-7072-446E-86F1-3884A0F0BDE1}
- UpgradeCode
- {2E3C8164-E07C-4B26-82B2-C5613FE8AD8F}
- Carpeta d’instal·lació
- %ProgramFiles%\.\fend\bin
64 bits · ZIP
No cal instal·lar-lo (portable)
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-fend.ps1
$url = 'https://github.com/printfn/fend/releases/download/v1.5.9/fend-1.5.9-windows-x64.msi'
$sha256 = '4398186A6CB601FD0C1E3162C6AE5B6C063975020A391ED927E0059CFD510096'
$file = Join-Path $env:TEMP 'fend-1.5.9-windows-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait