On 21/09/2018 14:36, Marco Gaiarin wrote:
> Oh. Anyway, summarizing:
>
> a)
>        "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" 
> /SetAsDefaultAppGlobal
>
> does nothing, or probably does the 'wrong' thing: if i run this on a
> 'new' windows machine, this commant still create 'FIREFOX.EXE' entry in
> 'HKLM\SOFTWARE\Clients\StartMenuInternet'.
> (This can be considered a bug?)

I believe that this is correct.

If the intended purpose of

         "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" 
/SetAsDefaultAppGlobal

is to set the computer default web browser then (a) creating a
"FIREFOX.EXE" subkey (itself containing a variety of subkeys) in
HKLM\SOFTWARE\Clients\StartMenuInternet is correct, and (b) setting the
default value data for HKLM\SOFTWARE\Clients\StartMenuInternet to
"FIREFOX.EXE" is also correct (as this actually sets the computer
default web browser).

Note that the choice of the exact name "FIREFOX.EXE" is historical and
does NOT now relate to any particular executable file. Any arbitrary
string could be used here, as long as it was consistent throughout all
references in the registry. (For example, Google Chrome just uses
"Google Chrome").

The historical reason that the exact executable file name was used dates
from Windows XP, where it was required to use the executable filename in
this location. However, this requirement has gone away.

Note also that the computer default web browser rarely does anything in
practice. This is because it is almost always overridden by the user
default web browser setting.


-- 
Mark Rousell
 
 
 

_______________________________________________
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