Closed Bug 55276 Opened 24 years ago Closed 24 years ago

regchrome will not remove entries even when installed-chrome.txt is updated

Categories

(Core :: XUL, enhancement, P3)

enhancement

Tracking

()

VERIFIED WONTFIX

People

(Reporter: masaki.katakai, Assigned: hyatt)

Details

It seems that regchrome will not remove entries when
some entries are removed from installed-chrome.txt.
For example, I put ja-JP.jar and add the following
entries to installed-chrome.txt. And run regchrome.

locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/necko/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/ja-JP/browser/
locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/editor/
locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/navigator/
locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/communicator/
locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/global/
locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/messenger/

all-locales.rdf was updated properly. However, when I removed
the ja-JP entries from installed-chrome.txt. regchrome did not
removed the entries from all-locales.rdf.

I'm not sure it's a bug or correct behavior of regchrome.
Please advise.
this is as intended, regchrome causes the installed-chrome.txt to be processed 
and add the information to your chrome *.rdf files, it will not 
remove/uninstall items. In the meanwhile you can delete your *.rdf files and 
then use regchrome to regenerate brand new ones.

hyatt: any plans to ever enable uninstalling chrome?
Assignee: dveditz → hyatt
Component: Installer: XPInstall Engine → XP Toolkit/Widgets: XUL
Thanks. Removing *.rdf files can be a reasonable workaround.
This is the correct behavior.  installed-chrome.txt is just a useful hint to 
help register chrome at startup.  The chrome registry already supports APIs for 
uninstalling chrome, and you should use those to perform a removal.
Status: NEW → RESOLVED
Closed: 24 years ago
Marking Verified.
Status: RESOLVED → VERIFIED
mid-air collision ? / bugzilla cleanup
Reopening (current State: verified and no resolution
Status: VERIFIED → REOPENED
marking wontfix
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → WONTFIX
verfied
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jimmykenlee → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.