Hi,
Not sure where this post belongs so please excuse me if it’s in the wrong
group.
I’m trying to use the WUAPILib.dll from Windows Update v5 with VB.NET. I
can instantiate it locally fine but what I really need is to be able to do
this remotely.
My first thought was to use CreateObject:
Dim wu As Object = CreateObject("M icrosoft.Update .Searcher.1", "XP-TEST1")
This always returns “ActiveX Cannot Create Objectâ€.
It’s worth noting that the XP machine doesn’t have SP 2 on it, I’ve just
upgraded WU to v5. This rules out any firewall or enhanced security
configuration issues.
I thought it may be a DCOM configuration issue but when I looked on the XP
box, it looks like the WU library doesn’t support remote instantiation.
Perhaps a way around this is to use WMI to instantiate the API locally but
can WMI be used as a proxy?
Any thoughts or pointers would be greatly appreciated.
--
--------------------------------------------------------------
Flarepath Windows Update Analyser - download at http://www.flarepath.com
--------------------------------------------------------------
Not sure where this post belongs so please excuse me if it’s in the wrong
group.
I’m trying to use the WUAPILib.dll from Windows Update v5 with VB.NET. I
can instantiate it locally fine but what I really need is to be able to do
this remotely.
My first thought was to use CreateObject:
Dim wu As Object = CreateObject("M icrosoft.Update .Searcher.1", "XP-TEST1")
This always returns “ActiveX Cannot Create Objectâ€.
It’s worth noting that the XP machine doesn’t have SP 2 on it, I’ve just
upgraded WU to v5. This rules out any firewall or enhanced security
configuration issues.
I thought it may be a DCOM configuration issue but when I looked on the XP
box, it looks like the WU library doesn’t support remote instantiation.
Perhaps a way around this is to use WMI to instantiate the API locally but
can WMI be used as a proxy?
Any thoughts or pointers would be greatly appreciated.
--
--------------------------------------------------------------
Flarepath Windows Update Analyser - download at http://www.flarepath.com
--------------------------------------------------------------