Polecenia do instalacji programu Python Tk Gui Builder bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez 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 --silentWedług instalatora
Dowolny procesor · MSI · en-US
msiexec /i download /qn /norestart /quietmsiexec /i download /qn /norestart /quiet /l*v "%TEMP%\python-tk-gui-builder-install.log"PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
$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