disable notepad++ updates on install or through script - Windows 7

9,441

Solution 1

There's a couple of ways you could do it. If you don't deploy the updater folder then the updating functionality won't work (and you don't appear to get any error messages). If you just want to disable the option you'll need to edit the user's config.xml file, e.g.

C:\Users\<user>\AppData\Roaming\Notepad++\config.xml

The line you're after is:

<GUIConfig name="noUpdate" intervalDays="15" nextUpdateDate="20140606">no</GUIConfig>

Change the 'no' to 'yes' and the auto-update checking will stop.

Solution 2

For fresh installs, a good solution is the following:

C:\Program Files (x86)\Notepad++\config.model.xml

Modify the line:

From:

< GUIConfig name="noUpdate" > no < /GUIConfig >

To:

< GUIConfig name="noUpdate" > yes < /GUIConfig >

So essentially new user profiles will be populated with a NoUpdate set to yes.

This is especially useful for SCCM and silent deployments.

Share:
9,441

Related videos on Youtube

Yanzzee
Author by

Yanzzee

Updated on September 18, 2022

Comments

  • Yanzzee
    Yanzzee over 1 year

    I deploy notepad++ to several computer labs where end users don't have administrative rights. I am able to deploy the software, but I need to turn off automatic updates so they aren't getting popups when the next version comes out. Is there a way to do this either via command line switches on install or after install by modifying the registry, or other files? I am currently installing with: "npp.6.6.9.Installer.exe" /S

  • DavidPostill
    DavidPostill over 7 years
    This duplicates another answer and adds no new content. Please don't post an answer unless you actually have something new to contribute.
  • EricSP
    EricSP over 7 years
    Umm you did not read correctly dude. The answer above mine is a modification to the %users% realm, my instructions makes sure that all future users do not get impacted as well. Please if you got nothing good to comment, don't comment at all.