Ordres per instal·lar fio 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 fio.fio -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id fio.fio -e --silentwinget uninstall --id fio.fio -e --silentPer instal·lador
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i fio-3.43-x64.msi /qn /norestartDesar un registre
msiexec /i fio-3.43-x64.msi /qn /norestart /l*v "%TEMP%\fio-install.log"Desinstal·lar
msiexec /x {07BBA0A0-BCAD-4CF3-9436-58E5A65B2ECC} /qn /norestart- Codi de producte MSI
- {07BBA0A0-BCAD-4CF3-9436-58E5A65B2ECC}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{07BBA0A0-BCAD-4CF3-9436-58E5A65B2ECC}
- UpgradeCode
- {2338A332-5511-43CF-B9BD-5C60496CCFCC}
32 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i fio-3.43-x86.msi /qn /norestartDesar un registre
msiexec /i fio-3.43-x86.msi /qn /norestart /l*v "%TEMP%\fio-install.log"Desinstal·lar
msiexec /x {3CF1A7A8-60DC-40E6-8E04-7FE1BBEF8586} /qn /norestart- Codi de producte MSI
- {3CF1A7A8-60DC-40E6-8E04-7FE1BBEF8586}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3CF1A7A8-60DC-40E6-8E04-7FE1BBEF8586}
- UpgradeCode
- {2338A332-5511-43CF-B9BD-5C60496CCFCC}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-fio.ps1
$url = 'https://github.com/axboe/fio/releases/download/fio-3.43/fio-3.43-x64.msi'
$sha256 = '8299E6E6FBC024D3B74AA1CE62FB94EF6960B45629FBFA678B720834B6EB34AA'
$file = Join-Path $env:TEMP 'fio-3.43-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 install-fio.ps1
$url = 'https://github.com/axboe/fio/releases/download/fio-3.43/fio-3.43-x86.msi'
$sha256 = '7E8AC41E3439FAF847CFF134A8AE65998BBB2595126C91F0B266D332774344AE'
$file = Join-Path $env:TEMP 'fio-3.43-x86.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