Notepad++ ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
winget install --id Notepad++.Notepad++ -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Notepad++.Notepad++ -e --silentwinget uninstall --id Notepad++.Notepad++ -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · အသုံးပြုသူအားလုံး
npp.8.9.8.1.Installer.x64.exe /Snpp.8.9.8.1.Installer.x64.exe /S /D=C:\Apps\notepad-plus-plus- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%\Notepad++
64-bit · MSI · အသုံးပြုသူအားလုံး
msiexec /i npp.8.9.8.1.Installer.x64.msi /qn /norestartmsiexec /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 product code
- {5C6F8543-7EA8-40B9-B78F-04C78300DE7F}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5C6F8543-7EA8-40B9-B78F-04C78300DE7F}
- UpgradeCode
- {CDB13460-04DF-4708-A7FD-4CB4A0684605}
64-bit · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
ARM64 · EXE (NSIS) · အသုံးပြုသူအားလုံး
npp.8.9.8.1.Installer.arm64.exe /Snpp.8.9.8.1.Installer.arm64.exe /S /D=C:\Apps\notepad-plus-plus- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%\Notepad++
ARM64 · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
32-bit · EXE (NSIS) · အသုံးပြုသူအားလုံး
npp.8.9.8.1.Installer.exe /Snpp.8.9.8.1.Installer.exe /S /D=C:\Apps\notepad-plus-plus- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles(x86)%\Notepad++
32-bit · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
$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 $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 $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 $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