Příkazy pro instalaci programu Python Tk Gui Builder 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
winget install --id CarlWenrich.PythonTkGuiBuilder -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CarlWenrich.PythonTkGuiBuilder -e --silentwinget uninstall --id CarlWenrich.PythonTkGuiBuilder -e --silentPodle instalátoru
Libovolná architektura · MSI · en-US
msiexec /i download /qn /norestart /quietmsiexec /i download /qn /norestart /quiet /l*v "%TEMP%\python-tk-gui-builder-install.log"PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
$url = 'https://sourceforge.net/projects/ptkgb/files/OldFiles/ptkgb.msi/download'
$sha256 = 'DDB1A02C63EBE05566FE526A9BEC2992F14D115CFA750B4740B8C2621C395CFE'
$file = Join-Path $env:TEMP 'download'
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', '/quiet' -Wait