A
AdrianMorris
Hi,
I am trying to create a Windows Service for Vista/Server 2003/XP machines.
I used the Wizard in VS 2008 to create the basic service. I am using Visual
C++ and used the "Windows Service" template (Under CLR). It states that you
install the compiled service by typing:
MyService.exe -Install
My blank service compiles perfectly. At a command prompt I attempt to
install it using the above command. The response to this is:
No public installers with the RunInstallerAttribute.Yes attribute could be
found in the ........MyService.exe assembly.
I am at the first step of just compiling and running the MS generated
code....Where am I going wrong?
Kind Regards....Adrian
I am trying to create a Windows Service for Vista/Server 2003/XP machines.
I used the Wizard in VS 2008 to create the basic service. I am using Visual
C++ and used the "Windows Service" template (Under CLR). It states that you
install the compiled service by typing:
MyService.exe -Install
My blank service compiles perfectly. At a command prompt I attempt to
install it using the above command. The response to this is:
No public installers with the RunInstallerAttribute.Yes attribute could be
found in the ........MyService.exe assembly.
I am at the first step of just compiling and running the MS generated
code....Where am I going wrong?
Kind Regards....Adrian