<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
No, it isn't. For double reasons :<br>
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 ....."<br>
2) 7-Zip was installed the first time by wpkg service itself (of
course, it didn't find it ! :P)<br>
<br>
The strange thing is that any package tests are succesfull and
others not !<br>
For example, a similar test for Firefox install is ok :<br>
<tt>2010-10-20 07:42:16, DEBUG : Uninstall entry 'Mozilla Firefox
(3.6.10)' matches string 'Mozilla Firefox (3.6.10)'.<br>
2010-10-20 07:42:16, DEBUG : Uninstall entry for Mozilla Firefox
(3.6.10) was found: test successful</tt><br>
<br>
And Userlock failed :<br>
<tt>2010-10-20 07:42:06, DEBUG : No uninstall entry for 'UserLock
Agent' found. Version comparison check failed.</tt><br>
<br>
The same package launched few minutes before thrue "psexec ...." :<br>
<tt>2010-10-20 07:31:15, DEBUG : Uninstall entry 'UserLock Agent'
matches string 'UserLock Agent'.<br>
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<br>
2010-10-20 07:31:15, DEBUG : Comparing version: '5.51.0000'
<=> '5.51'.<br>
2010-10-20 07:31:15, DEBUG : Comparing version fragments: '5'
<=> '5'<br>
2010-10-20 07:31:15, DEBUG : Comparing version fragments: '51'
<=> '51'<br>
2010-10-20 07:31:15, DEBUG : Comparing version fragments: '0000'
<=> '0'<br>
2010-10-20 07:31:15, DEBUG : Comparing uninstall version
'5.51.0000' to expected version '5.51' using condition
'versiongreaterorequal' returned 0<br>
2010-10-20 07:31:15, DEBUG : Uninstall version check for package
'UserLock Agent' returned true for operation type
versiongreaterorequal</tt><br>
<br>
Ludo<br>
<br>
Le 20/10/2010 03:19, Kevin Keane a écrit :
<blockquote
cite="mid:B5632960467A4C48B4DBF3D2512358A74D295226E2@akechi-denki.ad.nctechcenter.com"
type="cite">
<pre wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:wpkg-users-bounces@lists.wpkg.org">wpkg-users-bounces@lists.wpkg.org</a> [<a class="moz-txt-link-freetext" href="mailto:wpkg-users-bounces@lists.wpkg.org">mailto:wpkg-users-bounces@lists.wpkg.org</a>] On Behalf Of Ludovic DUFLOT
Sent: Tuesday, October 19, 2010 1:06 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a>
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 >> <a class="moz-txt-link-freetext" href="http://lists.wpkg.org/pipermail/wpkg-users/">http://lists.wpkg.org/pipermail/wpkg-users/</a>
_______________________________________________
wpkg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a>
<a class="moz-txt-link-freetext" href="http://lists.wpkg.org/mailman/listinfo/wpkg-users">http://lists.wpkg.org/mailman/listinfo/wpkg-users</a>
-------------------------------------------------------------------------
wpkg-users mailing list archives >> <a class="moz-txt-link-freetext" href="http://lists.wpkg.org/pipermail/wpkg-users/">http://lists.wpkg.org/pipermail/wpkg-users/</a>
_______________________________________________
wpkg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a>
<a class="moz-txt-link-freetext" href="http://lists.wpkg.org/mailman/listinfo/wpkg-users">http://lists.wpkg.org/mailman/listinfo/wpkg-users</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<strong>L.DUFLOT</strong><br>
<em>Service Informatique</em><br>
IUT Annecy - Université de Savoie<br>
<pre>============================================
Assistance informatique :
- Web : <a class="moz-txt-link-freetext" href="https://sos.iut-acy.univ-savoie.fr">https://sos.iut-acy.univ-savoie.fr</a>
- Twitter : <a class="moz-txt-link-freetext" href="http://twitter.com/uds_soiut">http://twitter.com/uds_soiut</a>
- Appel interne : 2000
- Appel externe : 04-50-09-22-22 poste 2000
- Bureau : A265
============================================
</pre>
</div>
</body>
</html>