أوامر لتثبيت برنامج Python Launcher دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو 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كتابة ملف سجل
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كتابة ملف سجل
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