I'm testing applying MS security patches via wpkg to a Windows XP Pro PC.  In 
Windows' application eventlog I get errors like this:

There were the following errors:


Package name: null

Could not install null.
Exit code returned non-successful value: 61686.

\\myserver\myinstallshare\windowsxp-kb873339-x86-enu.exe /quiet /norestart

The 61686 error is for invalid switches.  Do I need to escape the switches or 
add them like another parameter?  Here's the stanza for the failed above 
install:

    <package id="kb873339">
        name="MS_Windows_KB873339"
        revision="1"
        reboot="false"
        priority="0">
        <check type="registry" condition="exists" 
path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB873339"
 />
        <install cmd='\\myserver\myinstallshare\windowsxp-kb873339-x86-enu.exe 
/quiet /norestart
' />
        <exit code="0" />                       
    </package>

My other question is why is the package name "null"?  I tested installs with 
7-zip, etc. and they worked fine.  Does it have anything to do with 
dependencies?  I defined the patches in the sequence I had in a cmd file I used 
to patch PCs, and each patch had a dependency on the previous patch, but only 
used that single previous package as a dependency.  For example, the patch 
following the above stanza is:

    <package id="kb885836">
        <depends package-id="kb873339"/>
        name="MS_Windows_KB885836"
        revision="1"
        reboot="false"
        priority="0">
        <check type="registry" condition="exists" 
path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB885836"
 />
        <install cmd='\\myserver\myinstallshare\windowsxp-kb885836-x86-enu.exe 
/quiet /norestart
' />
        <exit code="0" />                       
    </package>

Sorry for the long email, and thanks in advance for any help.




       Choose the right car based on your needs.  Check out Yahoo! Autos new 
Car Finder 
tool.http://us.rd.yahoo.com/evt=48518/*http://autos.yahoo.com/carfinder/;_ylc=X3oDMTE3NWsyMDd2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDY2FyLWZpbmRlcg--
 hot CTA = Yahoo! Autos new Car Finder tool
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to