Installation of windows service ?????
-
Hi there, I have written a basic windows service that creates a text file and write some data in it. I have also written a windows service installer for that. Now when I try to install it by using installutil (c:\windows\microsoft.net\framework\v2.0.50727), I get the following error message: No public installers with the RunInstallerAttribute.Yes attribute could be found in the c:\...\windowsservice.exe assembly. Remove InstallState file because there are no installers. Can someone tell me why is that so?????????? Thanks. Sarfraz
-
Hi there, I have written a basic windows service that creates a text file and write some data in it. I have also written a windows service installer for that. Now when I try to install it by using installutil (c:\windows\microsoft.net\framework\v2.0.50727), I get the following error message: No public installers with the RunInstallerAttribute.Yes attribute could be found in the c:\...\windowsservice.exe assembly. Remove InstallState file because there are no installers. Can someone tell me why is that so?????????? Thanks. Sarfraz
Hi, Have you generated the ProjectInstaller class? It should look something like:
[RunInstaller(true)] public class ProjectInstaller : System.Configuration.Install.Installer { ... }
Regards David -
Hi, Have you generated the ProjectInstaller class? It should look something like:
[RunInstaller(true)] public class ProjectInstaller : System.Configuration.Install.Installer { ... }
Regards David -
Thanks for your reply Yes, I did write this class, as I have mentioned in my question. The problem is somewhere else but I don't know where... Sarfraz