أوامر لتثبيت برنامج Simple Sticky Notes دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Simnet.SimpleStickyNotes -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Simnet.SimpleStickyNotes -e --silentwinget uninstall --id Simnet.SimpleStickyNotes -e --silentحسب المثبّت
32 بت · EXE (Inno Setup) · جميع المستخدمين
التثبيت الصامت
Setup_SimpleStickyNotes.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
Setup_SimpleStickyNotes.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\simple-sticky-notes"- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Simple Sticky Notes_is1
- مجلد التثبيت
- %ProgramFiles%\Simnet\Simple Sticky Notes
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-simple-sticky-notes.ps1
$url = 'https://www.simplestickynotes.com/setup/Setup_SimpleStickyNotes.exe'
$sha256 = '5A5DCADEE27C31179E0A8D8B8B96D1BCEFC90D1FDCEDDCC0DA759A3B9A8850FC'
$file = Join-Path $env:TEMP 'Setup_SimpleStickyNotes.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