Closed Bug 190360 Opened 22 years ago Closed 22 years ago

GRE Uninstall does not remove registry keys

Categories

(Core Graveyard :: Installer: GRE, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: carosendahl, Assigned: ssu0262)

Details

(Keywords: regression, topembed+)

Attachments

(1 file)

hklm\software\mozilla.org\gre is not removed when uninstalling GRE from
add/remove programs.

Check the version strings(if any) among possible reasons as to why the keys are
being left around.

note a:  the following directory is also left behind - 
program files\mozilla.org\GRE
Keywords: nsbeta1
Summary: GRE Unisntall does not remove registry keys → GRE Uninstall does not remove registry keys
yeah, I just noticed this bug too.  I'm not sure why it's not removing the
windows registry keys.  I was working in all of my test builds before I landed
the patch.

I'll look into it.
Status: NEW → ASSIGNED
This should be fixed for 1.3b.  It does not remove any registry keys now.  It
used to work.

I have found the problem.  It's a trivial fix.  It turns out that one of the
lines in the code got accidently deleted.  I have tested the fix and it works again.

1 line patch coming up.
Flags: blocking1.3b?
Attached patch patch v1.0Splinter Review
the fix is in the uninstaall/parser.c file.

The other two files are only used to help build *test* builds.	They are not
part of anyone's build process.
Comment on attachment 112639 [details] [diff] [review]
patch v1.0

the one line fix simply makes sure that the uninstaller is able to parse for
the root key in the following example:
  HKEY_LOCAL_MACHINE\Software\mozilla.org\GRE

without that one line, it was not able to get at just 'HKEY_LOCAL_MACHINE'.

That line was there before.  Just was accidently removed.
Attachment #112639 - Flags: superreview?(dveditz)
Attachment #112639 - Flags: review?(sgehani)
Comment on attachment 112639 [details] [diff] [review]
patch v1.0

We questioned this during the review of bug 186703  and said it was OK but
didn't realize you are parsing from right to left here.

r=sgehani
Attachment #112639 - Flags: review?(sgehani) → review+
Flags: blocking1.3b? → blocking1.3b+
Comment on attachment 112639 [details] [diff] [review]
patch v1.0

rs=sspitzer
Attachment #112639 - Flags: superreview?(dveditz) → superreview+
Comment on attachment 112639 [details] [diff] [review]
patch v1.0

sr=dveditz
Comment on attachment 112639 [details] [diff] [review]
patch v1.0

Approving with the assumption that the version changes weren't supposed to be
included.
Attachment #112639 - Flags: approval1.3b+
patch checked in.  marking bug fixed.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Verified - base uninstalls (final app depending upon GRE) remove all GRE entries
from the registry in both local machine and current user

20030227 trunk builds.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: