How to update a program frome remote computer

What ways are there to remote a program in some computer from remote?
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.

There are lots o ways, depends on what exactly you want to accomplish.

For example, if you want the client program to upgrade itself, it can download the revised program from the server with a different name (since you cannot overwrite a running file, and even if you could - you'd like to preserve the original in case the download fails to complete) and replace it at next startup by means of MoveFileEx() or WININIT.INI

Another option is to partition your app into several DLLs, then FreeLibrary() and replace the needed DLL.

If you wanted to do something else, please elaborate.
I've done sth. like this by having a service runnig on the client which initiates the update when it's signalled to. Is this what you thought of?
I have a upd.ini in the server . Each time the program loads it downloads the ini and checks if newer version . If exist , prompts user and starts download .
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

michaliAuthor Commented:
jkr- how exactly the service is work?
by whom it is signalled and how it updates the program?
>>by whom it is signalled and how it updates the program?

It is by a 'helper' app that uses an IPC channel to initiate the update - this app can either be started manually or by the setup program that installs a newer component on the server...

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
Wel, you should have *asked* if you had more questions on this, so I might have been more helpful than a 'C' ... (thanx anyway ;-)
michaliAuthor Commented:
you are right.
I will remember this for next time.
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.