Setup and Deploy - Installer

I finally figured out how to create a Setup & Deployment Project instead of just Publishing the original soloution.
Here's my problem though:  I uninstalled the original program and restarted the computer.  I then tried to install with the setup.exe and .msi files that were created with the build of the Deployment Project.  I got this error message...see attach screenshot below.
dreinmannIT Business Architect - Supply ChainAsked:
Who is Participating?
SweatCoderConnect With a Mentor Commented:
Does your package install a .net windows service? If so, then the uninstall needs to take care to remove the service, which may require custom batch scripting. I suspect that it's trying to install a service that is already there, was never removed.
dreinmannIT Business Architect - Supply ChainAuthor Commented:
I was messing around with trying to create a windows service awhile ago, but I figured out another way to do what I needed.  Other than that, I don't have any window services in my project that I know of.  Is there anything generated automatically?
Here's the stuff put in the Application Folder of the Deploy Project.  Is it one of these?
dreinmannIT Business Architect - Supply ChainAuthor Commented:
I got it!  I think it had to do with the Project Output being in as a Custom Action.  This must have been duplicating the 'Project Output' install.  I don't know when you're suppose to use the Custom Actions - Install/Commit/Rollback/Uninstall, but in my case, I don't think I needed them.

On a side note:  Do you know of any automatic update options with a Deployment Project?  With the way I just Published the project before, I could set it to look for an updated version each time the user opened the program.  I don't know if that's the way I want it to work, but any options like that?
You could look into ClickOnce deployment, that may be useful for you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.