[wpkg-users] Firefox 8 and extension deployment

Stefan Pendl stefan.pendl.71 at gmail.com
Wed Dec 7 22:34:12 CET 2011


Am 07.12.2011 16:31, schrieb Pete Boyd:
>> My tries went in a different direction.
>>
>> Since i like basic commands and not being involved too much with
>> variables, i simply:
> ...
>> 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.
>
> Sorry I should have given some context there to what I was replying to,
> for those not reading this threaded, it was to the above.
>
>

I am currently using packages similar to the one below.
I don't extract any extension, if it is not extracted through a manual 
testing install.

I am using the latest Firefox and Thunderbird version.

The only benefit of installing into CommonProgramFiles is that I don't 
have to install dictionaries twice for instance.
I think I have to test that option.


<!--code start (watch for line wraps)-->

     <package id="SyncPlaces" name="Firefox Extension - Sync Places" 
revision="%PKG_VER%" reboot="false" priority="10">
         <depends package-id="Firefox"/>

         <variable name="PKG_VER"  value="4.3.0"/>
         <variable name="PKG_NAME" value="SyncPlaces" />
         <variable name="PKG_SIZE" value="249708" />
         <variable name="PKG_SRC"  value="%SOFTWARE%\Mozilla 
Add-ons\syncplaces-%PKG_VER%-sm+fx.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="syncplaces at andyhalford.com.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%"' />
     </package>

<!--code end-->

--
Stefan P.

Top-posting:
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