คำสั่งสำหรับติดตั้ง Python Launcher โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ 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 --silentแยกตามตัวติดตั้ง
32 บิต · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i launcher.msi /qn /norestartบันทึกไฟล์ log
msiexec /i launcher.msi /qn /norestart /l*v "%TEMP%\python-launcher-install.log"ถอนการติดตั้ง
msiexec /x {E81C7963-7B6A-4296-9368-C4CA4D78470A} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {E81C7963-7B6A-4296-9368-C4CA4D78470A}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{E81C7963-7B6A-4296-9368-C4CA4D78470A}
- UpgradeCode
- {1B68A0EC-4DD3-5134-840E-73854B0863F1}
- โฟลเดอร์ที่ติดตั้ง
- .
- DisplayVersion
- 3.14.7150.0
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-python-launcher.ps1
$url = 'https://www.python.org/ftp/python/3.14.7/win32/launcher.msi'
$sha256 = 'E0FE589EB1C7D4E474C7D2AC2D9D2655F6FBA28079C93FD6F6819E423CEFD96A'
$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