Notepad Next programını soru sormadan kurmak, kaldırmak ve dağıtım araçlarında algılamak için komutlar. Bir komut yalnızca kesinse gösterilir: manifestteki anahtar ya da kurulum teknolojisinin belgelenmiş varsayılanı.
İlgili rehber: Sessiz kurulum parametreleri: MSI, NSIS, Inno Setup · Kayıt defteri veya PowerShell ile program kaldırma
winget ile
PowerShell
winget install --id dail8859.NotepadNext -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id dail8859.NotepadNext -e --silentwinget uninstall --id dail8859.NotepadNext -e --silentKurulum dosyasına göre
32 bit · EXE (NSIS) · Yalnızca bu kullanıcı · en-US
Sessiz kurulum
NotepadNext-v0.14-Installer.exe /SFarklı klasör
NotepadNext-v0.14-Installer.exe /S /D=C:\Apps\notepad-next- Kaldırma kayıt defteri anahtarı
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\NotepadNext
32 bit · EXE (NSIS) · Tüm kullanıcılar · en-US
Sessiz kurulum
NotepadNext-v0.14-Installer.exe /SFarklı klasör
NotepadNext-v0.14-Installer.exe /S /D=C:\Apps\notepad-next- Kaldırma kayıt defteri anahtarı
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\NotepadNext
PowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-notepad-next.ps1
$url = 'https://github.com/dail8859/NotepadNext/releases/download/v0.14/NotepadNext-v0.14-Installer.exe'
$sha256 = 'BD344D08C8CF0F6B6FC1D393B8D28E9F087DF67D6E41527F5C9FB1719773E212'
$file = Join-Path $env:TEMP 'NotepadNext-v0.14-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 install-notepad-next.ps1
$url = 'https://github.com/dail8859/NotepadNext/releases/download/v0.14/NotepadNext-v0.14-Installer.exe'
$sha256 = 'BD344D08C8CF0F6B6FC1D393B8D28E9F087DF67D6E41527F5C9FB1719773E212'
$file = Join-Path $env:TEMP 'NotepadNext-v0.14-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