Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installer can't remove previous version

I use a visual studio setup & deploy project to install my components of my application. This has worked sucessfully with other applications and to allow the current version to install over the top of previous versions usually means just setting a property on the install project namely RemovePreviousVersions and setting that to true.

In this case, a windows service is installed and when I try to install the latest version I get the message "The specified service already exists". I've tried to stop the service before doing the installation.

Is there a simple way around this problem?

like image 277
user48408 Avatar asked May 05 '26 02:05

user48408


1 Answers

You will have to manually uninstall the service, then install it again.

http://msdn.microsoft.com/en-us/library/sd8zc8ha(VS.80).aspx

like image 162
Alex Avatar answered May 08 '26 02:05

Alex



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!