I just figured this out. The default browser can be set thusly:

Add this into your Mozilla.cfg

// Change default search engine to Google
Components.utils.import("resource://gre/modules/Services.jsm");
var searchService = Services.search;
var engine = searchService.getEngineByName("Google");
searchService.currentEngine = engine;


J. Mathew Riggs | Support Systems Admin Specialist | UMKC IS Support Services
                                                    Tech Support: 816-235-2000 
| Desk: 816-235-5737

From: Enterprise [mailto:enterprise-boun...@mozilla.org] On Behalf Of William 
Spratt
Sent: Thursday, December 1, 2016 10:58 AM
To: enterprise@mozilla.org
Subject: [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

[http://fera.co.uk/files/signatures/Fera-Logo.jpg]

Will Spratt
IT Scientific Support Specialist
Fera Science Ltd.


william.spr...@fera.co.uk<mailto:william.spr...@fera.co.uk> | Tel +44 (0)1904 
46 2631 | Mob +44 (0)7810855621

www.fera.co.uk<http://www.fera.co.uk/> | 
Twitter<https://twitter.com/ferascience> | 
LinkedIn<https://www.linkedin.com/company/fera-science> | 
YouTube<http://www.youtube.com/user/FeraUK1>

[Image removed by sender. OriGen-Logo]

Introducing OriGen - Fera’s new contamination traceback service
Utilising whole genome sequencing we can help you prevent future product recalls
For more details click 
here<http://fera.co.uk/food-safety-quality/riskidentification/origen.cfm>.
_______________________________________________
Enterprise mailing list
Enterprise@mozilla.org
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
enterprise-requ...@mozilla.org with a subject of "unsubscribe"

Reply via email to