All,
When i unistall my service it is giving the following error.
[log]
Microsoft (R) .NET Framework Installation utility Version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
The uninstall is beginning.
See the contents of the log file for the D:\source\bin\debug\MyService.exe assembly's progress.
The file is located at D:\source\bin\debug\MyService.InstallLog.
Uninstalling assembly 'D:\source\bin\debug\MyService.exe'.
Affected parameters are:
logtoconsole =
assemblypath = D:\source\bin\debug\MyService.exe
logfile = D:\source\bin\debug\MyService.InstallLog
Unable to create an instance of the MyService.ProjectInstaller installer type.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
The inner exception System.IO.FileNotFoundException was thrown with the following error message: Could not find file 'C:\Program Files\Microsoft Visual Studio 8\VC\StagerService.xml'..
An exception occurred during the uninstallation of the System.Configuration.Install.AssemblyInstaller installer.
System.InvalidOperationException: Unable to create an instance of the MyService.ProjectInstaller installer type.
The inner exception System.Reflection.TargetInvocationException was thrown with the following error message: Exception has been thrown by the target of an invocation..
The inner exception System.IO.FileNotFoundException was thrown with the following error message: Could not find file 'C:\Program Files\Microsoft Visual Studio 8\VC\StagerService.xml'..
An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.
The uninstall has completed.
An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.
[/log]
Praveen