[wpkg-users] Uninstall Check on 64 bit

Stefan Pendl stefan.pendl.71 at gmail.com
Sat Apr 6 10:45:57 CEST 2013


Am 05.04.2013 20:51, schrieb Carlos R. Pasqualini:
>> Debug log when WPKG is running as a service:
>>
>> 2013-04-05 10:27:00, DEBUG   : Command in installation of iTunes
>> returned exit code [0]. Success.
>> 2013-04-05 10:27:00, DEBUG   : Checking existence of package: iTunes
>> 2013-04-05 10:27:00, DEBUG   : Reading variables from hosts[s]
>> 2013-04-05 10:27:00, DEBUG   : Reading variables from profile[s]
>> 2013-04-05 10:27:00, DEBUG   : Reading variables from package 'iTunes'.
>> 2013-04-05 10:27:00, DEBUG   : Got variable 'PRODUCT_CODE' of value
>> '{5E11C972-1E76-45FE-8F92-14E0D1140B1B}'.
>> 2013-04-05 10:27:00, DEBUG   : Uninstall entry for iTunes missing: test failed.
>>

--snip

>
> ¿Could you please post your package definition?
>

I would not check for the product code, since that can even change 
between minor updates.

Something like below should always work.
In addition make sure to run in native mode on AMD64 too, so don't use 
the wrapper.

'---code start (watch for line wraps)

<check type="uninstall" condition="versiongreaterorequal" path="iTunes 
.+" value="10.5.3.3" />

'---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