----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: joe_tm Message 1 in Discussion How to set the WindowsService name while installing =================================== Following is my scenario. I have a WinService.cs and an Installer.cs for the same. I need to give the service name in both files. I tried to read from config file, but was not getting the value from there. [Config file was not inistantiated b4 installing the application] But i need to set the service name runtime, to enable multiple instances of the same service to run on same m/c (only by setting different service names) 1) Can i trap a commandline parameter (like installutil.exe service.exe name=MyService) 2) I think i can use a Setup project to get the paramater runtime. But how to preserve the install parameters for later use (to set in the winservice.cs) Could appretiate prompt inputs on the same. Thanks Joe ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
