After some more research I found that this seems to work:

"%ProgramFiles(x86)%\Mozilla Firefox\uninstall\helper.exe"
/SetAsDefaultAppUser

Best,
Nicolas

From: "Nicolas Gardi" <[email protected]>
To:"William Spratt" <[email protected]>,
"[email protected]" <[email protected]>
Date: 05 Janvier 2017 08:34
Subject: Re: [Mozilla Enterprise] Setting Firefox as default using a
cmd line
Hi Will,

It has been a while that I am looking for the same thing.

The only thing I could do so far is to force https, http and ftp to be
opened via registry like:

[HKEY_CLASSES_ROOT\https\shell\open\command]
@="\"C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe\" -osint
-url \"%1\""
"DelegateExecute"="{17FE9752-0B5A-4665-84CD-569794602F5C}"

[HKEY_CLASSES_ROOT\http\shell\open\command]
@="\"C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe\" -osint
-url \"%1\""

[HKEY_CLASSES_ROOT\ftp\shell\open\command]
@="\"C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe\" -osint
-url \"%1\""
"DelegateExecute"="{17FE9752-0B5A-4665-84CD-569794602F5C}"

But that seems not to be the clean way as in FF it shows me the options
to make is default...

Thanks,
Nicolas

From: William Spratt <[email protected]>
To:"[email protected]" <[email protected]>
Date: 03 Janvier 2017 16:16
Subject: [Mozilla Enterprise] Setting Firefox as default using a cmd
line
Hi All,
 
So during the interactive install, the installer prompts if the user
wants Firefox to be the default browser.
 
I install using a VBA script to copy settings files over before
silently installing, but I can’t find the setting to make it default.
 
Looking on the internet suggests these command lines should work:
 
C:\Program Files (x86)\Mozilla Firefox\firefox.exe -setDefaultBrowser
 
C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe
/SetAsDefaultAppGlobal
 
However, once install is complete I check under “options” in Firefox
and it’s still showing “not the default browser”.
 
Running in a Windows 7 environment, but we’re shortly updating to
Windows 10.
 
We distribute Firefox via the script in SCCM, but I’m looking to get
the script working locally before trying to remotely install though
SCCM.
 
Each device tends to only have one user, so not bothered about setting
it automatically as default for all Window 7 profiles on the machine.
 
Has anyone dealt with this before?
 
Regards
 
Will
 
 

Will Spratt
IT Scientific Support Specialist
Fera Science Ltd.
 
[email protected] | Tel +44 (0)1904 46 2631 | Mob +44
(0)7810855621
 
www.fera.co.uk | Twitter
( https://twitter.com/ferascience)  | LinkedIn
( https://www.linkedin.com/company/fera-science)  | YouTube
( http://www.youtube.com/user/FeraUK1) 
 

IntroducingOriGen - 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
[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"

Reply via email to