Commands for installing Python Tk Gui Builder without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With 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 --silentBy installer
Any CPU · MSI · en-US
msiexec /i download /qn /norestart /quietmsiexec /i download /qn /norestart /quiet /l*v "%TEMP%\python-tk-gui-builder-install.log"PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
$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