Windows automatic Updates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LerSam
    New Member
    • Jan 2010
    • 2

    Windows automatic Updates

    I’m new with python

    This my code:
    import win32com
    import win32com.client

    update = win32com.client .Dispatch('Micr osoft.Update.Se ssion')
    updateSearcher = update.CreateUp dateSearcher()
    in this line I has exception
    searchResult = updateSearcher. Search(‘AutoSel ectOnWebSites=1 and Type="Software" ’)

    the exception that I got is:
    (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2145124302), None)

    I think the exception raise because the parameters problems.
    Somebody please explain me what mining of this exception and how can I fix this problem
    Thank you
    Samuel
  • LerSam
    New Member
    • Jan 2010
    • 2

    #2
    Problem rising on windows 2000 professional

    Comment

    Working...