أوامر لتثبيت برنامج marknote دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id KDE.Marknote -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KDE.Marknote -e --silentwinget uninstall --id KDE.Marknote -e --silentحسب المثبّت
64 بت · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
marknote-master-1935-windows-cl-msvc2022-x86_64.exe /Sمجلد مخصص
marknote-master-1935-windows-cl-msvc2022-x86_64.exe /S /D=C:\Apps\marknote- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\marknote
64 بت · EXE (NSIS) · جميع المستخدمين
التثبيت الصامت
marknote-master-1935-windows-cl-msvc2022-x86_64.exe /Sمجلد مخصص
marknote-master-1935-windows-cl-msvc2022-x86_64.exe /S /D=C:\Apps\marknote- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\marknote
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-marknote.ps1
$url = 'https://cdn.kde.org/ci-builds/office/marknote/master/windows/marknote-master-1935-windows-cl-msvc2022-x86_64.exe'
$sha256 = '70B8F53B32407F3846C9CDDFEA7EB7489DF8369018AF7A1999CF46F5DEBB3BEF'
$file = Join-Path $env:TEMP 'marknote-master-1935-windows-cl-msvc2022-x86_64.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-marknote.ps1
$url = 'https://cdn.kde.org/ci-builds/office/marknote/master/windows/marknote-master-1935-windows-cl-msvc2022-x86_64.exe'
$sha256 = '70B8F53B32407F3846C9CDDFEA7EB7489DF8369018AF7A1999CF46F5DEBB3BEF'
$file = Join-Path $env:TEMP 'marknote-master-1935-windows-cl-msvc2022-x86_64.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