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

Tomasz Chmielewski mangoo at wpkg.org
Wed Sep 26 16:13:25 CEST 2007

éric le hénaff schrieb:
> 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 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
>>> 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.

To mark it as "installed", yes.

>> I guess you didn't install 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 ?

More or less (depends on checks etc.).

There is also a "/force" switch, but normally, it shouldn't be used.

Tomasz Chmielewski

wpkg-users mailing list
wpkg-users at lists.wpkg.org

More information about the wpkg-users mailing list