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

1

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

Yanzzee

Posted 2014-10-17T20:14:11.593

Reputation: 413

did you check or ask on http://sourceforge.net/p/notepad-plus/discussion/

– Keltari – 2014-10-17T20:29:24.057

I looked briefly, but didn't find anything. I'll take a closer look. – Yanzzee – 2014-10-29T20:54:16.720

Answers

2

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.

snowdude

Posted 2014-10-17T20:14:11.593

Reputation: 2 560

1

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.

EricSP

Posted 2014-10-17T20:14:11.593

Reputation: 21

This duplicates another answer and adds no new content. Please don't post an answer unless you actually have something new to contribute. – DavidPostill – 2016-12-14T15:20:08.117

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. – EricSP – 2017-01-11T14:11:42.067