أوامر لتثبيت برنامج Silo دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id DaveWeaver.Silo -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DaveWeaver.Silo -e --silentwinget uninstall --id DaveWeaver.Silo -e --silentحسب المثبّت
64 بت · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
Silo_0.82.0_x64-setup.exe /Sمجلد مخصص
Silo_0.82.0_x64-setup.exe /S /D=C:\Apps\silo- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Silo
- مجلد التثبيت
- %LocalAppData%\Silo
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i Silo_0.82.0_x64_en-US.msi /qn /norestartكتابة ملف سجل
msiexec /i Silo_0.82.0_x64_en-US.msi /qn /norestart /l*v "%TEMP%\silo-install.log"إلغاء التثبيت
msiexec /x {A85CBF52-4E87-4B0B-BC37-1C706D61B95D} /qn /norestart- رمز منتج MSI
- {A85CBF52-4E87-4B0B-BC37-1C706D61B95D}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A85CBF52-4E87-4B0B-BC37-1C706D61B95D}
- UpgradeCode
- {CEC0B5C0-A863-5F28-9580-E325823813BE}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-silo.ps1
$url = 'https://github.com/silo-code/silo/releases/download/silo-v0.82.0/Silo_0.82.0_x64-setup.exe'
$sha256 = '60637E7767BA241647483712F8994138A80AE2B6FF9D781BC825CF9D88EB52DC'
$file = Join-Path $env:TEMP 'Silo_0.82.0_x64-setup.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 '/S' -Wait install-silo.ps1
$url = 'https://github.com/silo-code/silo/releases/download/silo-v0.82.0/Silo_0.82.0_x64_en-US.msi'
$sha256 = '89F18D32DE11E2D36312D1BD63BD95F55132E17F5B541FC14BBF40F47AA89BB7'
$file = Join-Path $env:TEMP 'Silo_0.82.0_x64_en-US.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