Commands for installing Python Launcher 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
PowerShell
winget install --id VinaySajip.PythonLauncher -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id VinaySajip.PythonLauncher -e --silentwinget uninstall --id VinaySajip.PythonLauncher -e --silentBy installer
64-bit · MSI
Silent install
msiexec /i launcher-1.0.1.6.amd64.msi /qn /norestartWrite a log
msiexec /i launcher-1.0.1.6.amd64.msi /qn /norestart /l*v "%TEMP%\python-launcher-vinay-sajip-install.log"Uninstall
msiexec /x {1CB6C42B-5887-47CF-AF21-988256F0455B} /qn /norestart- MSI product code
- {1CB6C42B-5887-47CF-AF21-988256F0455B}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1CB6C42B-5887-47CF-AF21-988256F0455B}
32-bit · MSI
Silent install
msiexec /i launcher-1.0.1.6.msi /qn /norestartWrite a log
msiexec /i launcher-1.0.1.6.msi /qn /norestart /l*v "%TEMP%\python-launcher-vinay-sajip-install.log"Uninstall
msiexec /x {298B5D62-1287-427F-B8D9-B44D605F8F6B} /qn /norestart- MSI product code
- {298B5D62-1287-427F-B8D9-B44D605F8F6B}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{298B5D62-1287-427F-B8D9-B44D605F8F6B}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
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 install-python-launcher-vinay-sajip.ps1
$url = 'https://bitbucket.org/vinay.sajip/pylauncher/downloads/launcher-1.0.1.6.msi'
$sha256 = '08004667A92980DFAF154FB4C95113428B0E925B18C0B2C95741B18ED65EBC0C'
$file = Join-Path $env:TEMP 'launcher-1.0.1.6.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