mox Posted January 26, 2006 Posted January 26, 2006 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.
WotC Posted January 28, 2006 Posted January 28, 2006 for the default:IF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKCU\Software\Clients\StartMenuInternet" /ve /t REG_SZ /d "firefox.exe" /fIF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKLM\Software\Clients\StartMenuInternet" /ve /t REG_SZ /d "firefox.exe" /fIF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKLM\SOFTWARE\Clients\StartMenuInternet\firefox.exe" /ve /t REG_SZ /d "Firefox" /fIF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKLM\SOFTWARE\Clients\StartMenuInternet\firefox.exe" /v "LocalizedString" /t REG_SZ /d "Firefox" /fIF 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" /fIF 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" /fIF 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" /fIF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKEY_CLASSES_ROOT\.htm\DefaultIcon" /ve /t REG_SZ /d "\"%programfiles%\\Mozilla Firefox\\firefox.exe,0\"" /fIF EXIST "%programfiles%\Mozilla Firefox\firefox.exe" REG ADD "HKEY_CLASSES_ROOT\.html\DefaultIcon" /ve /t REG_SZ /d "\"%programfiles%\\Mozilla Firefox\\firefox.exe,0\"" /fMozilla Firefox Extensions & ThemesIF 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)
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now