473,407 Members | 2,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

VS 2008 Project Wizzard - Windows Service

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

Aug 8 '08 #1
3 1914

"AdrianMorris" <Ad**********@discussions.microsoft.comwrote in message
news:52**********************************@microsof t.com...
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?


How to: Add Installers to Your Service Application
http://msdn.microsoft.com/en-us/libr...yf(VS.80).aspx

Mark

--
Mark Salsbery
Microsoft MVP - Visual C++

>
Kind Regards....Adrian
Aug 8 '08 #2
WOW!!!

Many thanks!

I have been searching for some documention like this for the last week!

Have implemented, and all is working Perfectly.

Many thanks for your prompt response - Have a great weekend

Regards.......Adrian
"Mark Salsbery [MVP]" wrote:
>
"AdrianMorris" <Ad**********@discussions.microsoft.comwrote in message
news:52**********************************@microsof t.com...
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?

How to: Add Installers to Your Service Application
http://msdn.microsoft.com/en-us/libr...yf(VS.80).aspx

Mark

--
Mark Salsbery
Microsoft MVP - Visual C++


Kind Regards....Adrian
Aug 8 '08 #3

"AdrianMorris" <Ad**********@discussions.microsoft.comwrote in message
news:9C**********************************@microsof t.com...
WOW!!!

Many thanks!

I have been searching for some documention like this for the last week!

Have implemented, and all is working Perfectly.

Many thanks for your prompt response - Have a great weekend

Cool! You're welcome and have a great weekend yourself, thanks!

Mark

--
Mark Salsbery
Microsoft MVP - Visual C++

>
Regards.......Adrian
"Mark Salsbery [MVP]" wrote:
>>
"AdrianMorris" <Ad**********@discussions.microsoft.comwrote in message
news:52**********************************@microso ft.com...
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?

How to: Add Installers to Your Service Application
http://msdn.microsoft.com/en-us/libr...yf(VS.80).aspx

Mark

--
Mark Salsbery
Microsoft MVP - Visual C++

>
Kind Regards....Adrian
Aug 8 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
0
by: JM | last post by:
I have created simple windows service which just write message to event log when it starts and stops. I am able to install it succesfully using: installutil <service_file.exe>, where...
6
by: Christof Nordiek | last post by:
Hi, I created an Addin Project with the Addin-Project-Wizzard in VS2005. I added some code from a Knowledge Base How To und built the project. It worked, and the Addin got registered with...
2
by: =?Utf-8?B?Um9nZWxpbw==?= | last post by:
I know this has been answered, I just can't find it. can someone point me to a URL or thread that shows how to install a web service in a Windows Setup Project ? I need to install a windows app,...
3
by: cj | last post by:
I know there is a menu somewhere in 2008 that lets you set the version of .net to build the app to. Where is it? I'm building a windows app if that makes a difference.
1
by: =?Utf-8?B?QW50amU=?= | last post by:
I need product keys for Terminal Server Windows Server 2008 access (CALs) under MSDN - TSLM Service said they cannot provide product keys for the access.
8
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a web site that automates excel. This site runs in server 2003. iis 6.0 office 2003 installed I moved this app to server 2008 iis 7.0 office 2003 installed Now when I try to automate...
2
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a server 2008 IIS 7.0 with indexing service installed. I have created the catalog and have a test page using these posts:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.