[python-win32] Exit Status of Microsoft Patches
Atul Kamat
atulkat at gmail.com
Mon Mar 28 07:38:43 CEST 2005
Hi!
I tried installing a microsoft security patch for XP using os.system
method on windows 2000 professional. The installtion failed because of
incompatibility, but it still returned an exit code of ' 0 '.I also
tried using os.popen2,3,4 methods but didnt work.Any Inputson how i
can get the correct exit error code?..
I tried the following commands
os.system('patch_name /q/z/m')
and
os.popen2('patch_name /q/z/m')
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/error_codes.asp
Thanks and Regards
Atul
More information about the Python-win32
mailing list