أوامر لتثبيت برنامج Notepad++ دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Notepad++.Notepad++ -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Notepad++.Notepad++ -e --silentwinget uninstall --id Notepad++.Notepad++ -e --silentحسب المثبّت
64 بت · EXE (NSIS) · جميع المستخدمين
التثبيت الصامت
npp.8.9.8.1.Installer.x64.exe /Sمجلد مخصص
npp.8.9.8.1.Installer.x64.exe /S /D=C:\Apps\notepad-plus-plus- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++
- مجلد التثبيت
- %ProgramFiles%\Notepad++
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i npp.8.9.8.1.Installer.x64.msi /qn /norestartكتابة ملف سجل
msiexec /i npp.8.9.8.1.Installer.x64.msi /qn /norestart /l*v "%TEMP%\notepad-plus-plus-install.log"إلغاء التثبيت
msiexec /x {5C6F8543-7EA8-40B9-B78F-04C78300DE7F} /qn /norestart- رمز منتج MSI
- {5C6F8543-7EA8-40B9-B78F-04C78300DE7F}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5C6F8543-7EA8-40B9-B78F-04C78300DE7F}
- UpgradeCode
- {CDB13460-04DF-4708-A7FD-4CB4A0684605}
64 بت · ZIP
لا يحتاج إلى تثبيت (نسخة محمولة)
ARM64 · EXE (NSIS) · جميع المستخدمين
التثبيت الصامت
npp.8.9.8.1.Installer.arm64.exe /Sمجلد مخصص
npp.8.9.8.1.Installer.arm64.exe /S /D=C:\Apps\notepad-plus-plus- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++
- مجلد التثبيت
- %ProgramFiles%\Notepad++
ARM64 · ZIP
لا يحتاج إلى تثبيت (نسخة محمولة)
32 بت · EXE (NSIS) · جميع المستخدمين
التثبيت الصامت
npp.8.9.8.1.Installer.exe /Sمجلد مخصص
npp.8.9.8.1.Installer.exe /S /D=C:\Apps\notepad-plus-plus- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++
- مجلد التثبيت
- %ProgramFiles(x86)%\Notepad++
32 بت · ZIP
لا يحتاج إلى تثبيت (نسخة محمولة)
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-notepad-plus-plus.ps1
$url = 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.9.8.1/npp.8.9.8.1.Installer.x64.exe'
$sha256 = '26F3BCCED788FADBAC4E7E577B430EA2CE6060CF3BCAD993EF4612ECD7D743DA'
$file = Join-Path $env:TEMP 'npp.8.9.8.1.Installer.x64.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-notepad-plus-plus.ps1
$url = 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.9.8.1/npp.8.9.8.1.Installer.x64.msi'
$sha256 = '0C4F4FE82BABD7688F5C1431B1357392491563AF6FFEDF4E37F5DE0BD71BABB4'
$file = Join-Path $env:TEMP 'npp.8.9.8.1.Installer.x64.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-notepad-plus-plus.ps1
$url = 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.9.8.1/npp.8.9.8.1.Installer.arm64.exe'
$sha256 = 'A53C5116B55AC93FEDD7808E71096BADECBF10A55F2BE9B28B741591B8917A73'
$file = Join-Path $env:TEMP 'npp.8.9.8.1.Installer.arm64.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-notepad-plus-plus.ps1
$url = 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.9.8.1/npp.8.9.8.1.Installer.exe'
$sha256 = 'EE848AA54DF153921678B343857A83861DA81CE0C9DBB217B6F55A8780E60F5E'
$file = Join-Path $env:TEMP 'npp.8.9.8.1.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 '/S' -Wait