Closed Bug 229477 Opened 21 years ago Closed 8 months ago

Make XPInstall Confirm/Progress dialogs XPCOM components

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE
mozilla1.8alpha1

People

(Reporter: bugs, Assigned: bugs)

Details

Attachments

(1 file)

Out of the discussion of bug 227796, we decided it was best for embedding clients (Seamonkey, Firebird, Camino, for example) that want to use XPInstall for the XPInstall FE to be implemented as a XPCOM component. Native FEs like Camino can implement this component and use it to drive native widgetry, XUL FEs like Seamonkey and Firebird can use it to drive a XUL/JS FE.
Shove this out a bit.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8alpha
confirmInstall will catch the first InstallTrigger.install() callback: - push in front the current installation and stop the current one (recursive call allowed) - if no runnning installation, store the calling window for the second callback openProgressDialog will catch the second Installtrigger.install() callback: - open the installation dialog using the stored window in the first call - of got recursive call call setProgressDialog function of the installation dialog
(In reply to comment #0) > Out of the discussion of bug 227796, we decided it was best for embedding > clients (Seamonkey, Firebird, Camino, for example) that want to use XPInstall > for the XPInstall FE to be implemented as a XPCOM component. Native FEs like > Camino can implement this component and use it to drive native widgetry, XUL FEs > like Seamonkey and Firebird can use it to drive a XUL/JS FE. This not really required as it is possible to implement the "@mozilla.org/embedui/xpinstall-dialog-service;1" and then drive completelly the two dialogs used during the installation. I'm close to finish the port of Inno Setup under Mozilla1.6. You install the installer which then can be used to install multiple package based on various parameters (like Inno Setup) e.g. Module Selection, etc..
QA Contact: xpi-engine
Product: Core → Core Graveyard
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: