Archive: Script to install IE and Firefox extensions


Script to install IE and Firefox extensions
I am new at this. Can someone help me write or find a script to install a plugin for Internet Explorer and Firefox (a cab and xpi file).

Thanks.


Re: Script to install IE and Firefox extensions
For Firefox just copy xpi files into \Program Files\Mozilla Firefox X.X\extensions folder then restart FF


Thanks.

How do I find the Firefox path and detect if Firefox is even installed?

What about IE?


read in this value from the registry:


ReadRegStr $0 HKLM "SOFTWARE\Mozilla\Mozilla Firefox" "CurrentVersion"

Then use the result from that to read the install dir:

ReadRegStr $1 HKLM "SOFTWARE\Mozilla\Mozilla Firefox\$0\Main" Install Directory"


You can also point to your own extension explicitly:
https://developer.mozilla.org/en/Add...ndows_Registry