cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
NikTheGreek
Level 2

DWUpdateServiceLib.IAgentEx4 failed

Hi,

Some users get the error message: 'QueryInterface for interface DWUpdateServiceLib.IAgentx4 failed.'

This is the message from the an exception thrown in C# while AppUpdate() method is called to invoke a check for updates. Anyone knows what it means :confused: ?

Thanks in advance.
0 Kudos
(1) Reply
Ritesh
Level 4

It may be possible that the Update Service binary was not registered properly on the system. Can you try running the following on the system with the problem:
C:\program files\common files\installshield\updateservice\agent.exe /regserver



Also, this is my sample C# code that I used to invoke a check for updates:
DWUpdateServiceLib.IAgentEx4 agt = new DWUpdateServiceLib.AgentClass();
agt.AppUpdate("{AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA}", DWUpdateServiceLib.RunType.AppMenu);
0 Kudos