Closed
Bug 1425468
Opened 6 years ago
Closed 6 years ago
Add command-line parameters for customizing full installer behavior
Categories
(Firefox :: Installer, enhancement, P1)
Tracking
()
RESOLVED
FIXED
Firefox 62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: molly, Assigned: molly)
References
Details
Attachments
(1 file)
Currently the full installer accepts only two command-line parameters, one to trigger a silent (GUI-less) installation using the default settings (spelled either /S or -ms), or a second one to specify an INI file containing all other available options (which also triggers a silent install). We should add command-line parameters/flags for the settings that are available in the INI file, so that the installer can be deployed by an administrator with customized settings without also needing to deploy an INI file.
Comment 1•6 years ago
|
||
For reference: https://wiki.mozilla.org/Installer:Command_Line_Arguments
Comment 2•6 years ago
|
||
Command line installers does not help. This is something nobody needs. We only need MSI installer or we cannot deploy software via Active Directory. There is nothing to discuss in an enterprise mailing list about this. This is simply waste of time.
Assignee | ||
Updated•6 years ago
|
Priority: P3 → P2
Comment hidden (mozreview-request) |
Comment 5•6 years ago
|
||
mozreview-review |
Comment on attachment 8969785 [details] Bug 1425468 - Add command-line parameters for setting full installer options. https://reviewboard.mozilla.org/r/238614/#review245354 ::: browser/installer/windows/nsis/installer.nsi:225 (Diff revision 1) > ${EndIf} > ${EndUnless} > > + ${GetParameters} $R8 > + ${InstallGetOption} $R8 "RemoveDistributionDir" $R9 > + ${InstallGetOption} $R8 "PreventRebootRequired" $PreventRebootRequired Elsewhere $PreventRebootRequired is checked for "true", this will set it to "1" if the switch is present ::: toolkit/mozapps/installer/windows/nsis/common.nsh:5025 (Diff revision 1) > > + ${GetParameters} $R8 > ${If} $R8 != "" > + ; If there's anything on the command line at all, assume that means > + ; we're trying to do a silent install. > + SetSilent silent This should probably be mentioned in the documentation (any command line parameter triggers silent)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 8•6 years ago
|
||
mozreview-review |
Comment on attachment 8969785 [details] Bug 1425468 - Add command-line parameters for setting full installer options. https://reviewboard.mozilla.org/r/238614/#review245964 Looks good, thanks!
Attachment #8969785 -
Flags: review?(agashlin) → review+
Comment 9•6 years ago
|
||
I'm sorry I didn't spot this: UAC elevation in NSIS works by passing an arg to the installer, so if the installer elevates we're always going to be silent.
Comment 10•6 years ago
|
||
mozreview-review |
Comment on attachment 8969785 [details] Bug 1425468 - Add command-line parameters for setting full installer options. https://reviewboard.mozilla.org/r/238614/#review246026
Attachment #8969785 -
Flags: review+ → review?(agashlin)
Comment hidden (mozreview-request) |
Comment 12•6 years ago
|
||
mozreview-review |
Comment on attachment 8969785 [details] Bug 1425468 - Add command-line parameters for setting full installer options. https://reviewboard.mozilla.org/r/238614/#review246206
Attachment #8969785 -
Flags: review?(agashlin) → review+
Updated•6 years ago
|
Assignee: nobody → mhowell
Comment 13•6 years ago
|
||
Pushed by mhowell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/48a0e24a2b3e Add command-line parameters for setting full installer options. r=agashlin
Comment 14•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/48a0e24a2b3e
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 62
You need to log in
before you can comment on or make changes to this bug.
Description
•