Hi,<br><br>Try a "newer" version of pstools with the -accepeula switch.<br><br>More info here: <a href="http://blogs.technet.com/b/sysinternals/archive/2006/12/05/updates-pstools-and-sysinternalssuite.aspx">http://blogs.technet.com/b/sysinternals/archive/2006/12/05/updates-pstools-and-sysinternalssuite.aspx</a><br>
<br>-CL<br><br><div class="gmail_quote">2010/7/22 Sebastian Hoffmann <span dir="ltr"><<a href="mailto:sebastian.hoffmann@pallas-group.de">sebastian.hoffmann@pallas-group.de</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div 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 href="http://forum.sysinternals.com/topic8783_page7.html" target="_blank">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>-- <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 href="mailto:Sebastian.Hoffmann@pallas-group.de" target="_blank">Sebastian.Hoffmann@pallas-group.de</a> <br>
Internet: <a href="http://www.pallas-group.de" target="_blank">www.pallas-group.de</a> <br>
<img src="" alt=""> <br>
Amtsgericht Walsrode HRB 100696 <br>
<a href="http://UST.ID.NR" target="_blank">UST.ID.NR</a>.: (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>
</div>
<br>-------------------------------------------------------------------------<br>
wpkg-users mailing list archives >> <a href="http://lists.wpkg.org/pipermail/wpkg-users/" target="_blank">http://lists.wpkg.org/pipermail/wpkg-users/</a><br>
_______________________________________________<br>
wpkg-users mailing list<br>
<a href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a><br>
<a href="http://lists.wpkg.org/mailman/listinfo/wpkg-users" target="_blank">http://lists.wpkg.org/mailman/listinfo/wpkg-users</a><br>
<br></blockquote></div><br>