Need to locate licenced/shareware/freeware code/component for adding Autoupdate feature to an exe and and unmanaged dll

I have an application which is a pair of an unmanaged ActiveX dll and an exe that get installed on client/user machines.

I need to add an autoupdate functionality to my dll/exe combo, so that they can constantly ping the server and autoupdate themselves (like toolbars do), when a new update arrives on server.

Is there any existing freeware/shareware/licensed codebase or component which can enable this functionality in my application. It could be in form of a code which can be embedded in existing dll/exe or could be shipped as a third component with my application (adding new components is not a problem).

Please guide me to any source which can enable this functionality, without much time spent on coding.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Check out ("Simple update check function") and ("S.I.V. : Simple program version checking")
swapnil001Author Commented:
just to reiterate:

Check server at specified intervals, read version# from text file, if the version number is newer than the last downloaded/executed version #.. then download the new specified .exe and replace the previous one. similarly,download new dll, unregisters the existing dll, and registers the new dll. The functionality has to be silent (e.g. do not open a web page, simply post/get the data to our server without the user seeing it).

jkr, thanks for your reply. on cursory glance, the "Simple Update Check" states a limitatin as"No automatic download is offered, the user has to download the files from your site and copy/install them". Also "S.I.V" does not work as a silent background thing. I'm not a C++ coder, but need to add this functionality to ActiveX, so would prefer to choose a third party component that can do the work for me. Any sugegstions?
>>"No automatic download is offered, the user has to download the files from your site and copy/install them"

That's not a big deal, you could do that by using

URLDownloadToFile(NULL, "", "c:\\temp\\newfile.dll", 0, NULL);

Then launch a little helper to do the copying, terminate your app and have the helper relaunch it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
swapnil001Author Commented:
Begin completely new to the world of CPP programming, could you give me some idea about how to go about the launching a helper?

i did get some code snippets to help me out on registering/deregistering COM at

If i understand correctly: , the current dll/exe will ping the server for update, download new dll/exe and launch a helper. the helper then deregister old dll, copy new one and register a new one. Right? Can you guide me to a source which helps me understand the launching of such helper programs from C++ code?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.