Notepad++ is a popular text editor and source code editor for Windows. It provides a wide range of features and is known for its simplicity and versatility. Notepad++ supports various programming languages and offers syntax highlighting, code folding, and auto-completion, making it useful for developers and programmers. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Notepad++ 8.5.8 from the command line using the EXE installer.
How to Install Notepad++ 8.5.8 Silently
Notepad++ 8.5.8 (32-bit) Silent Install
- Navigate to: https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.5.8/npp.8.5.8.Installer.exe
- Download the npp.8.5.8.Installer.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: npp.8.5.8.Installer.exe /S
- Press Enter
After a few moments you should see the Notepad++ shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Notepad++ 8.5.8 (32-bit) |
Vendor: | Notepad++ Team |
Version: | 8.5.8 |
Architecture: | x86 |
Installer Type: EXE | NSIS |
Silent Install Switch: | npp.8.5.8.Installer.exe /S |
Silent Uninstall Switch: (32-bit System) | "%ProgramFiles%\Notepad++\uninstall.exe" /S |
Silent Uninstall Switch: (64-bit System) | "%ProgramFiles(x86)%\Notepad++\uninstall.exe" /S |
Download Link: | Notepad++ 8.5.8 32-bit Download |
Video Tutorial: | Notepad++ Silent Install (How-To Guide) Video |
PowerShell Script: | Notepad++ | PowerShell Script |
Detection Script: | Notepad++ | Custom Detection Script |
Notepad++ 8.5.8 (64-bit) Silent Install
- Navigate to: https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.5.8/npp.8.5.8.Installer.x64.exe
- Download the npp.8.5.8.Installer.x64.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: npp.8.5.8.Installer.x64.exe /S
- Press Enter
After a few moments you should see the Notepad++ shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Notepad++ 8.5.8 (64-bit) |
Vendor: | Notepad++ Team |
Version: | 8.5.8 |
Architecture: | x64 |
Installer Type: EXE | NSIS |
Silent Install Switch: | npp.8.5.8.Installer.x64.exe /S |
Silent Uninstall Switch: | "%ProgramFiles%\Notepad++\uninstall.exe" /S |
Download Link: | Notepad++ 8.5.8 64-bit Download |
Video Tutorial: | Notepad++ Silent Install (How-To Guide) Video |
PowerShell Script: | Notepad++ | PowerShell Script |
Detection Script: | Notepad++ | Custom Detection Script |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Disable Notepad++ 8.5.8 Auto-Update
- Install Notepad++ and open the application
- Navigate to the Settings tab and Select Preferences…
- Under the MISC. section UNCHECK “Enable Notepad++ Auto-Updater”
- Click Close and Exit out of the Notepad++ application
- Navigate to the current user profile “C:\Users\%Username%\AppData\Roaming\Notepad++”
- Copy the config.xml file to the C:\Downloads directory with the Notepad++ executable you downloaded earlier
- Rename the config.xml file to config.model.xml (This will be the template for all new installations)
- Uninstall Notepad++ and delete the “C:\Users\%Username%\AppData\Roaming\Notepad++” directory (If a config.xml file already exists in the users profile the settings will not change during a new install or upgrade)
- Follow the “How to Install Notepad++ Silently” steps mentioned earlier in the article and then copy the config.model.xml file to the “%ProgramFiles%\Notepad++\” directory
- Delete or Rename the “%ProgramFiles%\Notepad++\updater” directory
Now when you launch Notepad++ for the first time, a new config.xml file is created within the user profile using the config.model.xml template we create earlier. You can confirm that the Auto-Updater is now unchecked and disabled under Settings-> Preferences-> MISC.-> (UNCHECKED) Enable Notepad++ Auto-Updater
Change the Notepad++ Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Notepad++ to “C:\Notepad++”
|
How to Uninstall Notepad++ 8.5.8 Silently
Check out the following posts for a scripted solution:
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Notepad++ 8.5.8 (32-bit) Silent Uninstall on 32-bit System
"%ProgramFiles%\Notepad++\uninstall.exe" /S |
Notepad++ 8.5.8 (32-bit) Silent Uninstall on 64-bit System
"%ProgramFiles(x86)%\Notepad++\uninstall.exe" /S |
Notepad++ 8.5.8 (64-bit) Silent Uninstall on 64-bit System
"%ProgramFiles%\Notepad++\uninstall.exe" /S |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.