ugrás a tartalomhoz

Firefox command line switches & unattended install...

janoszen · 2006. Jan. 8. (V), 14.55
Sziasztok!

Unattended Windows CDt készítek és közben felmerült a kérdés: hogy tudom vagy telepítésnél vagy utána command line paramétereknél default böngészőnek beállítani a firefoxot?

A registryben ilyesmit találtam:

"C:\Program Files\Mozilla Firefox\firefox.exe" -silent -nosplash -setDefaultBrowser

De sajnos ez elindítja a böngészőt. (A -silent-nél nem kellene, sztem...)

Másik kérdésem, hogy hogy lehet azt megcsinálni, hogy a ********.default nevű profile könyvtár csak "default" nevű legyen?

Köszi
 
1

Megtaláltam...

janoszen · 2006. Jan. 8. (V), 20.30
Közben a profile beállítását megtaláltam.

A Docs&Settings/-userneve-/Application DataMozilla/Firefox/profiles.ini-ben van eltárolva:

[Profile0]
Path=Profiles/default

Ha az ember az összes majdan létrejövő felhasználó profilejába ezt a "default profile-t" akarja használni, akkor a Default User mappájába kell rakni a profile másolatát.
2

Firefox registry kulcsok...

janoszen · 2006. Jan. 9. (H), 13.53
Na, íme a registry kulcsok, amik a Firefoxot default böngészővé teszik. Az adatok csak akkor frissülnek, ha valamelyik program rendszerfrissítést kér, nem tudom, milyen paranccsal kell.

Hosszú post lesz, de mindegy...

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm]
"PerceivedType"="text"
@="FirefoxHTML"
"Content Type"="text/html"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.html]
"PerceivedType"="text"
@="FirefoxHTML"
"Content Type"="text/html"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.html\PersistentHandler]
@="{eec97550-47a9-11cf-b952-00aa0051fe20}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\DefaultIcon]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\shell\open\command]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE -url \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\DefaultIcon]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\open\command]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE -url \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ftp\DefaultIcon]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ftp\shell\open\command]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE -url \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\gopher]
@="URL:Gopher Protocol"
"EditFlags"=dword:00000002
"URL Protocol"=""
"Source Filter"="{E436EBB6-524F-11CE-9F53-0020AF0BA770}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\gopher\DefaultIcon]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\gopher\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\gopher\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\gopher\shell\open\command]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE -url \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.shtml]
"PerceivedType"="text"
@="FirefoxHTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xht]
@="FirefoxHTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xhtml]
@="FirefoxHTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FirefoxHTML]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FirefoxHTML\DefaultIcon]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FirefoxHTML\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FirefoxHTML\shell\edit]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FirefoxHTML\shell\edit\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
 
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
 
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
  00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FirefoxHTML\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FirefoxHTML\shell\open\command]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE -url \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CHROME]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CHROME\DefaultIcon]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CHROME\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CHROME\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CHROME\shell\open\command]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE -url \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet]
##kukac##="FIREFOX.EXE"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe]
@="Mozilla Firefox"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe\DefaultIcon]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE,0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe\InstallInfo]
"HideIconsCommand"="\"C:\\Program Files\\Mozilla
Firefox\\uninstall\\UninstallFirefox.exe\" /ua \"1.5 (en-US)\" /hs browser"
"IconsVisible"=dword:00000001
"ReinstallCommand"="\"C:\\Program Files\\Mozilla Firefox\\firefox.exe\"
-silent -nosplash -setDefaultBrowser "
"ShowIconsCommand"="\"C:\\Program Files\\Mozilla
Firefox\\uninstall\\UninstallFirefox.exe\" /ua \"1.5 (en-US)\" /ss browser"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe\shell\open\command]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe\shell\properties]
@="Firefox &Options"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\firefox.exe\shell\properties\command]
@="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE -preferences"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MIME\Database\Content Type\application/x-xpinstall;app=firefox]
"Extension"=".xpi"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Desktop]
"SOFTWARE\\Classes\\MIME\\Database\\Content Type\\application/x-xpinstall;app=firefox"=".xpi"
"SOFTWARE\\Classes\\.htm"="htmlfile"
"SOFTWARE\\Classes\\.html"="htmlfile"
"SOFTWARE\\Classes\\HTTP\\DefaultIcon"="%SystemRoot%\\system32\\url.dll,0"
"SOFTWARE\\Classes\\HTTP\\shell\\open\\command"="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"
"SOFTWARE\\Classes\\HTTPS\\DefaultIcon"="%SystemRoot%\\system32\\url.dll,0"
"SOFTWARE\\Classes\\HTTPS\\shell\\open\\command"="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"
"SOFTWARE\\Classes\\FTP\\DefaultIcon"="%SystemRoot%\\system32\\url.dll,0"
"SOFTWARE\\Classes\\FTP\\shell\\open\\command"="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" %1"
"SOFTWARE\\Classes\\GOPHER\\DefaultIcon"="%SystemRoot%\\system32\\url.dll,0"
"SOFTWARE\\Classes\\GOPHER\\shell\\open\\command"="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"
"SOFTWARE\\Clients\\StartMenuInternet\\FIREFOX.EXE\\DefaultIcon"="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE,0"
"SOFTWARE\\Clients\\StartMenuInternet\\FIREFOX.EXE\\shell\\open\\command"="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE"
"SOFTWARE\\Clients\\StartMenuInternet\\FIREFOX.EXE\\"="Mozilla Firefox"
"SOFTWARE\\Classes\\.shtml"="FirefoxHTML"
"SOFTWARE\\Classes\\.xht"="FirefoxHTML"
"SOFTWARE\\Classes\\.xhtml"="FirefoxHTML"
"SOFTWARE\\Classes\\FirefoxHTML\\DefaultIcon"="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE,1"
"SOFTWARE\\Classes\\FirefoxHTML\\shell\\open\\command"="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE -url \"%1\""
"SOFTWARE\\Classes\\CHROME\\DefaultIcon"="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE,1"
"SOFTWARE\\Classes\\CHROME\\shell\\open\\command"="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE -url \"%1\""
"SOFTWARE\\Clients\\StartMenuInternet\\FIREFOX.EXE\\shell\\properties\\command"="C:\\PROGRAM FILES\\MOZILLA FIREFOX\\FIREFOX.EXE -preferences"
"SOFTWARE\\Clients\\StartMenuInternet\\"="IEXPLORE.EXE"
"SOFTWARE\\Clients\\StartMenuInternet\\FIREFOX.EXE\\shell\\properties"="Firefox &Options"