This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to query SAUConfigDLL for update status?

This page gives an example of how to change the update server address using a VB script querying SAUConfigDLL.dll.

I'd like to query this dll for the current status of an update action (eg has it finished, maybe also what is it currently doing). I'm assuming this is possible as the same article states: 'This file provides automatic capabilities for reading and changing the configuration of AutoUpdate.' 

Can anyone help?

Thanks in advance,

Tom

:6927


This thread was automatically locked due to age.
  • As far as I can see using oleview and some experimenting it doesn't look possible to get this info using a scripting language at least.

    function FunIsSAUUpdating()
        
    	FunIsSAUUpdating = false
       
        for each process in getobject("winmgmts://.").instancesof("win32_process")
    		if lcase(process.name) = "alupdate.exe"  then
    			FunIsSAUUpdating = true
    			exit function
    		end if
        next
    	
    end function
    

    would give you a function you could use to check if AutoUpdate is updating though.

    Any other info you're trying to get at?

    Regards,

    Jak

    :7159