Closed
Bug 741174
Opened 13 years ago
Closed 13 years ago
Add a silent install option for Mozilla Maintenance Service
Categories
(Firefox :: Installer, defect)
Tracking
()
RESOLVED
FIXED
Firefox 16
People
(Reporter: hectorz, Assigned: hectorz)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
1021 bytes,
patch
|
bbondy
:
review+
|
Details | Diff | Splinter Review |
User can silently install Firefox and customize install path and shortcuts using a configuration ini file[1], and Firefox will never be set as default browser during silent install[2].
Mozilla Maintenance Service is now a customizable component in the custom install process. In the silent install process, whether it will be installed is based on platform and user priviledge, and cannot be controlled with the ini file.
The network installer distributed by Beijing office pass user install options to the background downloaded Firefox installer using a generated ini file, so we need this to give user control over the installation of the maintenance service.
Thanks!
[1]: https://wiki.mozilla.org/Installer:Command_Line_Arguments
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=440704
![]() |
Assignee | |
Comment 1•13 years ago
|
||
A patched version of Firefox 12 installer is distributed by Beijing office as a temporary solution. Attached is the said patch.
Comment 3•13 years ago
|
||
Comment on attachment 617803 [details] [diff] [review]
Patch, temporary silent install option for maintenance service
Marking myself to review this so we can get it landed
Attachment #617803 -
Flags: review?(netzen)
Comment 4•13 years ago
|
||
Comment on attachment 617803 [details] [diff] [review]
Patch, temporary silent install option for maintenance service
Thanks for the patch Hector, would you mind doing one more pass with the below comments implemented? Then it should be good to land.
The problem with having a "${If} ${Errors}" check here is if any of the other optional options are not present, the MaintenanceService option will not be used. What I mean is any ReadINIStr can set an error, not just the MaintenanceService check.
We should instead just take off the "${If} ${Errors}" check here since we just clear the errors after anyway.
Attachment #617803 -
Flags: review?(netzen) → review-
Updated•13 years ago
|
Assignee: nobody → bzhao
![]() |
Assignee | |
Comment 5•13 years ago
|
||
Thanks for the review, Brian!
I think worries back then was, if users reuse their locally saved earlier version of network installer, an ini file with no MaintenanceService entry will be passed to the newly downloaded Firefox installer, and I'm not sure if I can safely check $R8 in such situation.
Attachment #617803 -
Attachment is obsolete: true
Attachment #632988 -
Flags: review?(netzen)
Comment 6•13 years ago
|
||
Comment on attachment 632988 [details] [diff] [review]
Patch v2
Review of attachment 632988 [details] [diff] [review]:
-----------------------------------------------------------------
Yup if you're using an old build that doesn't have the new code for "MaintenanceService" then it'll just put an empty string for $R8 so I think this is good as is. We call ClearErrors anyway after the /INI= block.
Do you have L3 push access already? If so please land away. If not I can land this for you.
Thanks for the patch and the quick implementation of the review comments!
Attachment #632988 -
Flags: review?(netzen) → review+
Updated•13 years ago
|
Target Milestone: --- → Firefox 16
Comment 7•13 years ago
|
||
I updated the documentation here:
https://wiki.mozilla.org/Installer:Command_Line_Arguments
Keywords: dev-doc-complete
![]() |
Assignee | |
Comment 8•13 years ago
|
||
(In reply to Brian R. Bondy [:bbondy] from comment #6)
> Do you have L3 push access already? If so please land away. If not I can
> land this for you.
>
I don't have commit access, so please help me land this, thanks!
Comment 10•13 years ago
|
||
Pushed to m-i, someone will migrate that to mozilla-central in around a day. Thanks again for the patch!
http://hg.mozilla.org/integration/mozilla-inbound/rev/ea52f4eb380c
Status: NEW → ASSIGNED
![]() |
Assignee | |
Comment 11•13 years ago
|
||
Thank you for helping me get my first patch landed!
Comment 12•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•