[wpkg-users] firefox and general package "upgrade" question

Mike Burgener mike.burgener at u-blox.com
Wed Sep 3 15:09:45 CEST 2008


Hi all,

 

First of all, thanks for this very good package-deployment system!! It’s
a very well product.

 

I have a little issue here,

 

As I understood, this here should update firefox to version 2.x because
revision of package 2.x is higher then  1.5 revision, unfortunaly this
does not work on my test-system, in debug mode, it looks like firefox 2
is not parsed for installation and gets ignored somehow.

 

I had a look at your nice documentation as well, but could not find a
solution, perhaps I doo misunderstand something, here the package.xml
file:

 

<?xml version="1.0" encoding="UTF-8"?>

 

<packages>

 

<package

   id="firefoxtest"

   name="Mozilla Firefox"

   revision="15"

   reboot="false"

   priority="10">

 

   <check type="uninstall" condition="exists" path="Mozilla Firefox
(1.5)" />

 

   <install cmd='"%SOFTWARE%\firefox\Firefox Setup 1.5.0.4.exe" -ms' />

 

   <upgrade cmd='"%SOFTWARE%\firefox\Firefox Setup 1.5.0.4.exe" -ms' />

 

   <remove cmd='"%PROGRAMFILES%\Mozilla
Firefox\uninstall\UninstallFirefox.exe" -ms' />

 

</package>

 

<package 

    id="firefoxtest" 

    name="Mozilla Firefox 2.0.16" 

    revision="20" 

    reboot="false" 

    priority="10">

 

    <check type="logical" condition="or">

      <check type="uninstall" condition="exists" path="Mozilla Firefox
(2.0)" />

      <check type="uninstall" condition="exists" path="Mozilla Firefox
(2.0.0.16)" />

    </check> 

    <install cmd='"%SOFTWARE%\firefox\Firefox_Setup_2.0.0.16.exe" -ms'
/>

    <upgrade cmd='"%SOFTWARE%\firefox\Firefox_Setup_2.0.0.16.exe" -ms'
/>

    <remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe"
/s' />

 

</package>

 

</packages>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20080903/dfae2a73/attachment-0001.html>


More information about the wpkg-users mailing list