Comandos para instalar Python Launcher 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
PowerShell
winget install --id Python.Launcher -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Python.Launcher -e --silentwinget uninstall --id Python.Launcher -e --silentPor instalador
32 bits · MSI · Todos os usuários
Instalação silenciosa
msiexec /i launcher.msi /qn /norestartGravar log
msiexec /i launcher.msi /qn /norestart /l*v "%TEMP%\python-launcher-install.log"Desinstalar
msiexec /x {074ABF02-D68A-4C41-B1F8-D62F04502864} /qn /norestart- Código de produto MSI
- {074ABF02-D68A-4C41-B1F8-D62F04502864}
- Chave de desinstalação no registro
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{074ABF02-D68A-4C41-B1F8-D62F04502864}
- UpgradeCode
- {1B68A0EC-4DD3-5134-840E-73854B0863F1}
- Pasta de instalação
- .
- DisplayVersion
- 3.15.2150.0
PowerShell: baixar, verificar, instalar
Baixa o arquivo oficial, confere o SHA256 e instala em modo silencioso.
install-python-launcher.ps1
$url = 'https://www.python.org/ftp/python/3.15.2/win32/launcher.msi'
$sha256 = '01242412808D8D23EDBF54E3CFB6DF881086939263C2F7F75A55F53FB47BCCE1'
$file = Join-Path $env:TEMP 'launcher.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