Jump to content

Firefox extensions


mox
 Share

Recommended Posts

I have my cd set up with Wihu with a checklist at the end of the install for extra programs... I want to know if anyone has a way for installing individual firefox extensions.

I have just been zipping up my profile, but I want the user to be able to pick and choose what extensions they add... is this possible?

Also, unrelated.. is there a simple way to set firefox as the default browser? Something like small reg entry... I've searched the forums and the method I use right now seems unnecessarily envolved.

Link to comment
Share on other sites


for the default:

IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKCU\Software\Clients\StartMenuInternet" /ve /t REG_SZ /d "firefox.exe" /f
IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKLM\Software\Clients\StartMenuInternet" /ve /t REG_SZ /d "firefox.exe" /f
IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKLM\SOFTWARE\Clients\StartMenuInternet\firefox.exe" /ve /t REG_SZ /d "Firefox" /f
IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKLM\SOFTWARE\Clients\StartMenuInternet\firefox.exe" /v "LocalizedString" /t REG_SZ /d "Firefox" /f
IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe" /ve /t REG_SZ /d "%systemdrive%\program files\Mozilla Firefox\firefox.exe" /f
IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKLM\SOFTWARE\Clients\StartMenuInternet\firefox.exe\DefaultIcon" /ve /t REG_SZ /d "%systemdrive%\program files\Mozilla Firefox\firefox.exe,0" /f
IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKLM\SOFTWARE\Clients\StartMenuInternet\firefox.exe\shell\open\command" /ve /t REG_SZ /d "%systemdrive%\program files\Mozilla Firefox\firefox.exe" /f
IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKEY_CLASSES_ROOT\.htm\DefaultIcon" /ve /t REG_SZ /d "\"%programfiles%\\Mozilla Firefox\\firefox.exe,0\"" /f
IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKEY_CLASSES_ROOT\.html\DefaultIcon" /ve /t REG_SZ /d "\"%programfiles%\\Mozilla Firefox\\firefox.exe,0\"" /f

Mozilla Firefox Extensions & Themes

IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" for %%e in ("%cdrom%\Software\Firefox\*.xpi") do "%programfiles%\Mozilla Firefox\firefox.exe" -install-global-extension "%%e"
IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" for %%e in ("%cdrom%\Software\Firefox\\*.jar") do "%programfiles%\Mozilla Firefox\firefox.exe" -install-global-theme "%%e"

u should be able to adopt the script for wihu select/deselct using a simple copy command (copy selected *.xpi to a folder and change the dir in the -install-global-extension command line accordingly)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...