Kommandoer til at installere Notepad++ uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med 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 --silentPr. installationsfil
64-bit · EXE (NSIS) · Alle brugere
npp.8.9.8.1.Installer.x64.exe /Snpp.8.9.8.1.Installer.x64.exe /S /D=C:\Apps\notepad-plus-plus- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++
- Installationsmappe
- %ProgramFiles%\Notepad++
64-bit · MSI · Alle brugere
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-produktkode
- {5C6F8543-7EA8-40B9-B78F-04C78300DE7F}
- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5C6F8543-7EA8-40B9-B78F-04C78300DE7F}
- UpgradeCode
- {CDB13460-04DF-4708-A7FD-4CB4A0684605}
64-bit · ZIP
Kræver ingen installation (portabel)
ARM64 · EXE (NSIS) · Alle brugere
npp.8.9.8.1.Installer.arm64.exe /Snpp.8.9.8.1.Installer.arm64.exe /S /D=C:\Apps\notepad-plus-plus- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++
- Installationsmappe
- %ProgramFiles%\Notepad++
ARM64 · ZIP
Kræver ingen installation (portabel)
32-bit · EXE (NSIS) · Alle brugere
npp.8.9.8.1.Installer.exe /Snpp.8.9.8.1.Installer.exe /S /D=C:\Apps\notepad-plus-plus- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++
- Installationsmappe
- %ProgramFiles(x86)%\Notepad++
32-bit · ZIP
Kræver ingen installation (portabel)
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
$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