Closed Bug 142282 Opened 23 years ago Closed 23 years ago

Add Supercede attribute to component sections in config.ini

Categories

(SeaMonkey :: Installer, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dprice, Assigned: dprice)

Details

(Whiteboard: [adt1] [m5+] [ETA 05/07])

Attachments

(2 files, 1 obsolete file)

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
Attached patch patch .1 (obsolete) — Splinter Review
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.
Keywords: nsbeta1+
Whiteboard: [adt1] [m5+] [ETA 05/05] [Needs r/sr/a=]
Attached patch patchSplinter Review
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
Who can provide r/sr= for this fix?
can someone suggest a non commercial example of how this would be used?
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.
I'll work with sean on getting a review
r=dprice for ssu's changes to my fix.
Comment on attachment 82451 [details] [diff] [review] patch v1.0 (dprice w/minor ssu fixes) r=syd
Attachment #82451 - Flags: review+
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+
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.
Keywords: adt1.0.0+, approval
Whiteboard: [adt1] [m5+] [ETA 05/05] [Needs r/sr/a=] → [adt1] [m5+] [ETA 05/05] [Needs a=]
dprice, please get this in the trunk and mark it fixed
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 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+
Set QA contact to K'trina.
QA Contact: bugzilla → ktrina
Whiteboard: [adt1] [m5+] [ETA 05/05] [Needs a=] → [adt1] [m5+] [ETA 05/07]
on the branch or the trunk
Status: NEW → RESOLVED
Closed: 23 years ago
Keywords: fixed1.0.0
Resolution: --- → FIXED
branch or trunk... guess which? I mean on the branch AND the trunk
Verified code fix
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: