How to Deploy Notepad++ via Intune (Win32 App Packaging Guide)
Notepad++ is one of the trickier common apps to package for Intune because the official installer is an EXE with an NSIS installer rather than an MSI. The silent install switch exists but the detection rule needs care. This guide covers both the EXE approach and an alternative using the unofficial MSI wrapper that some organisations prefer.
Download the installer
Download the 64-bit installer from the official Notepad++ site:
https://notepad-plus-plus.org/downloads/
Download the npp.x.x.x.Installer.x64.exe file. Avoid the portable version and the 32-bit installer unless you have specific requirements.
Wrap with the Content Prep Tool
IntuneWinAppUtil.exe -c "C:\AppSource\NotepadPP" -s "npp.8.7.1.Installer.x64.exe" -o "C:\IntunePackages"
Add the app in Intune
- Upload the .intunewin file
- Name: Notepad++
- Publisher: Don Ho
Install and uninstall commands
Notepad++ uses an NSIS installer. The silent switch is /S (capital S).
Detection rule
Use a registry detection rule for Notepad++ as it is more reliable than a file path check:
Alternatively, check for the executable:
Known gotchas
Desktop shortcut appearing after install
The NSIS installer creates a desktop shortcut by default. Add the /nodesktopicon switch to suppress it:
npp.8.7.1.Installer.x64.exe /S /nodesktopicon
Auto-update prompts
Notepad++ checks for updates on launch and prompts users. Suppress this by deploying a config file or using the /noUpdater switch during install to skip the updater entirely:
npp.8.7.1.Installer.x64.exe /S /nodesktopicon /noUpdater
Frequently Asked Questions
Use: npp.x.x.x.Installer.x64.exe /S /nodesktopicon /noUpdater. The /S switch (capital S) is the NSIS silent flag. /nodesktopicon suppresses the desktop shortcut and /noUpdater disables the built-in updater.
No. Notepad++ only provides an NSIS EXE installer. There is no official MSI. Use the EXE with the /S silent switch and wrap it with IntuneWinAppUtil as normal.
Use a registry detection rule: check for the key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++. Alternatively check for notepad++.exe in C:\Program Files\Notepad++.
Add /nodesktopicon to the install command: npp.x.x.x.Installer.x64.exe /S /nodesktopicon. This suppresses the shortcut for all users during the silent install.