أوامر لتثبيت برنامج Throne دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Throneproj.Throne -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Throneproj.Throne -e --silentwinget uninstall --id Throneproj.Throne -e --silentحسب المثبّت
64 بت · EXE (Inno Setup) · المستخدم الحالي · en-US
التثبيت الصامت
Throne-1.3.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
Throne-1.3.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\throne"ARM64 · EXE (Inno Setup) · المستخدم الحالي · en-US
التثبيت الصامت
Throne-1.3.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
Throne-1.3.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\throne"32 بت · EXE (Inno Setup) · المستخدم الحالي · en-US
التثبيت الصامت
Throne-1.3.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
Throne-1.3.2-windows-universal-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\throne"PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-throne.ps1
$url = 'https://github.com/throneproj/Throne/releases/download/1.3.2/Throne-1.3.2-windows-universal-installer.exe'
$sha256 = '4DF6A09EABC19A797B7E94B49790C63E3E5A90749898B5749F496D2A44E9C0C7'
$file = Join-Path $env:TEMP 'Throne-1.3.2-windows-universal-installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-throne.ps1
$url = 'https://github.com/throneproj/Throne/releases/download/1.3.2/Throne-1.3.2-windows-universal-installer.exe'
$sha256 = '4DF6A09EABC19A797B7E94B49790C63E3E5A90749898B5749F496D2A44E9C0C7'
$file = Join-Path $env:TEMP 'Throne-1.3.2-windows-universal-installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-throne.ps1
$url = 'https://github.com/throneproj/Throne/releases/download/1.3.2/Throne-1.3.2-windows-universal-installer.exe'
$sha256 = '4DF6A09EABC19A797B7E94B49790C63E3E5A90749898B5749F496D2A44E9C0C7'
$file = Join-Path $env:TEMP 'Throne-1.3.2-windows-universal-installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait