473,795 Members | 2,834 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 RunInstallerAtt ribute.Yes attribute could be
found in the ........MyServi ce.exe assembly.

I am at the first step of just compiling and running the MS generated
code....Where am I going wrong?

Kind Regards....Adri an

Aug 8 '08 #1
3 1950

"AdrianMorr is" <Ad**********@d iscussions.micr osoft.comwrote in message
news:52******** *************** ***********@mic rosoft.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 RunInstallerAtt ribute.Yes attribute could be
found in the ........MyServi ce.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....Adri an
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.......A drian
"Mark Salsbery [MVP]" wrote:
>
"AdrianMorr is" <Ad**********@d iscussions.micr osoft.comwrote in message
news:52******** *************** ***********@mic rosoft.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 RunInstallerAtt ribute.Yes attribute could be
found in the ........MyServi ce.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....Adri an
Aug 8 '08 #3

"AdrianMorr is" <Ad**********@d iscussions.micr osoft.comwrote in message
news:9C******** *************** ***********@mic rosoft.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.......A drian
"Mark Salsbery [MVP]" wrote:
>>
"AdrianMorri s" <Ad**********@d iscussions.micr osoft.comwrote in message
news:52******* *************** ************@mi crosoft.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 RunInstallerAtt ribute.Yes attribute could
be
found in the ........MyServi ce.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....Adri an
Aug 8 '08 #4

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

Similar topics

6
3379
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) I installed FrontPage server extensions to IIS on my computer while following instructions in a Microsoft ASP.Net MCSD training book. After installing the FrontPage Server Extensions I cannot create a new
0
2129
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 <service_file.exeis the executable of the service. (Thanks to Rohan). But I want to install it using VS 2005 Setup project and I am unable to do that. I have created a Solution in VS 2005 with 2 simple projects.
6
1905
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 Outlook. Now my questions are: How an when did the registering took place? Whre is the informations stored, to wich Application the Addin should be bound?
2
13326
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, but it must install a web service in IIS too.
3
926
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
3774
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
5350
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 excel I get the error Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005. System.UnauthorizedAccessException: Retrieving the COM class factory for
2
8109
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: http://kbalertz.com/954822/install-configure-Indexing-Service-Windows-Server-computer.aspx http://kbalertz.com/820105/Application-Query-Indexing-Service-Catalog-Using-Visual-Basic.aspx I can search some files .xls .doc and others but It will not find anything in .pdf
0
10443
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10216
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10165
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7543
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5565
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2921
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.