คำสั่งสำหรับติดตั้ง Python Launcher โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ 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 --silentแยกตามตัวติดตั้ง
64 บิต · MSI
ติดตั้งแบบเงียบ
msiexec /i launcher-1.0.1.6.amd64.msi /qn /norestartบันทึกไฟล์ log
msiexec /i launcher-1.0.1.6.amd64.msi /qn /norestart /l*v "%TEMP%\python-launcher-vinay-sajip-install.log"ถอนการติดตั้ง
msiexec /x {1CB6C42B-5887-47CF-AF21-988256F0455B} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {1CB6C42B-5887-47CF-AF21-988256F0455B}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1CB6C42B-5887-47CF-AF21-988256F0455B}
32 บิต · MSI
ติดตั้งแบบเงียบ
msiexec /i launcher-1.0.1.6.msi /qn /norestartบันทึกไฟล์ log
msiexec /i launcher-1.0.1.6.msi /qn /norestart /l*v "%TEMP%\python-launcher-vinay-sajip-install.log"ถอนการติดตั้ง
msiexec /x {298B5D62-1287-427F-B8D9-B44D605F8F6B} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {298B5D62-1287-427F-B8D9-B44D605F8F6B}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{298B5D62-1287-427F-B8D9-B44D605F8F6B}
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
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