RunInstallerAttribute error with framework 1.1

O

Oleg

I've got the error "No public installers with the RunInstallerAttribute.Yes
attribute could be found in the..."
when I'm trying to istall the sevice using InstallUtil.exe.
I checked everything.
I have Framework 1.1 installed and I use for sure InstallUtil version 1.1,
but it still shows the same error.
Does anybody have any idea what could it possibly be?
It drives me crazy.....
 
M

Mike Bulava

Have you added an Installer Class to you service? It sounds like thats what
you are missing.
 
O

Oleg

Thanks, it helped, but I was under impression that it should be done by
default for one service.
 
M

Mike Bulava

Nope unfortunaly when you create a new Service Application in VS it only
gives you the Service class after that you need to create your installer
class for it. Reason being is that you can create an Application exe and
then decide to put a Service in the EXE or you could add additional services
to you single project.
 

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