No installer?

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
 
J

Jan

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

Jan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top