This is what someone else posted which works great for me.
for %%i in (%Z%\packages\mozilla\firefox_extensions\*.xpi) do todo.pl
\%ProgramFiles%\Mozilla Firefox\firefox.exe\
-install-global-extension \%%i\
todo.pl \%PROGRAMFILES%\Mozilla Firefox\firefox.exe\ -CreateProfile
default
todo.pl
Good news. The new Sourceforge CVS server is up running, and all the
changes are up-to-date, including the Windows updates that were posted
on the 13th. You need to change the scripts website to reflect the
new changes. The site is
http://unattended.cvs.sourceforge.net/unattended/unattended/
Hi Lars,
I use the following:
---snip
:: OPTIONAL: Install Firefox Extensions
::
@Echo off
:: Delete profile copied before
todo.pl RMDIR /S /Q \%AppData%\Mozilla\
for %%i in (%Z%\packages\mozilla\extensions\*.xpi) do todo.pl
\%ProgramFiles%\Mozilla Firefox\firefox.exe\