[wpkg-users] test successfull or not ?

Ludovic DUFLOT ludovic.duflot at univ-savoie.fr
Wed Oct 20 07:55:46 CEST 2010


  No, it isn't. For double reasons :
1) I try to run the script with the same account as the service do and 
the test was succesfull. I use "psexec /user:wpkg-client \\localhost 
cscript wpkg.js ....."
2) 7-Zip was installed the first time by wpkg service itself (of course, 
it didn't find it ! :P)

The strange thing is that any package tests are succesfull and others not !
For example, a similar test for Firefox install is ok :
2010-10-20 07:42:16, DEBUG   : Uninstall entry 'Mozilla Firefox 
(3.6.10)' matches string 'Mozilla Firefox (3.6.10)'.
2010-10-20 07:42:16, DEBUG   : Uninstall entry for Mozilla Firefox 
(3.6.10) was found: test successful

And Userlock failed :
2010-10-20 07:42:06, DEBUG   : No uninstall entry for 'UserLock Agent' 
found. Version comparison check failed.

The same package launched few minutes before thrue "psexec ...." :
2010-10-20 07:31:15, DEBUG   : Uninstall entry 'UserLock Agent' matches 
string 'UserLock Agent'.
2010-10-20 07:31:15, DEBUG   : Found version of 'UserLock Agent' at 
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EFFB3E74-FF2D-40DC-8848-5C9633599A49}: 
5.51.0000|Comparing to expected version: 5.51
2010-10-20 07:31:15, DEBUG   : Comparing version: '5.51.0000' <=> '5.51'.
2010-10-20 07:31:15, DEBUG   : Comparing version fragments: '5' <=> '5'
2010-10-20 07:31:15, DEBUG   : Comparing version fragments: '51' <=> '51'
2010-10-20 07:31:15, DEBUG   : Comparing version fragments: '0000' <=> '0'
2010-10-20 07:31:15, DEBUG   : Comparing uninstall version '5.51.0000' 
to expected version '5.51' using condition 'versiongreaterorequal' 
returned 0
2010-10-20 07:31:15, DEBUG   : Uninstall version check for package 
'UserLock Agent' returned true for operation type versiongreaterorequal

Ludo

Le 20/10/2010 03:19, Kevin Keane a écrit :
> It sounds as if you may have installed 7zip only for one user. The service runs as a different user and doesn't have access to the registry for the user.
>
> -----Original Message-----
> From: wpkg-users-bounces at lists.wpkg.org [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf Of Ludovic DUFLOT
> Sent: Tuesday, October 19, 2010 1:06 AM
> To: wpkg-users at lists.wpkg.org
> Subject: [wpkg-users] test successfull or not ?
>
>    Hi,
> I've got a strange problem.
> I'm using wpkg on WinXP, Win7 and Win7x64 with wpkg-client service and I just find why any packets don't want install on Win7x64.
>
> WinXPx86 and Win7x86 OS are full ok.
> Win7x64 fail to check uninstall string when I use wpkg-client service.
> Win7x64 succed to check the same uninstall string when I run myself wpkg.js with the same parameters (same xml files, ...) !
>
> Examples with 7-Zip package on computer where 7-Zip x64 is installed :
> log file with command line running
> 2010-10-19 09:05:22, DEBUG   : Uninstall entry '7-Zip 4.65 (x64
> edition)' matches string '7-Zip 4.65 (x64 edition)'.
> 2010-10-19 09:05:22, DEBUG   : Uninstall entry for 7-Zip 4.65 (x64
> edition) was found: test successful
> 2010-10-19 09:05:22, DEBUG   : Result of logical 'OR' check is true
>
> log file with service running
> 2010-10-19 09:06:44, DEBUG   : Uninstall entry for 7-Zip 4.65 missing:
> test failed
> 2010-10-19 09:06:44, DEBUG   : Uninstall entry for 7-Zip 4.65 (x64
> edition) missing: test failed
> 2010-10-19 09:06:44, DEBUG   : Result of logical 'OR' check is false
>
> Can someone help me for debugging it ?!!
> Ludo
> -------------------------------------------------------------------------
> 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
> -------------------------------------------------------------------------
> 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

-- 
*L.DUFLOT*
/Service Informatique/
IUT Annecy - Université de Savoie

============================================
Assistance informatique :
  - Web : https://sos.iut-acy.univ-savoie.fr
  - Twitter : http://twitter.com/uds_soiut
  - Appel interne : 2000
  - Appel externe : 04-50-09-22-22 poste 2000
  - Bureau : A265
============================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20101020/952687dc/attachment-0002.html>


More information about the wpkg-users mailing list