Příkazy pro instalaci programu func-e bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id Tetrate.func-e -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Tetrate.func-e -e --silentwinget uninstall --id Tetrate.func-e -e --silentPodle instalátoru
64bit · MSI · en-US
Tichá instalace
msiexec /i func-e_1.1.4_windows_amd64.msi /qn /norestartZapsat protokol
msiexec /i func-e_1.1.4_windows_amd64.msi /qn /norestart /l*v "%TEMP%\func-e-install.log"Odinstalace
msiexec /x {04EBEFF2-13A8-498C-9958-30F07D7F2F22} /qn /norestart- Kód produktu MSI
- {04EBEFF2-13A8-498C-9958-30F07D7F2F22}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{04EBEFF2-13A8-498C-9958-30F07D7F2F22}
- UpgradeCode
- {FC6C326B-1DB7-4D48-8F05-E13E79DF4D0E}
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-func-e.ps1
$url = 'https://github.com/tetratelabs/func-e/releases/download/v1.1.4/func-e_1.1.4_windows_amd64.msi'
$sha256 = '9F72C6DFC37FB22FE3E39A6312EAC350F2527FE8006493CD16E5CFB7D48EDDD5'
$file = Join-Path $env:TEMP 'func-e_1.1.4_windows_amd64.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