Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all,

I created window service and Setup project.

It installs window service.

But, when uninstalling, it doesn't remove window service from Service window.

 

I added primary output to Custom Actions' install folder and Uninstall folder.

But, still doesn't work..

 

How to enable to remove window service when uninstalling?

thank you..

__________________

Sun Certified Web component Developer,

Microsoft Certified Solution Developer .NET,

Software Engineer

  • 1 year later...
Posted

Uninstall

 

This may not be related to your problem, but I had issues with the setup project when doing a service...so I used InstallUtil.exe. Its an application supplied by microsoft and you use it through the command prompt.

 

When I install, I have the exe in the same directory as my service app and use the syntax to install:

 

"InstallUtil <app name>"

 

and this syntax to uninstall:

 

"InstallUtil /u <app name>"

 

Hope that helps!

 

http://msdn2.microsoft.com/en-us/library/50614e95.aspx

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...