; PE Builder v3 plug-in INF file
; Created by Sherpya
; Modified by Steff
; Version 3.0.6 Fr
; site : http://raf.steff.free.fr

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="Mozilla Firefox 3.0.6 Fr"
Enable=1
help="Firefox.htm"

[WinntDirectories]
a=Programs\Firefox,2
b=Programs\Firefox\xpi,2
c=Programs\Firefox\chrome,2

[SourceDisksFolders]
files=a,,1

[SourceDisksFiles]
firefox.cmd=2,,1
firefox.cmd=a,,1
FireStarter.exe=a,,1
userprofile.exe=a,,1
bookmarks.html=a,,1
user.js=a,,1

; Extensions and language packs
; Also themes ? untested with themes ;P
ext\*.xpi=b,,4
ext\*.jar=b,,4

[Software.AddReg]
; Add to start menu
0x2,"Sherpya\XPEinit\Programs","Mozilla FireFox","%SystemDrive%\Programs\Firefox\Firefox.exe"
0x2,"Sherpya\XPEinit\Desktop","Mozilla FireFox","%SystemDrive%\Programs\Firefox\Firefox.exe"

; Localized versions shortctus, you need to add language packs in ext directory for this
; This entry is for Français Locale
0x2,"Sherpya\XPEinit\Desktop","Mozilla FireFox fr","%SystemDrive%\Programs\Firefox\Firefox.exe|-UILocale fr-FR -contentLocale FR"

; For java plugin
0x1, "Mozilla\Mozilla Firefox","","1.9.0.6"
0x1, "Mozilla\Mozilla Firefox","CurrentVersion","3.0.6 (en-US)"
0x1, "Mozilla\Mozilla Firefox 3.0.5","GeckoVer","1.9.0.6"

0x1, "Mozilla\Mozilla Firefox 3.0.6\bin","PathToExe","%SystemDrive%\Programs\Firefox\firefox.exe"
0x1, "Mozilla\Mozilla Firefox 3.0.6\extensions","Components","%SystemDrive%\Programs\Firefox\components"
0x1, "Mozilla\Mozilla Firefox 3.0.6\extensions","Plugins","%SystemDrive%\Programs\Firefox\plugins"

; Registry Stuff
0x1,"Clients\StartMenuInternet",,"Firefox.exe"
0x1,"Clients\StartMenuInternet\Firefox.exe",,"Mozilla Firefox"
0x2,"Clients\StartMenuInternet\Firefox.exe\DefaultIcon",,"%SystemDrive%\Programs\Firefox\Firefox.exe,0"
0x2,"Clients\StartMenuInternet\Firefox.exe\shell\open\command",,"%SystemDrive%\Programs\Firefox\Firefox.exe"
0x1,"Clients\StartMenuInternet\Firefox.exe\shell\properties",,"Firefox &Options"
0x2,"Clients\StartMenuInternet\Firefox.exe\shell\properties\command",,"%SystemDrive%\Programs\Firefox\Firefox.exe -chrome ""chrome://browser/content/pref/pref.xul"""
0x1,"Classes\MIME\Database\Content Type\application/x-xpinstall;app=firefox","Extension",".xpi"
0x1,"Mozilla\Desktop","SOFTWARE\Classes\.htm","FirefoxHTML"
0x1,"Mozilla\Desktop","SOFTWARE\Classes\.html","FirefoxHTML"
0x1,"Mozilla\Desktop","SOFTWARE\Classes\.shtml","FirefoxHTML"
0x1,"Mozilla\Desktop","SOFTWARE\Classes\.xht","FirefoxHTML"
0x1,"Mozilla\Desktop","SOFTWARE\Classes\.xhtml","FirefoxHTML"
0x1,"Mozilla\Desktop","SOFTWARE\Classes\.xpi","FirefoxINSTALL"
0x2,"Mozilla\Desktop","SOFTWARE\Classes\CHROME\DefaultIcon","%SystemDrive%\Programs\Firefox\Firefox.exe,1"
0x2,"Mozilla\Desktop","SOFTWARE\Classes\CHROME\shell\open\command","%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""
0x2,"Mozilla\Desktop","SOFTWARE\Classes\FirefoxHTML\DefaultIcon","%SystemDrive%\Programs\Firefox\Firefox.exe,1"
0x2,"Mozilla\Desktop","SOFTWARE\Classes\FirefoxHTML\shell\open\command","%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""
0x2,"Mozilla\Desktop","SOFTWARE\Classes\FirefoxINSTALL\DefaultIcon","%SystemDrive%\Programs\Firefox\mozctl.dll,1"
0x2,"Mozilla\Desktop","SOFTWARE\Classes\FirefoxINSTALL\shell\open\command","%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""
0x1,"Mozilla\Desktop","SOFTWARE\Classes\FTP\DefaultIcon","%SystemDrive%\Programs\Firefox\Firefox.exe,1"
0x2,"Mozilla\Desktop","SOFTWARE\Classes\FTP\shell\open\command","%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""
0x2,"Mozilla\Desktop","SOFTWARE\Classes\GOPHER\DefaultIcon","%SystemDrive%\Programs\Firefox\Firefox.exe,1"
0x2,"Mozilla\Desktop","SOFTWARE\Classes\GOPHER\shell\open\command","%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""
0x2,"Mozilla\Desktop","SOFTWARE\Classes\HTTP\DefaultIcon","%SystemDrive%\Programs\Firefox\Firefox.exe,1"
0x2,"Mozilla\Desktop","SOFTWARE\Classes\HTTP\shell\open\command","%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""
0x2,"Mozilla\Desktop","SOFTWARE\Classes\HTTPS\DefaultIcon","%SystemDrive%\Programs\Firefox\Firefox.exe,1"
0x2,"Mozilla\Desktop","SOFTWARE\Classes\HTTPS\shell\open\command","%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""
0x1,"Mozilla\Desktop","SOFTWARE\Clients\StartMenuInternet\","iexplore.exe"
0x1,"Mozilla\Desktop","SOFTWARE\Clients\StartMenuInternet\Firefox.exe\","Mozilla Firefox"
0x2,"Mozilla\Desktop","SOFTWARE\Clients\StartMenuInternet\Firefox.exe\DefaultIcon","%SystemDrive%\Programs\Firefox\Firefox.exe,0"
0x2,"Mozilla\Desktop","SOFTWARE\Clients\StartMenuInternet\Firefox.exe\shell\open\command","%SystemDrive%\Programs\Firefox\Firefox.exe"
0x1,"Mozilla\Desktop","SOFTWARE\Clients\StartMenuInternet\Firefox.exe\shell\properties","Firefox &Options"
0x2,"Mozilla\Desktop","SOFTWARE\Clients\StartMenuInternet\Firefox.exe\shell\properties\command","%SystemDrive%\Programs\Firefox\Firefox.exe -chrome ""chrome://browser/content/pref/pref.xul"""

; Mozilla Firefox as default browser

0x1,"Classes\.htm",,"FirefoxHTML"
0x1,"Classes\.html",,"FirefoxHTML"
0x1,"Classes\.shtml",,"FirefoxHTML"
0x1,"Classes\.xht",,"FirefoxHTML"
0x1,"Classes\.xhtml",,"FirefoxHTML"
0x2,"Classes\CHROME\DefaultIcon",,"%SystemDrive%\Programs\Firefox\Firefox.exe,1"
0x2,"Classes\CHROME\shell\open\command",,"%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""
0x2,"Classes\FirefoxHTML\DefaultIcon",,"%SystemDrive%\Programs\Firefox\Firefox.exe,1"
0x2,"Classes\FirefoxHTML\shell\open\command",,"%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""
0x2,"Classes\HTTP\DefaultIcon",,"%SystemDrive%\Programs\Firefox\Firefox.exe,1"
0x2,"Classes\HTTP\shell\open\command",,"%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""
0x2,"Classes\ftp\DefaultIcon",,"%SystemDrive%\Programs\Firefox\Firefox.exe,1"
0x2,"Classes\ftp\shell\open\command",,"%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""
0x2,"Classes\gopher\DefaultIcon",,"%SystemDrive%\Programs\Firefox\Firefox.exe,1"
0x2,"Classes\gopher\shell\open\command",,"%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""
0x2,"Classes\https\DefaultIcon",,"%SystemDrive%\Programs\Firefox\Firefox.exe,1"
0x2,"Classes\https\shell\open\command",,"%SystemDrive%\Programs\Firefox\Firefox.exe -url ""%1"""

; COM
0x1,"Classes\CLSID\{0D68D6D0-D93D-4D08-A30D-F00DD1F45B24}",,"PSFactoryBuffer"
0x2,"Classes\CLSID\{0D68D6D0-D93D-4D08-A30D-F00DD1F45B24}\InProcServer32",,"%SystemDrive%\Programs\Firefox\AccessibleMarshal.dll"
0x1,"Classes\CLSID\{0D68D6D0-D93D-4D08-A30D-F00DD1F45B24}\InProcServer32","ThreadingModel","Both"

0x1,"Classes\Interface\{0D68D6D0-D93D-4D08-A30D-F00DD1F45B24}",,"ISimpleDOMDocument"
0x1,"Classes\Interface\{0D68D6D0-D93D-4D08-A30D-F00DD1F45B24}\NumMethods",,"9"
0x1,"Classes\Interface\{0D68D6D0-D93D-4D08-A30D-F00DD1F45B24}\ProxyStubClsid32",,"{0D68D6D0-D93D-4D08-A30D-F00DD1F45B24}"

0x1,"Classes\Interface\{1814CEEB-49E2-407F-AF99-FA755A7D2607}",,"ISimpleDOMNode"
0x1,"Classes\Interface\{1814CEEB-49E2-407F-AF99-FA755A7D2607}\NumMethods",,"18"
0x1,"Classes\Interface\{1814CEEB-49E2-407F-AF99-FA755A7D2607}\ProxyStubClsid32",,"{0D68D6D0-D93D-4D08-A30D-F00DD1F45B24}"

0x1,"Classes\Interface\{4E747BE5-2052-4265-8AF0-8ECAD7AAD1C0}",,"ISimpleDOMText"
0x1,"Classes\Interface\{4E747BE5-2052-4265-8AF0-8ECAD7AAD1C0}\NumMethods",,"8"
0x1,"Classes\Interface\{4E747BE5-2052-4265-8AF0-8ECAD7AAD1C0}\ProxyStubClsid32",,"{0D68D6D0-D93D-4D08-A30D-F00DD1F45B24}"

[SetupReg.AddReg]
; Mouse Wheel on
0x4, "ControlSet001\Services\i8042prt\Parameters", "EnableWheelDetection",0x2

; Profiles in RamDisk/Temp: Required
0x2,"ControlSet001\Control\Session Manager\Environment","USERPROFILE","%temp%\@ProfilesDir@\Default User"
0x2,"ControlSet001\Control\Session Manager\Environment","ProfilesDir","%temp%\@ProfilesDir@"

[Append]
nu2menu.xml, firefox_nu2menu.xml
