Reinstall Windows Service from same Windows Service

125 Views Asked by At

I need to reinstall my Windows service from same service. And installable version can be a previous version, so RemovePreviousVersion flag in setup project not going to work.

If I start the uninstall process from same service, my service will be stopped, and I can't to start another process to install desired version.

Is there any other way other than creating bat-file to uninstall and install required version from it?

0

There are 0 best solutions below