PC Review


Reply
Thread Tools Rate Thread

multiple install of windows services...

 
 
Jay Warmack
Guest
Posts: n/a
 
      20th Jan 2004
Is it possible to install multiple instances of windows service application
on a single server? I have been searching for any option I can find in the
process installer class and in the Install setup project etc. to find some
way to allow my service application to be installed more than once. So far
I can find no way to install the service more than once (i.e. into a
seperate app domain). Any suggestions on this? Also is there a better
newsgroup that might have this answer?

Thanks,

Jay Warmack


 
Reply With Quote
 
 
 
 
LiquidJ
Guest
Posts: n/a
 
      20th Jan 2004
I think to do this you need to have individual "service names" (ie. each
call to CreateService() must have a different value for lpServiceName).
Hard to say how you can do this in your install program without knowing
which program you're using. However, the way I've done it in the past is to
register the service by running the exe and passing a particular command
line parameter. Either the parameter will imply what the service name will
be, or the service will iterate through the existing services to find a
"free" name (ie. if MyService1 and MyService2 are already installed, the
application will install as MyService 3).

You might also try microsoft.public.win32.programmer.kernel.


{L}



"Jay Warmack" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> Is it possible to install multiple instances of windows service

application
> on a single server? I have been searching for any option I can find in the
> process installer class and in the Install setup project etc. to find some
> way to allow my service application to be installed more than once. So

far
> I can find no way to install the service more than once (i.e. into a
> seperate app domain). Any suggestions on this? Also is there a better
> newsgroup that might have this answer?
>
> Thanks,
>
> Jay Warmack
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
view multiple files in multiple windows on multiple screens. =?Utf-8?B?dGNvbQ==?= Microsoft Excel Misc 7 15th Sep 2005 09:35 PM
MMc installation trick. 1. install driver for the video card "vivo, aiw" reboot" 2. install ati dvd decoder. reboot 3. install mmc for all the thing that come with your videocard. buttom line. DDC ATI Video Cards 7 4th Aug 2005 08:20 AM
Automated Install From Admin Install Fails to Run after Install Andrew King Anti-Spyware Installation 1 8th Jan 2005 07:47 AM
Install shows Win Install dialog box command lines then install st =?Utf-8?B?Qm9iUGFya3M=?= Windows XP General 0 17th Dec 2004 06:21 PM
Minolta QMS 2300 install - install again - install again ... Windows XP Drivers 1 3rd Jul 2004 07:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:54 PM.