473,395 Members | 1,678 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,395 software developers and data experts.

Register service with parameters usingInstallUtil ?

Hi Guys,

Does anybody know how to register a service with parameters? I
developed an application in VB.NET with can also run as a service.
Therefore the executable must be started with a -service option. So
the exe path to be registered should look like

C:\tool\tool.exe -service

Now I change it in the registry after using InstallUtil but there must
be a better way?

Thanks,
Wolfgang

Sep 11 '07 #1
2 1429
On 11 Sep., 12:44, vbnet Group <wolfgang....@gmail.comwrote:
Hi Guys,

Does anybody know how to register a service with parameters? I
developed an application in VB.NET with can also run as a service.
Therefore the executable must be started with a -service option. So
the exe path to be registered should look like

C:\tool\tool.exe -service

Now I change it in the registry after using InstallUtil but there must
be a better way?

Thanks,
Wolfgang
Nobody knows any answer?

Sep 18 '07 #2
"vbnet Group" <wo**********@gmail.comschrieb
On 11 Sep., 12:44, vbnet Group <wolfgang....@gmail.comwrote:
Hi Guys,

Does anybody know how to register a service with parameters? I
developed an application in VB.NET with can also run as a service.
Therefore the executable must be started with a -service option.
So the exe path to be registered should look like

C:\tool\tool.exe -service

Now I change it in the registry after using InstallUtil but there
must be a better way?

Thanks,
Wolfgang

Nobody knows any answer?
Maybe someone in the Framework groups (m.p.dotnet.framework.*; choose the
right one). This one is about the VB.Net *languague* but your question is
not about the language.
Armin

Sep 18 '07 #3

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

Similar topics

2
by: Robert M. | last post by:
Information: Server A: SQL Server 2000 Enterprise Edition. OS is Windows 2003 Server Enterprise Edition. SQL Service pack is 3a. Member of domain ABCDomain. Server A is going to function as a...
2
by: Shazad | last post by:
I am creating a windows service that requires parameters to start. The service Startup Type is set to automatic therefore it starts when the computer is started or rebooted. However the service...
5
by: vinoth | last post by:
Hi, I have created WindowsService Project.In that Project OnStart Method i have written the following Code. In this code the Server is waiting for the connection from client. When the Client...
0
by: leslie_tighe | last post by:
Hello, I have a set of web services running on Java server that are exposed through axis 1.2.1. I can invoke these services in browser and through a java test client. However, when I try to...
4
by: leslie_tighe | last post by:
Hello, I have a webservice running on a J2EE server created with Axis 1.2.. I have a client that I am building in .net that needs to consume this webserivce and am having a bit of trouble. I have...
2
by: BluNuit | last post by:
I have a simple c# app that calls a Java (AXIS) web service to perform some operations. The call works fine (the java code fires and the operations are executed), but the response is always null. ...
3
by: =?Utf-8?B?UGllcnJl?= | last post by:
Hello, I have a .NET 2.0 web service that is consumed by a Delphi application. The Delphi application calls a method from the .NET web service with parameters. Theses parameters are in the...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Actually, my installer package is not for a Windows Service, but for a WinForms application. Well, it is kind of both: this is a multi-project solution with its main target being a WinForms...
12
by: Sensei | last post by:
Hi again! I have recently encountered an old code in K&R style which declared function parameters as register. That puzzles me, and I know this is implementation defined, and depends on...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
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
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...

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.