473,809 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows Services Tutorial not working out............ ....

On this link http://msdn2.microsoft.com/en-us/lib...64(VS.71).aspx,
i tried this tutorial and it lists the following steps:

Next you will add the output from the Windows Service project,
MyNewService.ex e, to the setup.

To add MyNewService.ex e to the setup project

1. In Solution Explorer, right-click MyServiceSetup, point to Add,
then choose Project Output.

The Add Project Output Group dialog box appears.
2. MyNewService is selected in the Project box.
3. From the list box, select Primary Output, and click OK.

A project item for the primary output of MyNewService is added
to the setup project. Now add a custom action to install the
MyNewService.ex e file.

The problem:

When i selected, Add -Project Output ..... The dialog box appeared
but as blank and it did not have any options. It does not have
anything selected in it.

What to do ? I have tried this tutorial 4 to 5 times and the same
tutorial is given on codeproject.

Mar 29 '07 #1
2 3051
On 29 Mar, 22:37, "weird0" <amiredi...@gma il.comwrote:
On this linkhttp://msdn2.microsoft .com/en-us/library/aa984464(VS.71) .aspx,
i tried this tutorial and it lists the following steps:

Next you will add the output from the Windows Service project,
MyNewService.ex e, to the setup.

To add MyNewService.ex e to the setup project

1. In Solution Explorer, right-click MyServiceSetup, point to Add,
then choose Project Output.

The Add Project Output Group dialog box appears.
2. MyNewService is selected in the Project box.
3. From the list box, select Primary Output, and click OK.

A project item for the primary output of MyNewService is added
to the setup project. Now add a custom action to install the
MyNewService.ex e file.

The problem:

When i selected, Add -Project Output ..... The dialog box appeared
but as blank and it did not have any options. It does not have
anything selected in it.

What to do ? I have tried this tutorial 4 to 5 times and the same
tutorial is given on codeproject.
Are you adding the setup project to the solution or closing your
service project and creating the setup project on its own? If I just
create a setup project I see what you're seeing, if it's in a solution
with any other project, the other project is listed.

Also, what version of Visual Studio are you using?

Mar 30 '07 #2
Hello,
Simply, you are adding a stand lone setup project, i.e, you are not
attaching the setup project to your solution.
instead of adding new project from the file tab. go to solution explorer,
right click your solution and click on add new project, then follow the
steps, you will have the "my new service" in the project dropdown list!

Enjoy...

Husam Al-A'araj

"DeveloperX " wrote:
On 29 Mar, 22:37, "weird0" <amiredi...@gma il.comwrote:
On this linkhttp://msdn2.microsoft .com/en-us/library/aa984464(VS.71) .aspx,
i tried this tutorial and it lists the following steps:

Next you will add the output from the Windows Service project,
MyNewService.ex e, to the setup.

To add MyNewService.ex e to the setup project

1. In Solution Explorer, right-click MyServiceSetup, point to Add,
then choose Project Output.

The Add Project Output Group dialog box appears.
2. MyNewService is selected in the Project box.
3. From the list box, select Primary Output, and click OK.

A project item for the primary output of MyNewService is added
to the setup project. Now add a custom action to install the
MyNewService.ex e file.

The problem:

When i selected, Add -Project Output ..... The dialog box appeared
but as blank and it did not have any options. It does not have
anything selected in it.

What to do ? I have tried this tutorial 4 to 5 times and the same
tutorial is given on codeproject.

Are you adding the setup project to the solution or closing your
service project and creating the setup project on its own? If I just
create a setup project I see what you're seeing, if it's in a solution
with any other project, the other project is listed.

Also, what version of Visual Studio are you using?

Mar 30 '07 #3

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

Similar topics

5
6364
by: Andrei | last post by:
Hello, I posted yesterday the same problem, but now I want to be more specific about it. My intention is to create a windows service to process some Word documents. If I use CreateObject to create a reference to a Word object everything is working fine. If I use GetObject to get a reference to Word object (of
6
1834
by: Dan V. | last post by:
Is there a way to query a remote xml file periodically by not using web services? For Windows and Unix platforms. Is there a cheap software product that I can install on each client and my Windows 2000 server and have 'secure' network access? I would love to use VS.NET to access both windows and Unix/Linux xml files.
4
8835
by: Steve Barker | last post by:
Hi guys! I have written a .NET application that uses WMI to iterate through CD drives, in order to detect whether a certain CD has been loaded into the CD Drive. When the application starts up, I run a basic WMI query to check whether WMI is installed. Clearly, there are some issues with older versions of Windows not having WMI
2
1773
by: Steven | last post by:
I have a service process that contains two services but only one of them ever works properly. The background is I have two classes which are Individual() and Mass() in the main service class and they both inherit ServiceBase. The main Method is as follows: static void Main() { System.ServiceProcess.ServiceBase ServicesToRun; ServicesToRun = new System.ServiceProcess.ServiceBase
4
2941
by: TampaWebDevelopment | last post by:
I have just finished a Windows Service that I have been working on for quite some time that works pretty well and is fairly useful. To this point, editing configuration items of the service requires manually editing the config.xml file. This is completely fine for me. But, I just decided that I want to build a nice little GUI for the service, give it a tray icon, and release it for all to use. I have developed plenty of desktop...
5
3313
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name? Why do I need to set a property within my code to the service name? Are all these required or am I just doing this for consistency purposes?
1
2090
by: =?Utf-8?B?TWFuanJlZSBHYXJn?= | last post by:
Hi, I created a web service that I want to host in windows service. The problem is that if I host it as windows service it does not use the configuration file. I have to define the binding, endpoint etc. programmatically in the Program.cs file. Any idea what I might be doing wrong? Cheers,
0
6126
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Overview NOTE- This complete article on "Windows Autorun FAQs" applies theoretically to all Windows NT-based OSes till Windows Vista (and probably Vista's successors too). Much of the contents of this article are tested on Windows XP professional SP2 by the author. Some instances of this article may be altogether different/missing on Windows Vista, XP and other Windows NT systems, but I have tried to write a...
0
9722
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10378
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
10391
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
7664
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
6881
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
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4333
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3862
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
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.