Populars: Dades actualitzades el 8 de novembre del 2026

Categories

Internet1.378
Comunicació323
Àudio i vídeo914
Gràfics i disseny552
Ofimàtica i productivitat1.137
Eines per a desenvolupadors3.179
Eines d’IA555
Seguretat i privadesa396
Eines del sistema3.169
Jocs532
Educació i ciència240
Xarxa i TI291

Python Launcher: instal·lació silenciosa i desinstal·lació

The launcher allows Python scripts (.py and .pyw files) on Windows to specify the version of Python which should be used, allowing simultaneous use of Python 2 and 3.

Ordres per instal·lar Python Launcher sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.

Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell

Amb winget

PowerShell
winget install --id VinaySajip.PythonLauncher -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id VinaySajip.PythonLauncher -e --silent
winget uninstall --id VinaySajip.PythonLauncher -e --silent

Per instal·lador

64 bits · MSI

Instal·lació silenciosamsiexec /i launcher-1.0.1.6.amd64.msi /qn /norestart
Desar un registremsiexec /i launcher-1.0.1.6.amd64.msi /qn /norestart /l*v "%TEMP%\python-launcher-vinay-sajip-install.log"
Desinstal·larmsiexec /x {1CB6C42B-5887-47CF-AF21-988256F0455B} /qn /norestart
Codi de producte MSI
{1CB6C42B-5887-47CF-AF21-988256F0455B}
Clau de desinstal·lació al registre
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1CB6C42B-5887-47CF-AF21-988256F0455B}

32 bits · MSI

Instal·lació silenciosamsiexec /i launcher-1.0.1.6.msi /qn /norestart
Desar un registremsiexec /i launcher-1.0.1.6.msi /qn /norestart /l*v "%TEMP%\python-launcher-vinay-sajip-install.log"
Desinstal·larmsiexec /x {298B5D62-1287-427F-B8D9-B44D605F8F6B} /qn /norestart
Codi de producte MSI
{298B5D62-1287-427F-B8D9-B44D605F8F6B}
Clau de desinstal·lació al registre
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{298B5D62-1287-427F-B8D9-B44D605F8F6B}

PowerShell: baixar, verificar, instal·lar

Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.

install-python-launcher-vinay-sajip.ps1
$url = 'https://bitbucket.org/vinay.sajip/pylauncher/downloads/launcher-1.0.1.6.amd64.msi'
$sha256 = '3CA4B4021FF2D35CE176A099E9F1DD73A920170FB0D3E9165D934700EA689DCE'
$file = Join-Path $env:TEMP 'launcher-1.0.1.6.amd64.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

Comparteix