[wpkg-users] Firefox 8 and extension deployment

Malte Starostik lists at malte.homeip.net
Tue Dec 13 16:16:08 CET 2011


Am Dienstag, 13. Dezember 2011, 16:08:47 schrieb chiddie:
> chiddie wrote:
> 
> For a reason i don't know, on the machines i have to upgrade Firefox, the
> "leading" directory for the browser extension is not \\programfiles\mozilla
> firefox\extension, nor \\commonprogramfiles\mozilla shared\extension, but
> is
> %userprofile%\AppData\Roaming\Mozilla\Firefox\Profiles\randomstring.defaul
> t\extensions.
> 
> That's basically why the deployment was not working: unless i put the
> un-compressed extension folder in the %userprofile% folder, firefox won't
> see the extension (it then asks me to install it, but i don't know if
> there's a way to avoid this check).
> 
> So, the next question is: since WPKG does not accept the %userprofile%
> variable, how can i re-arrange the script in order to make it copy the
> extension folder in the username destination folder (keep in mind that the
> randomtring.default folder is, well... random, so it changes depending on
> the target machine)?

You can „install“ extensions globally by copying them _anywhere_ e.g. 
%ProgramFiles%\local\FirefoxExtensions
and registering them like described here:
https://developer.mozilla.org/en/Adding_Extensions_using_the_Windows_Registry

Cheers,
Malte



More information about the wpkg-users mailing list