That's not the real problem, since it gets deleted as soon as SeaMonkey restart by the installer (locked files are deleted/removed on browser restart by default).therube wrote:(Older) NoScript.jar is left in profile /chrome/ - haven't restarted yet.
The problem is that SeaMonkey has no notion of "deregistering (uninstalling) chrome", therefore when noscript.jar gets deleted, it's still referenced by the chrome registry (chrome.rdf, overlays.rdf and stylesheets.rdf).
As I said, SeaMonkey deletes it before really starting because it's been instructed by the installer, then...therube wrote: Restarted.
Well I guess you know the answer. (As I watched the profile /chrome/ version disappear.)
An that's the tricky part. I wrote an "uninstaller" which edits the 3 files of the chrome registry on the fly, but the problem is that SeaMonkey cannot see it until the browser is restarted, and the funny thing is that SeaMonkey has no notion of "restart". It supports "live" profile management and switching, but just can't restart on the same profile (at a certain point I was tempted to make it "migrate" your profile and start on a new profile, then deleting the copy, but it was too risky).therube wrote: Then I guess you know what happened next. (The dialog box along with a fubar'd SeaMonkey.)
In the end I decided to do it the clunky but safe way, by forcibly shutting down the browser (after warning the user and setting it offline so you don't risk a NoScript-unprotected encounter), so...
... as expectedtherube wrote: And yes, (another) restart did set things straight.

Yes, it basically does the same dance as above but in the Program directory rather than in the profile one.therube wrote: Since I've already been "unexpected", just what does an Uninstall do?
Leaves my settings in prefs.js & in /ABE/, & only installs the program portions, I'll assume?
Additionally it deletes also noscriptService.js from the components directory, so the component doesn't get registered.
Yes, because it usually cannot be deleted while SeaMonkey is running and NoScript is installed (it's locked by the browser).therube wrote: Uninstall did leave noscript.jar in Program /chrome/.
However, since there's no registration info left, it doesn't get loaded at all anymore.