Thanks but I need to do it programmatically. I have a program that is going
to check for updates on our server and if there is a newer version it will
download it, uninstall the current service and replace it with the new one.
"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.comwrote in
message news:%2****************@TK2MSFTNGP05.phx.gbl...
Hi,
"UJ" <fr**@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
| How could I have a program uninstall a service and then install a newer
| version of the same service? This assumes I've already got the files in
the
| appropriate directory to be able to install the new version of the
service.
There is an option tin the setup project template where you can check for
a
previous version and just install the new over it. Did you try it?
--
Ignacio Machin
machin AT laceupsolutions com