Comandos para instalar Python Tk Gui Builder sem perguntas, removê-lo e detectá-lo em ferramentas de implantação. Um comando só aparece quando é certo: vem do manifesto ou do padrão documentado da tecnologia do instalador.
Guia relacionado: Instalação silenciosa: parâmetros MSI, NSIS e Inno · Desinstalar programa pelo registro ou PowerShell
Com 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 --silentPor instalador
Qualquer processador · MSI · en-US
msiexec /i download /qn /norestart /quietmsiexec /i download /qn /norestart /quiet /l*v "%TEMP%\python-tk-gui-builder-install.log"PowerShell: baixar, verificar, instalar
Baixa o arquivo oficial, confere o SHA256 e instala em modo silencioso.
$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