How to deploy Notepad++ Application using SCCM

In this post we will see how to deploy Notepad++ application using SCCM. Notepad++ is a built in text editor and is a free software. It’s quite a popular application and used by several users world wide.

In addition Notepad++ allows users to open multiple files and all in a single window. Notepad++ also supports several programming languages and natural languages. Furthermore it supports Syntax Highlighting and Syntax Folding which notepad doesn’t support.

You can download the latest Notepad++ version, go to Notepad++ download. The installer is an executable file and seems like there is no .msi version yet. Download and copy the installer file to the sources folder.

How to deploy Notepad++ Application using SCCM

First of all open the SCCM console. Click on Software Library > Overview > Application Management and click Applications. Right click Applications and click Create Application. Click on Manually specify the application information and click Next. In the next step specify the application details and finally click Next.

How to deploy Notepad++ Application using SCCM
deploy Notepad++ Application using SCCM

In the next step add some details about the app. These details will be shown in the App catalog. Click Next.

How to deploy Notepad++ Application using SCCMOn the Deployment Types dialog, click Add. Click Manually specify the deployment type information. Click Next.

How to deploy Notepad++ Application using SCCMSpecify some information about the app and click Next.

How to deploy Notepad++ Application using SCCMSpecify the folder path where the installer is located. Set the install and uninstall options as shown in the screenshot and click Next.

How to deploy Notepad++ Application using SCCMThe next step is to add Detection Rule. Click on Add Clause. Your detection rule should finally look the same as shown in the below screenshot. Click OK.

How to deploy Notepad++ Application using SCCMSpecify the user experience settings for the app. Click Next.

How to deploy Notepad++ Application using SCCMComplete rest of the steps and finally click Close.

How to deploy Notepad++ Application using SCCMThe next step is to distribute the Notepad++ application to distribution points. Once the content is distributed, deploy the application to the collection. So as an example, I have deployed the application to a device collection and made it available in software center.

Finally on the client machine, launch the software center, select the Notepad++ app and click on Install. To monitor the installation progress open the appenforce.log file.

How to deploy Notepad++ Application using SCCM

22 Comments

  1. Does anyone know if there is a flag that can be used during install to shutoff the auto update?

  2. Avatar photo Neil Cole says:

    Hi. Great post as always. Some of our users wanted the language files. So I created a third program with the command robocopy “.Languages” “%ProgramFiles%Notepad++localization” /s /e
    Might be useful for others.

  3. Avatar photo Eric Miller says:

    Prajwal, thank you for this! This worked great with one exception. The application installs, but SCCM display a status “Failed”, “Unable to make changes to your software”. What’s strange is that it actually does install though.

    1. Hi Eric, if the app is installed while SC says it’s failed, it’s failing at detection method. Ensure that you have configured detection method correctly.

      1. Avatar photo Eric Miller says:

        I get a failed to enforce app error when I open in CMTrace.

  4. Avatar photo Jesus Miguel says:

    Hi Prajwal

    I need to update de Notepad++ in all plataform, it´s possible? How?

    Regards

  5. Hello sir..i have to remove edit plus software via sccm in our 60 client system..please share the command so i can do this easily.

  6. Avatar photo Jannis Jacobsen says:

    I figured out how to get the uninstall working correctly.
    This is on 64bit windows with 64bit notepad++ version:
    uninstall program: “%ProgramFiles%\Notepad++\uninstall.exe” /S _?=%ProgramFiles%\Notepad++

    If not using _?= line above at the end, the Nullsoft installer will copy the uninstall.exe to a temp folder, and run it from there.
    The previous instance dies right away, and software center still sees the application installed.
    The _?= stops it from spawning to a different dir.
    Only drawback is that the folder + uninstall.exe will still be on the drive, but that’s a minor issue imho

    1. LEGEND! This has been pissing me off all day today, i saw that it was spawning out another process however it seems that is completely independent. Good work.

  7. Hi Prajwal,

    For the step “Specify the folder path where the installer is located. Set the install and uninstall options as shown in the screenshot and click Next.”, Install.exe does not work. Is the install.exe referring to the notepad++ installer executable? Mine is named differently, “npp.7.5.Installer.exe”, and failed.

    In my client laptop, I checked AppEnforce.log. There is an error message – “invalid executable file Installer.exe”. I went back to my console, modified the deployment type to change the installation file name.

    How can i re-deploy this installation for notepad++ to my client laptop?

    1. Avatar photo Jannis Jacobsen says:

      Install.exe is not the correct filename for the installer.
      It’s correct name is, as you say npp.7.5.Installer.exe and should be installed like this:
      “npp.7.5.Installer.exe” /S

  8. Check the boundary and boundary group. Check if a valid distribution point is serving the boundary group.

  9. Avatar photo Federico Mendoza Jr says:

    Hi Prajwal Installation Failed. Notepad++ Version: npp.7.5.Installer.x64
    Error Code: The software change returned error code 0x87D01106(-2016407290).
    thanks

  10. How do you disable the automatic updates in Notepad++ and the Plugin Manager? That’s the interesting point for deploying large environments.

  11. How do you disable the automatic update check for Notepad++ and the Plugin Manager? This is the real interesting part in deploying Notepad++ in a large environment.

    1. Avatar photo Marcus Culver says:

      In the registry is an entry inside “HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallNotepad++” called “MementoSection_AutoUpdate” one would suggest changing this to a 0 for off.

      Please Note: The above registry entry is for 64-bit installations.

  12. Avatar photo Alexander Mayzanov says:

    Uninstall does not work. did you check it?

Leave a Reply

Your email address will not be published. Required fields are marked *