cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vikramlagu
Level 3

Problem in using interop for update service.

Hi ,

I am using the interop for the update service in my application. I amc
checking for updates when my application starts up.

I am using the following code for that

"itemUpdate.Download(false)" call in a loop to download updates.
"false" means i have turned the silent download option off.

Now my poblem is that i get a UI sequence once this call executes. If i click cancel during this sequence i am not getting any events.

Is a way to detect in code if the user has pressed cancel in the download
sequence.

Vikram Lagu
0 Kudos
(4) Replies
Chandima
Level 7

What version of agent.exe (C:\Program Files\Common Files\InstallShield\UpdateService) are you using?
0 Kudos
vikramlagu
Level 3

Wierd thing is that. when i have IS installed on my machine i get a 3.20.100.1123. version , but if i install my product on some other machine which has no IS installed on it , the agent that get installed has version 3.10.100.xxxx.

What is the solution for this.
0 Kudos
vikramlagu
Level 3

Can any one please tell me how to create interop for update service.
Basically what i want is that which file should i use to create the interop assembly.
0 Kudos
KellyF
Level 9

Quick VB.NET and C#.NET interop creation was posted at the url below:
http://community.installshield.com/showthread.php?postid=282676#poststop

The specific COM file to include in your project is "DW UpdateService 1.0 Type Library".

KellyF
0 Kudos