[wpkg-users] Firefox addon question

Stefan Pendl stefan.pendl.71 at gmail.com
Tue Oct 16 21:59:39 CEST 2012

Am 16.10.2012 21:51, schrieb Donny Brooks:
>    <install cmd='%COMSPEC% /C xcopy /E /Y "%SOFTWARE%\firefox\adblock\%VERSION%" "%INSTALL_PATH%\extensions\%EXTID%\"' />

Starting with Firefox 4 only some extensions need to be extracted, which 
in my case are just the dictionaries.

I just copy the XPI file of AdBlockPlus over to the extension folder and 
I am done.

<package id="AdblockPlus" name="Firefox Extension - Adblock Plus" 
revision="%PKG_VER%" reboot="false" priority="10">
     <depends package-id="Firefox"/>

     <variable name="PKG_NAME" value="AdblockPlus" />
     <variable name="PKG_VER"  value="2.1.2"/>
     <variable name="PKG_SIZE" value="741958" />
     <variable name="PKG_SRC"  value="%SOFTWARE%\Mozilla 
Add-ons\adblock_plus-%PKG_VER%-sm+an+fx+tb.xpi" />
     <variable name="PKG_DST"  value="%ProgramFiles%\Mozilla 
Firefox\extensions"      architecture="x86" />
     <variable name="PKG_DST"  value="%ProgramFiles(x86)%\Mozilla 
Firefox\extensions" architecture="x64" />
     <variable name="PKG_FILE" 
value="{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi" />

     <check type="file" condition="sizeequals" 
path="%PKG_DST%\%PKG_FILE%" value="%PKG_SIZE%" />

     <install cmd='%ComSpec% /c copy /V /Y /B "%PKG_SRC%" 
"%PKG_DST%\%PKG_FILE%" >"%TMP%\%PKG_NAME%.log"' />

     <upgrade include="install" />
     <downgrade include="install" />

     <remove cmd='%ComSpec% /c del /f /q "%PKG_DST%\%PKG_FILE%"' />

Stefan P.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

More information about the wpkg-users mailing list