473,486 Members | 2,407 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

dploying windows service using install script

Hi,

How to run automatically windows service by using setup deployment
insatllation script using visual studio 2003.?

What i did is :--
1. created a windows service & tested the
same.
2. then i used the windowsservice.exe in setup
deployment project.

what i think is to have a .bat file which will have installutil.exe
test.exe [i.e. windows service exe]

i want to know how to execute that .bat file while deploying the
windowservice...
which will automatically install windows service in services...

waiting for reply,

Raghavendra...


Nov 15 '05 #1
2 3259

Hi ,

I have viewed your post, I will do some research for you.
I will reply to you ASAP.
Thanks for your understanding.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "raghavendra" <ra***************@thomson.com>
| Subject: dploying windows service using install script
| Date: Fri, 14 Nov 2003 14:12:15 +0530
| Lines: 27
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <uT**************@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: 164.164.89.27
| Path:
cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP09.
phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:199276
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Hi,
|
| How to run automatically windows service by using setup deployment
| insatllation script using visual studio 2003.?
|
| What i did is :--
| 1. created a windows service & tested the
| same.
| 2. then i used the windowsservice.exe in
setup
| deployment project.
|
| what i think is to have a .bat file which will have
installutil.exe
| test.exe [i.e. windows service exe]
|
| i want to know how to execute that .bat file while deploying the
| windowservice...
| which will automatically install windows service in services...
|
| waiting for reply,
|
| Raghavendra...
|
|
|
|
|
|
|

Nov 15 '05 #2

Hi,

VS.net provides you strongly support of creating windows service. It
provides you "Windows Service" project for you. The link below teaches you
how to setup a windows service project.
http://msdn.microsoft.com/library/de...us/vbcon/html/
vbwlkwalkthroughcreatingwindowsserviceapplication. asp
While the article below teaches you how to Create a Setup Project for a
Windows Service Application in Visual C# .NET
http://support.microsoft.com/?id=816169

Hope this helps,
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "raghavendra" <ra***************@thomson.com>
| Subject: dploying windows service using install script
| Date: Fri, 14 Nov 2003 14:12:15 +0530
| Lines: 27
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <uT**************@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: 164.164.89.27
| Path:
cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP09.
phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:199276
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Hi,
|
| How to run automatically windows service by using setup deployment
| insatllation script using visual studio 2003.?
|
| What i did is :--
| 1. created a windows service & tested the
| same.
| 2. then i used the windowsservice.exe in
setup
| deployment project.
|
| what i think is to have a .bat file which will have
installutil.exe
| test.exe [i.e. windows service exe]
|
| i want to know how to execute that .bat file while deploying the
| windowservice...
| which will automatically install windows service in services...
|
| waiting for reply,
|
| Raghavendra...
|
|
|
|
|
|
|

Nov 15 '05 #3

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

Similar topics

1
9258
by: Dave | last post by:
I downloaded PHP w/ Install Shield for Windows and installed it following all the prompts. I wrote a couple of test pages in Dreamweaver MX 2004, and got the http: 404 error message, "page not...
7
3656
by: sidd | last post by:
Hi All, i have some doubts on .net windows services.. please see if some one could help me understand this.. 1)is it possible to install a windows service which does not have a installer added...
18
1978
by: jayderk | last post by:
a customer was trying to install some of our software after they installed the windows XP service pack 2 and he is getting a message that says something about it not being compatable with windows...
2
7969
by: Fan Wang | last post by:
Hi All, I wrote a windows service with C# as below. But I can't install it with installutil.exe. I got an error message " Exception occurred while initializing the installation:...
2
4656
by: letibal | last post by:
Hello, I have written a windows service and created an installer for it. The service runs under the system accounts. When started, it launches a GUI. By default, the InteractiveProcess property...
4
4153
by: tshad | last post by:
What would be a good way to check programmatically whether a service was running? We have a service that dies periodically and I need to check to see if this service is running. I know how to...
3
3057
by: JM | last post by:
Hi, I have created a Solution in VS 2005 with 2 simple projects. First project is simple Windows Service which writes an entry into event log when it starts and when it stops. Nothing else. I...
1
3015
by: Aspersieman | last post by:
Hi All I have a windows service (attached file). I basically just calls another script every 60 seconds. I can install, start and stop this service as expected with: ParseMailboxService.py...
5
3266
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?...
0
7100
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
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6842
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
7330
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
5434
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3070
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...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
262
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...

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.