Hello Claudio,

On Wed, 7 Dec 2011 00:58:59 -0800 (PST), chiddie
<claudio.ghira...@geniaware.com> wrote:
> My tries went in a different direction.
> 
> Since i like basic commands and not being involved too much with
variables,
> i simply:
> 
...
> - <install cmd='%COMSPEC% /C xcopy /E /Y "\\server\wpkg\software\Mozilla
> Firefox\Extensions\Italian Dictionary" "%PROGRAMFILES(x86)%\Mozilla
> Firefox\extensions\{ec8030f7-c20a-464f-9b0e-13a3a9e97384}\"' />
> 
> - <install cmd='%COMSPEC% /C reg add
> "HKLM\Software\Mozilla\Firefox\Extensions" /v
> {ec8030f7-c20a-464f-9b0e-13a3a9e97384} /d "%PROGRAMFILES(x86)%\Mozilla
> Firefox\extensions\{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" /f' />
> ...
> What am i doing wrong? I tried the same solution to deploy Lightning 1.0
> for
> Thunderbird 8 (apart from the registry key command that is not needed)
and
> it worked flawlessly.

I think, you didn't read carefully. So, you ask A, get an answer B how it
could work, and then ask A again ... 
The target-directory for your extension is wrong,
it should go under %CommonProgramFiles(x86)%\Mozilla Shared\Extensions.

Have a look at least at install-extensions.cmd, it shows how the extension
key can be extracted from install.rdf (as it differs for each version
of the extension) and is then used for registry entry AND extraction of
files into the right target folder.

Good luck,
Falko
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to