Closed Bug 235180 Opened 21 years ago Closed 21 years ago

RFE: XPInstall engine should support uninstall scripts

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 161508

People

(Reporter: roland.mainz, Unassigned)

Details

RFE: XPInstall engine should support uninstall scripts. XPI packages should be able to provide uninstall scripts (uninstall.js) which should enable Mozilla/FireFox/ThunderBird/etc. to uninstall add-ons. There should be an "Uninstall" button when the package provides an "uninstall.js" script (the button should be disabled if there is no such script).
We don't need a separate uninstall.js. Instead, we need to reverse the actions which are saved in the install log. This is being worked on for firebird, and will probably make it back into seamonkey. *** This bug has been marked as a duplicate of 161508 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Benjamin Smedberg wrote: > We don't need a separate uninstall.js. Instead, we need to reverse the > actions which are saved in the install log Such an action will FAIL if the install.js does something which is unexpected by your uninstall engine. Some actions are not "reverseable" (think about package dependicies), therefore such a design will not work.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.