Hi Will,
you can’t use the /S and –ms switches toghether with an ini file. I do it like
this:
"%ScriptPath%\Firefox Setup 45.5.1esr.exe" /INI=%ScriptPath%\firefox.ini
%ScriptPath% is an opsi software distribution variable, you need the full path.
firefox.ini contains the following:
[Install]
InstallDirectoryName=Mozilla Firefox
; InstallDirectoryPath=c:\firefox\
QuickLaunchShortcut=false
; DesktopShortcut=false
; StartMenuShortcuts=false
; StartMenuDirectoryName=Mozilla Firefox
MaintenanceService=false
This disables the maintenance service and always does a silent install!
Afterwards I do copy mozilla.cfg and autoconfig.js to
copy "%ScriptPath%\files\mozilla.cfg" "$InstallDir$"
copy "%ScriptPath%\files\autoconfig.js" "$InstallDir$\defaults\pref"
Where $InstallDir$ is the FF installation directory.
mozilla.cfg contains:
// Disable the Updater
lockPref("app.update.enabled", false);
// Make sure it’s really off
lockPref("app.update.auto", false);
lockPref("app.update.mode", 0);
lockPref("app.update.service.enabled", false);
// Disable the know your rights.
pref("browser.rights.3.shown", true);
// Hide „What’s new“ on first start
pref("browser.startup.homepage_override.mstone","ignore");
// Disable the internal PDF-Viewer
pref("pdfjs.disabled", true);
// Disable the Flash to JavaScript Converter
pref("shumway.disabled", true);
// Suppress the Flash Plugin installation notification
pref("plugins.notifyMissingFlash", false);
// disable the 'health reporter'
lockPref("datareporting.healthreport.service.enabled", false);
// Disable all data upload (Telemetry and FHR)
lockPref("datareporting.policy.dataSubmissionEnabled", false);
// Disable the 'crash reporter'
lockPref("toolkit.crashreporter.enabled", false);
Components.classes["@mozilla.org/toolkit/crash-reporter;1"].getService(Components.interfaces.nsICrashReporter).submitReports
= false;
and autoconfig.js:
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);
You can add your own settings to mozilla.cfg, just check about:config .
Mit freundlichen Grüßen / Best regards
Hendrik Noack
--
Axxedia IT GmbH
Schwabstr. 30
71106 Magstadt
Tel +49 7159 4979763
Fax +49 7159 4979775
Mail <mailto:[email protected]> [email protected]
Sitz der Gesellschaft: Schwabstr. 30, 71106 Magstadt
Geschäftsführer: Hendrik Noack . Amtsgericht: Stuttgart HRB 727296
Von: Enterprise [mailto:[email protected]] Im Auftrag von William
Spratt
Gesendet: Donnerstag, 1. Dezember 2016 17:58
An: [email protected]
Betreff: [Mozilla Enterprise] two cmd line install switches query
Hi All,
I can successfully get the both switches (/S and –ms) to work for Firefox to
install silently.
However, I can’t get the –setDefaultBrowser (to automatically make Firefox the
default browser on install) and MaintenanceService=false (to stop the
maintenance service software to install) switches to work. Has anyone managed
this?
Regards
Will
Will Spratt
IT Scientific Support Specialist
Fera Science Ltd.
<mailto:[email protected]> [email protected] | Tel +44 (0)1904
46 2631 | Mob +44 (0)7810855621
<http://www.fera.co.uk/> www.fera.co.uk | <https://twitter.com/ferascience>
Twitter | <https://www.linkedin.com/company/fera-science> LinkedIn |
<http://www.youtube.com/user/FeraUK1> YouTube
<http://fera.co.uk/files/signatures/OriGen-Logo.jpg>
Introducing OriGen - Fera’s new contamination traceback service
Utilising whole genome sequencing we can help you prevent future product
recalls
For more details click
<http://fera.co.uk/food-safety-quality/riskidentification/origen.cfm> here.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Enterprise mailing list [email protected] https://mail.mozilla.org/listinfo/enterprise To unsubscribe from this list, please visit https://mail.mozilla.org/listinfo/enterprise or send an email to [email protected] with a subject of "unsubscribe"

