<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello list,<br>
<br>
I think I've a conceptional problem: I've got computers running W2k
which are not capable of the "taskkill" command used in the firefox
package to kill any running firefox-processes. So I decided to use
pskill instead of taskkill. But on the first run of pskill it asks
the user to accept the eula. I found a .cmd file on
<a class="moz-txt-link-freetext" href="http://forum.sysinternals.com/topic8783_page7.html">http://forum.sysinternals.com/topic8783_page7.html</a> which sets a
registry values indicating that the eulas of all sysinternals tools
have already been accepted.<br>
Now I tried to make my own package file with this command, but only
working for pskill:<br>
<br>
<packages><br>
<package <br>
id="pskilleula"<br>
name="Accept pskill EULA"<br>
revision="1"<br>
reboot="false"<br>
priority="99"><br>
<br>
<check<br>
type="registry"<br>
condition="equals"<br>
path="HKCU\Software\Sysinternals\PsKill\EulaAccepted"
value="1"/><br>
<br>
<install cmd='REG ADD "HKCU\Software\Sysinternals\PsKill" /v
EulaAccepted /t REG_DWORD /d 1 /f'><br>
<exit code="0" /><br>
</install><br>
<br>
<-- <upgrade cmd='%SystemRoot%\System32\msg.exe * /TIME:10
"upgrade"'><br>
<exit code="0" /><br>
</upgrade><br>
--><br>
<br>
<remove cmd='REG DELETE "HKCU\Software\Sysinternals\PsKill"
/v EulaAccepted /f'><br>
<exit code="0" /><br>
</remove><br>
<br>
</package><br>
</packages><br>
<br>
<br>
<br>
The value gets correctly set and works fine. My problem now is the
remove command: When a client is booting up the registry key gets
deleted by wpkg irunning in delayed logon mode. But when I login as
a domain user using roaming profiles, the old registry becomes
restored from the roaming profile on the server and the key also
gets restored. But the wpkg.xml file in system32 has already deleted
all information belonging to "pskilleula" and the package is marked
as not installed.<br>
<br>
I know, it doesn't make much sense to remove this key, but I'm
interested in the problem itself. How can I act in such
circumstances when designing my own package files?<br>
<br>
<br>
<br>
<div class="moz-signature">-- <br>
Mit freundlichen Grüßen <br>
<br>
Sebastian Hoffmann <br>
-Pallas Group- <br>
P+O Compact Disc GmbH & Co. KG <br>
IT / Programmierung <br>
Auf dem Esch 8 <br>
49356 Diepholz <br>
Tel.: +49 5441 977-180 <br>
Fax: +49 5441 977-177 <br>
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:Sebastian.Hoffmann@pallas-group.de">Sebastian.Hoffmann@pallas-group.de</a> <br>
Internet: <a class="moz-txt-link-abbreviated" href="http://www.pallas-group.de">www.pallas-group.de</a> <br>
<img moz-do-not-send="true"
src="http://www.pallas-group.de/signatur/logo.jpg" alt=""> <br>
Amtsgericht Walsrode HRB 100696 <br>
UST.ID.NR.: (VAT.REG.NO.): DE 811248035 <br>
Persönlich haftende Gesellschafterin: <br>
Order Verwaltungs-GmbH * Sitz Diepholz <br>
Amtsgericht Walsrode HRB 101171 <br>
Geschäftsführer: <br>
Rolf Neumann * Holger Neumann * Rainer Koppermann <br>
<br>
P.S.: Wir sind offizieller Lizenzpartner von Toshiba, Philips und
MPEG-2. <br>
</div>
</body>
</html>