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.
Installer.jpg
dreinmannIT Business Architect - Supply ChainAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SweatCoderCommented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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?
InstalledFiles.jpg
0
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?
0
SweatCoderCommented:
You could look into ClickOnce deployment, that may be useful for you.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.