954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Error While Uninstalling the MSI Installer

Hi ,
I Developed a windows Deployment Application.It contains One Windows Application,Windows Service and Custom Action Application.Some Times While Uninstalling Windows service is Removed and Uninstall process is Stopped.And It is showing an error that Specified service doesn't exist.Then I am manually installing the Windows Service from Visual studio 2005 Command Prompt.then Uninstall Process is Succeeded.But it is not possible at client System.Can any one Tell me How to Uninstall Application Completely even though one of the Project Removed.

Thanks in Advance,

narayanc1
Newbie Poster
8 posts since Nov 2008
Reputation Points: 10
Solved Threads: 0
 

Generally when I uninstall or install services via the MSI, I do all of it in the custom action portion. I would look at this:

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

for a little more information on the process. Also, does the user account you're installing with have full permissions to start and stop services?

alc6379
Cookie... That's it
Team Colleague
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
 

Alex,

Thank you,
While Uninstalling if we got any error (as our Installer contains both windows Application and Windows Service).If the database(MSAccess-It will be added to the Application Folder in SetUp Creation) of Windows Application is in open Position.Then the Uninstall Process Removing Windows Service and Unable to Remove Windows Application.Then If we try again to Uninstall the Setup it will not be Removed as the Windows Service Doesn't Exist.
This is the Problem.How we can Uninstall completely even though One of our Project is Removed

narayanc1
Newbie Poster
8 posts since Nov 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You