No installer?

  • Thread starter Thread starter Jan
  • Start date Start date
J

Jan

Hi,

I ran into a problem when I tried to install a Windows service using
installutil.exe. I got an error like this and the service was not installed.

No public installers with the RunInstallerAttribute.Yes attribute could be
found in the c:\SomeFolder\MyService.exe assembly.
Remove InstallState file because there are no installers.

My service installer looks normal like this.
[RunInstaller(true)]
public class ProjectInstaller : System.Configuration.Install.Installer
{ ...
}

I have .NET 2003 and Framework 1.1. I also have installutil.exe file in
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\.

I could only see this problem posted over the Web but not a real answer.
Anyone have any idea? Thanks in advance.

Jan
 
I found the answer. Just specify the path of the installutil.exe file in 1.1
folder in the command line.

Jan
 
Back
Top