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

éric le hénaff eric.le.henaff at ens.fr
Wed Sep 3 15:27:25 CEST 2008


you cant have two packages with the same id firefoxtest. just remove the 
first one (1.5.0.4) and it shoul work ok.
ELH

Mike Burgener a écrit :
>
> 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>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>   

-- 
Éric LE HÉNAFF
École normale supérieure - Centre de ressources informatiques
Informaticien, Ingénieur développements et systèmes auprès des bibliothèques de l'ENS

Préférez firefox! http://www.mozilla-europe.org/fr/

SVP, évitez de m'envoyer des attachements au format Word, Excel ou PowerPoint.
Préférez les formats rtf, csv, html ou pdf au lieu des formats word et excel.
Voir http://www.gnu.org/philosophy/no-word-attachments.fr.html pour plus
d'explications.

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


More information about the wpkg-users mailing list