Yeah thanks, that solved the problem with the Firefox package under W2K for me.

I found a "newer" ;-) version, 2.4.2, under http://www.grossmatten.ch/share-freeware/Microsoft/SysInternals/PsTools%202.42/PsTools/


But what can I do when I have to set registry keys during delayed logon with roaming profiles? In my opinion they are always restored from the roaming profile during login when they first have been deleted by the uninstall cmd during delayed logon. Or am I wrong?


Mit freundlichen Grüßen

Sebastian Hoffmann
-Pallas Group-
P+O Compact Disc GmbH & Co. KG
IT / Programmierung
Auf dem Esch 8
49356 Diepholz
Tel.: +49 5441 977-180
Fax: +49 5441 977-177
E-Mail: sebastian.hoffm...@pallas-group.de
Internet: www.pallas-group.de

Amtsgericht Walsrode HRB 100696
UST.ID.NR.: (VAT.REG.NO.): DE 811248035
Persönlich haftende Gesellschafterin:
Order Verwaltungs-GmbH * Sitz Diepholz
Amtsgericht Walsrode HRB 101171
Geschäftsführer:
Rolf Neumann * Holger Neumann * Rainer Koppermann

P.S.: Wir sind offizieller Lizenzpartner von Toshiba, Philips und MPEG-2.

schrieb clei...@gmail.com:
Hi,

Try a "newer" version of pstools with the -accepeula switch.

More info here: http://blogs.technet.com/b/sysinternals/archive/2006/12/05/updates-pstools-and-sysinternalssuite.aspx

-CL

2010/7/22 Sebastian Hoffmann <sebastian.hoffm...@pallas-group.de <mailto:sebastian.hoffm...@pallas-group.de>>

    Hello list,

    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
    http://forum.sysinternals.com/topic8783_page7.html which sets a
    registry values indicating that the eulas of all sysinternals
    tools have already been accepted.
    Now I tried to make my own package file with this command, but
    only working for pskill:

    <packages>
    <package
        id="pskilleula"
        name="Accept pskill EULA"
        revision="1"
        reboot="false"
        priority="99">

    <check
            type="registry"
            condition="equals"
            path="HKCU\Software\Sysinternals\PsKill\EulaAccepted"
    value="1"/>

    <install cmd='REG ADD "HKCU\Software\Sysinternals\PsKill" /v
    EulaAccepted /t REG_DWORD /d 1 /f'>
    <exit code="0" />
    </install>

    <-- <upgrade cmd='%SystemRoot%\System32\msg.exe * /TIME:10 "upgrade"'>
    <exit code="0" />
    </upgrade>
        -->

    <remove cmd='REG DELETE "HKCU\Software\Sysinternals\PsKill" /v
    EulaAccepted /f'>
    <exit code="0" />
    </remove>

    </package>
    </packages>



    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.

    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?



-- Mit freundlichen Grüßen

    Sebastian Hoffmann
    -Pallas Group-
    P+O Compact Disc GmbH & Co. KG
    IT / Programmierung
    Auf dem Esch 8
    49356 Diepholz
    Tel.: +49 5441 977-180
    Fax: +49 5441 977-177
    E-Mail: sebastian.hoffm...@pallas-group.de
    <mailto:sebastian.hoffm...@pallas-group.de>
    Internet: www.pallas-group.de <http://www.pallas-group.de>

    Amtsgericht Walsrode HRB 100696
    UST.ID.NR <http://UST.ID.NR>.: (VAT.REG.NO.): DE 811248035
    Persönlich haftende Gesellschafterin:
    Order Verwaltungs-GmbH * Sitz Diepholz
    Amtsgericht Walsrode HRB 101171
    Geschäftsführer:
    Rolf Neumann * Holger Neumann * Rainer Koppermann

    P.S.: Wir sind offizieller Lizenzpartner von Toshiba, Philips und
    MPEG-2.

    -------------------------------------------------------------------------
    wpkg-users mailing list archives >>
    http://lists.wpkg.org/pipermail/wpkg-users/
    _______________________________________________
    wpkg-users mailing list
    wpkg-users@lists.wpkg.org <mailto:wpkg-users@lists.wpkg.org>
    http://lists.wpkg.org/mailman/listinfo/wpkg-users


<<attachment: sebastian_hoffmann.vcf>>

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to