For as long as I've used NPP, the "Update N++" menuitem has never actually found an update. Does this normally work? Am I the only one for whom it's broken?
It does work, but becomes active only 15 days after a release. This is a safety net against the spreading of critical bugs.
Can we put a warning or setting or something in there to allow people who want to, to be able to force an update when it's been less than 15 days?
Yeah! That would be appreciated!
The setting does exist in config.xml. Edit it and look for "noUpdate". Enjoy.
Ok, so I edited the config.xml file, changing the noUpdate line to this:
<GUIConfig name="noUpdate" intervalDays="0" nextUpdateDate="20080426">yes</GUIConfig>
Then I used the update option to check for updates and sure enough a new version was found. I then told N++ to update itself. But nothing seemed to happen. The version stayed the same and the config.xml file was reverted to the default.
Am I doing it wrong?
Yes. Setting "noUpdate" to Yes does what it says - no update. Try again with "no".
Really? I changed mine from "no" to "yes" and it updated to 5.6.6 on the next startup. (I had to edit it in notepad with N++ closed so it wouldn't revert.) The weird thing was that the intervalDays was still at 15 and it hasn't been 15 days yet.
Hmmm I'll check the sources, as the setting is otherwise undocumented. Will update the wiki page if there's an inaccuracy there.
Has anyone ever found a working solution to this problem ?
I would like to update my version from 5.2 to latest available -
I tried mods suggested but nothing happened. - still no update
That's not my understanding of how auto-update works. The 15 days setting in the config.xml is how often N++ should check for an update. The file that says what version is "current", lies on the website, and is manually updated (I presume by Don). This update is done, as far as I'm aware, when the release is considered stable enough. There was a change is the gup.exe with (from memory) 5.4, so versions prior to that will not auto-update - due to a change in the way SF downloads works.
The current file on SF is reporting 5.7 as the latest version. Presumably because the 5.8 stream is still in flux, and we've had a quick succession of 5.8.x releases. If 5.8.4 turns out to be pretty stable, I would imagine that would be changed.
You can see for yourself what happens when you visit the url (the version on the end indicates your current version)
The 15 days simply says how often it should check this url.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.