Closed
Bug 157522
Opened 23 years ago
Closed 22 years ago
additionally installed software (gestures, extensions...) are lost after 'update'
Categories
(SeaMonkey :: Installer, defect)
SeaMonkey
Installer
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: damir.perisa, Assigned: dprice)
References
Details
Attachments
(2 files, 1 obsolete file)
831 bytes,
patch
|
dveditz
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
854 bytes,
patch
|
dveditz
:
superreview+
|
Details | Diff | Splinter Review |
when you install the newest nightly-build over the yesterday-build, all
additional software (gestures and other usefull things) are disabled and
need to be re-installed - not so themes
this problem is minor, because most users dont install each day the newest
build, but the management of add-ons may be enhancable to keep great ones (like
gestures from optimoz or other usefull extension) like themes
while 'updating' to the newest build
Comment 1•23 years ago
|
||
Correct.
This is because themes are installed in the profile directory (c:\docs and
settings\<profile>\App Data\Mozilla\... on winxp/2k), and other installed
software is installed in the mozilla application directory.
Should this be 'Installer: XPInstall Engine' ?
Comment 2•23 years ago
|
||
No, the engine has nothing to do with this. The engine does what it's told, and
it's doing that correctly. It's the native install wizard that's making this
choice (it doesn't on windows, for example).
This is a result of the "fix" for bug 140104 (and many similar, like bug
130088). This problem cannot be solved by the install team alone since we're
zapping stuff to work around problems with the chrome/component system. For most
of the developers if it works in a clobber build then problem's solved, not much
thought is given to upgrade incompatibilities.
There's no near-term fix for this. I'll confirm this and leave it open as a dupe
magnet, but we really need the chrome system to gracefully handle missing
overlays and allow uninstallation of old overlays.
(note that on Mac and Linux this is the way things have always been. We never
attempted an upgrade install in the first place, the old installation was always
deleted first.)
Assignee: dveditz → dprice
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Future
Reporter | ||
Comment 3•23 years ago
|
||
Is it possible to create a new option
(e.g. in the Preferences-SoftwareInstallation)
where you can choose where you want to install new addons per default; either in
the chrome-system/browser-installation or in the user-profile(like themes are
linked)?
Comment 4•23 years ago
|
||
Actually I take back most of my comment 2, the fix for bug 140104 shouldn't have
removed any package that was installed with the DELAYED_CHROME style which is
most of the ones I see, unless we're also deleting installed-chrome.txt for some
reason.
Which we in fact do with [Delete File2] in config.it :-(
Not sure why, maybe the fix for this is as easy as removing that section.
Comment 5•23 years ago
|
||
*** Bug 157609 has been marked as a duplicate of this bug. ***
Comment 6•23 years ago
|
||
I am raising the priority of this problem, as it is not a minor issue. Bug
140104 combined with the following code fragment (I think) wipe out all
installed packages and forces a reinstallation of all of packages.
xpinstall/src/nsRegisterItem.cpp:
293 if (NS_SUCCEEDED(rv))
294 {
295 rv = startupFile->Exists(&bExists);
296 if (NS_SUCCEEDED(rv) && !bExists)
297 rv = startupFile->Create(nsIFile::DIRECTORY_TYPE, 0755);
298 if (NS_SUCCEEDED(rv))
299 {
300 rv =
startupFile->AppendNative(NS_LITERAL_CSTRING("installed-chrome.txt"));
301 if (NS_SUCCEEDED(rv))
302 {
303 rv = startupFile->OpenNSPRFileDesc(
304 PR_CREATE_FILE | PR_WRONLY,
305 0744,
306 &fd);
307 }
308 }
309 }
310
In a corporate environment where it is possible that custome applications have
been created using the XUL framework, the current situation discourages anyone
from upgrading to a newer client should they have chrome package extensions
installed.
Perhaps it is as easy as creating a separate, install independent file such as
delayed-chrome.txt that is never wiped out during installs and has nothing to do
with the browser itself.
Severity: minor → major
Comment 7•23 years ago
|
||
That fragment is innocent, as I mentioned in comment 4 it's the [Delete File2]
section of config.it that's to blame. If we remove that we save any chrome
installed with the DELAYED_CHROME style which writes to installed-chrome.txt.
Most chrome packages use that style because of a mysterious -239 error on Linux
(for a large number of people) if they do not.
Target Milestone: Future → ---
Assignee | ||
Comment 8•23 years ago
|
||
Here's the patch Dan asked for. Can somepoint me to a test case?
Assignee | ||
Comment 9•23 years ago
|
||
a gremlin stole 4 characters from me! It should read...
Can someone point me to a test case?
Assignee | ||
Comment 10•23 years ago
|
||
Attachment #92204 -
Attachment is obsolete: true
Comment 11•23 years ago
|
||
Comment on attachment 92268 [details] [diff] [review]
the right patch
sr=dveditz, but where's the ns-tree patch?
Attachment #92268 -
Flags: superreview+
Assignee | ||
Comment 12•23 years ago
|
||
Comment 13•23 years ago
|
||
Comment on attachment 92319 [details] [diff] [review]
patch 1 - ns changes
sr=dveditz
Attachment #92319 -
Flags: superreview+
Comment 14•23 years ago
|
||
*** Bug 158986 has been marked as a duplicate of this bug. ***
Comment 15•22 years ago
|
||
Comment on attachment 92268 [details] [diff] [review]
the right patch
a=asa (on behalf of drivers) for checkin to 1.1
Attachment #92268 -
Flags: approval+
Comment 16•22 years ago
|
||
Should this be rel-noted ?
Comment 17•22 years ago
|
||
We don't normally relnote bug fixes, the list would be thousands long.
Assignee | ||
Comment 18•22 years ago
|
||
on the trunk
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 19•22 years ago
|
||
verified on builds for 8/6 branch and Mozilla 7/26 upgraded to 8/6
verified code fix- chrome.txt not being deleted
Status: RESOLVED → VERIFIED
QA Contact: bugzilla → gbush
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•