You are here

Notepad++ Upgrade deletes plugins

5 posts / 0 new
Last post
Jimbo
Offline
Last seen: 4 years 8 months ago
Joined: 2007-12-17 05:43
Notepad++ Upgrade deletes plugins

When I updated from the previous version (portable) to 4.8, it cleaned out everything in the app folder, which included my manually installed plugins.

I had a couple of extra dll files that I'd installed in \PortableApps\Notepad++Portable\App\Notepad++\plugins\ alongside the ones it ships with. Is there some other folder that is persistent in the portable version, or this this something that may need to be looked at in the launcher?

Happily, I had a backup of the plugins, so it was easy to reinstall them, and they work fine now that I have done so.

I tested again, and updating 4.8 to 4.8 did the same again, deleting the plugins.

John T. Haller
John T. Haller's picture
Online
Last seen: 27 min 18 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Hmm

The installer doesn't touch any of the plugins themselves other than LightExplorer (which has been replaced by Explorer in later releases of Notepad++). Here's the actual code from the installer:

;=== BEGIN: PRE-INSTALL CODE
;4.8
RMDir /r "$INSTDIR\Other\Notepad++PortableSource"
RMDir /r "$INSTDIR\Other\Notepad++Source"
Delete "$INSTDIR\App\Notepad++\plugins\LightExplorer.dll"
Delete "$INSTDIR\Data\LightExplorer.ini"
;=== END: PRE-INSTALL CODE

Other than removing the old source directories and the lightexplorer plugin, nothing is altered from an existing install. The only thing I can think of is that Notepad++ itself is removing them as it realizes it is upgrading a configuration file from an earlier version.

Sometimes, the impossible can become possible, if you're awesome!

Jimbo
Offline
Last seen: 4 years 8 months ago
Joined: 2007-12-17 05:43
Ironically....

it was lightexplorer that I noticed was missing.

I use it instead of Explorer because Explorer can't seem to handle UNC pathnames, while LightExplorer works with them just fine.

But thanks for looking into it.

John T. Haller
John T. Haller's picture
Online
Last seen: 27 min 18 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Ah

Ah, that makes sense then. Notepad++ bundled Explorer up until version 4.2ish and then switched to LightExplorer because Explorer was crashing. Once fixed, they switched back. I'll alter the later installer to look for the version on upgrade (as the new Miranda IM installer does) to figure out whether to mess with LightExplorer. The Notepad++ Launcher itself will still portablize either or both plugins (altering your last open path as you switch drive letters). Sorry for any inconvenience there.

Sometimes, the impossible can become possible, if you're awesome!

Jimbo
Offline
Last seen: 4 years 8 months ago
Joined: 2007-12-17 05:43
Excellent

and it was hardly an inconvenience. Thank you for putting so much of your time into this project! Smile

Log in or register to post comments