Problem with windows service!!
C#
1
Posts
1
Posters
0
Views
1
Watching
-
I run D:\Program Files\Microsoft Visual Studio 9.0\VC>Installutill.exe C:\Winservice\Release\LOG.exe to install windows service ,but The following problem occurred: The Rollback phase completed successfully . The transacted install has completed. The installation failed, and the rollback has been performed. ------------ the installer class is as below:
public partial class Installer1 : Installer
{
//ICCIMLOGService
ServiceInstaller ITServersLOG;
ServiceProcessInstaller ICCIMProcessInstaller1;public Installer1() { InitializeComponent(); ITServersLOG = new ServiceInstaller(); ICCIMProcessInstaller1 = new ServiceProcessInstaller(); //process.Account = ServiceAccount.LocalSystem; ICCIMProcessInstaller1.Account = ServiceAccount.LocalService ; // Service will have Start Type of Manual ITServersLOG.StartType = ServiceStartMode.Manual; ITServersLOG.DisplayName = "ICCIMLOGService"; ITServersLOG.ServiceName = ITServersLOG.DisplayName; Installers.Add(ITServersLOG); Installers.Add(ICCIMProcessInstaller1); } }
how can i solve it?!! please help me!! :doh: