[wpkg-users] wpkg.xml updated on workstation but no software installed

éric le hénaff eric.le.henaff at ens.fr
Wed Sep 26 16:04:22 CEST 2007


answers below ..

Tomasz Chmielewski a écrit :
> éric le hénaff schrieb:
>> hello
>> how does it come that the <package> block is added to 
>> c$\WINNT\system32\wpkg.xml but that the software is finally not 
>> installed.
>>
>> PDFCreator 0.8.0.1 is installed on our workstations.
>> I added the block below to update to 0.9.3.
>
>>         <check type="uninstall" condition="exists" path="PDFCreator"/>
>
>> But when i look into c$\Program Files\PDFCreator , The version of 
>> PDFcreator.exe is still 0.8.0.1.
>> What happened ? Any hint ?
>
> That's expected behaviour.
>
> Before attempting to execute any "<install ...>" command, WPKG goes 
> through the "<check ...>" conditions.
>
> In this case, it sees "PDFCreator" in Software Add/Remove, and 
> correctly assumes that PDFCreator is installed - and thus, doesn't 
> execute any "<install ...>" commands.
and add the <package> block to the local database.
>
> I guess you didn't install 0.8.0.1 with WPKG?
>
yes.
>
> So, for you, just increasing the revision by one in the XML file 
> should trigger the upgrade.
i thought i had done it but i'm not sure.
I'll try again.
>
> And, you can add more checks (for file size etc.).
True.
So i guess that when i want to upgrade a software that wasnt installed 
by wpkg i really have to add a check for file size or file version or 
i'll have to boot twice and change the revision number between the boots ?
Thanks tomasz

-- 
É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.




wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list