Closed
Bug 142282
Opened 23 years ago
Closed 23 years ago
Add Supercede attribute to component sections in config.ini
Categories
(SeaMonkey :: Installer, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: dprice, Assigned: dprice)
Details
(Whiteboard: [adt1] [m5+] [ETA 05/07])
Attachments
(2 files, 1 obsolete file)
18.89 KB,
patch
|
Details | Diff | Splinter Review | |
19.34 KB,
patch
|
slogan
:
review+
mscott
:
superreview+
chofmann
:
approval+
|
Details | Diff | Splinter Review |
We want to be able to force the installer to skip a component if a condition is
met, like a file existing, a registry key being set, or a newer version is
installed. To do this we can add the following optional attributes to component
sections in the config.ini
SupercedeType=[File Exists/Registry Key/Version]
SupercedeFile=Path to file
SupercedeKey=Key Name
SupercedeVersion=number
Assignee | ||
Comment 1•23 years ago
|
||
This patch isn't perfect. It greys out and unselects the right item. But full
and recommended installs are bringing up the additional componments window.
I'm not sure why, so I'm posting it here in case someone has a suggestion.
Comment 2•23 years ago
|
||
Needed to support buscape 14738
http://bugscape.netscape.com/show_bug.cgi?id=14738
Keywords: nsbeta1+
Whiteboard: [adt1] [m5+] [ETA 05/05] [Needs r/sr/a=]
Assignee | ||
Comment 3•23 years ago
|
||
Thanks to some great help from ssu, this patch it working. It only covers the
File Exists Supercede type. It does all that's needed for bugscape 14738
Attachment #82347 -
Attachment is obsolete: true
Comment 4•23 years ago
|
||
Who can provide r/sr= for this fix?
can someone suggest a non commercial example of how this would be used?
Assignee | ||
Comment 6•23 years ago
|
||
Netscape ships with Real Player 8. But Real One is out. If Real One is on the
system, the Real Player 8 installer simply quits without doing anything. In
that case Downloading the RP8 installer is a waste of time. With the Supercede
attribute we can force the installer to skip the RP8 download if Real One is
found on the system.
Comment on attachment 82381 [details] [diff] [review]
patch
sorry David. the patch still needs work. A new feature that Curt added to the
installer (a while back) contained bugs that this feature exposed. I had to
fix those bugs in order to get your patch to work.
I'll attach the patch that works for me.
David, please do a diff between your patch and my patch to see the changes I
made.
Attachment #82381 -
Flags: needs-work+
David, sorry for creating my own patch ontop of yours. I'm just trying to get
this bug fixed asap due to the hectic schedule that we have.
Could you also make sure that this new patch looks okay and still works as
expected? Thanks.
Assignee | ||
Comment 10•23 years ago
|
||
r=dprice for ssu's changes to my fix.
Comment 11•23 years ago
|
||
Comment on attachment 82451 [details] [diff] [review]
patch v1.0 (dprice w/minor ssu fixes)
r=syd
Attachment #82451 -
Flags: review+
Comment 12•23 years ago
|
||
Comment on attachment 82451 [details] [diff] [review]
patch v1.0 (dprice w/minor ssu fixes)
sr=mscott...sean went over the patch with me.
Attachment #82451 -
Flags: superreview+
Comment 13•23 years ago
|
||
adt1.0.0+ (on ADT's behalf) approval for checkin to the 1.0 brnach. Pls check
this in after you receive a= from Drivers, then add the fixed1.0.0 keyword.
Comment 14•23 years ago
|
||
dprice, please get this in the trunk and mark it fixed
Comment 15•23 years ago
|
||
a=chofmann for the 1.0 branch. get this in and let's shake on it hard in the
5/7 builds. let's get testing from both the installer and plugin's perspective
on this one.
Comment 16•23 years ago
|
||
Comment on attachment 82451 [details] [diff] [review]
patch v1.0 (dprice w/minor ssu fixes)
a=chofmann for the 1.0 branch
Attachment #82451 -
Flags: approval+
Updated•23 years ago
|
Whiteboard: [adt1] [m5+] [ETA 05/05] [Needs a=] → [adt1] [m5+] [ETA 05/07]
Assignee | ||
Comment 18•23 years ago
|
||
on the branch or the trunk
Assignee | ||
Comment 19•23 years ago
|
||
branch or trunk... guess which? I mean on the branch AND the trunk
Updated•23 years ago
|
Keywords: fixed1.0.0 → verified1.0.0
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•