Click here to Skip to main content
15,918,889 members
Home / Discussions / C#
   

C#

 
GeneralRe: Setup valid shortcuts Pin
Muammar©14-Jan-08 18:48
Muammar©14-Jan-08 18:48 
GeneralRe: Setup valid shortcuts Pin
Justin Perez15-Jan-08 2:43
Justin Perez15-Jan-08 2:43 
GeneralRe: Setup valid shortcuts Pin
Muammar©15-Jan-08 18:47
Muammar©15-Jan-08 18:47 
GeneralRe: Setup valid shortcuts Pin
Justin Perez16-Jan-08 2:44
Justin Perez16-Jan-08 2:44 
GeneralRe: Setup valid shortcuts Pin
Muammar©18-Jan-08 19:31
Muammar©18-Jan-08 19:31 
GeneralODP.Net - working with batches Pin
Member 453749113-Jan-08 19:03
Member 453749113-Jan-08 19:03 
QuestionHow to set Crystal Report Special Field "PrintDate" date format from code? Pin
azifaliazif13-Jan-08 18:59
azifaliazif13-Jan-08 18:59 
GeneralPassing Parameters in Windows Service Installation [modified] Pin
Arun Abraham Jose13-Jan-08 17:57
Arun Abraham Jose13-Jan-08 17:57 
Hi
I have a problem while installing Windows Service.

I have a Win Service Application in C# and to install that I added the Installer class too with the name ProjectInstaller.cs . I am using installutil to install the service.

The problem is I wish to pass two parameters while installing this service, one a Service Name and another a key to Configuration file.

I am giving it like installutil /name=<servicename> /key=<config name=""> <service exe="">

The service is installing properly, but based on my requirement, I want this parameter to be used in Service1.cs class by taking it from ProjectInstaller.cs file. This is not working properly. I think These two are working as two processes.

Is there any way to get the parameters we are giving with installutil in Service.cs file?

Or in other words, Somebody recommended me to use Inter Process Communication. Is it the best way to solve this issue? Will this Inter process Communication possible between two class files in same .Net Windows Service Application?

With Regards,

Abraham Chethuvelil

modified on Monday, January 14, 2008 12:17:05 AM

GeneralRe: Passing Parameters in Windows Service Installation Pin
N a v a n e e t h13-Jan-08 19:35
N a v a n e e t h13-Jan-08 19:35 
GeneralRe: Passing Parameters in Windows Service Installation Pin
Arun Abraham Jose13-Jan-08 22:51
Arun Abraham Jose13-Jan-08 22:51 
QuestionHow to transfer Excel data sheet to an Access Table Pin
rameshika13-Jan-08 17:20
rameshika13-Jan-08 17:20 
GeneralRe: How to transfer Excel data sheet to an Access Table Pin
pmarfleet13-Jan-08 19:44
pmarfleet13-Jan-08 19:44 
GeneralRe: How to transfer Excel data sheet to an Access Table Pin
MickCurley14-Jan-08 1:13
MickCurley14-Jan-08 1:13 
GeneralRe: How to transfer Excel data sheet to an Access Table Pin
pmarfleet14-Jan-08 2:42
pmarfleet14-Jan-08 2:42 
QuestionWPF - Changing Fill property for group of shapes Pin
Shawn Horton13-Jan-08 16:25
Shawn Horton13-Jan-08 16:25 
GeneralRe: WPF - Changing Fill property for group of shapes Pin
CKnig14-Jan-08 0:46
CKnig14-Jan-08 0:46 
GeneralRe: WPF - Changing Fill property for group of shapes [modified] Pin
Shawn Horton14-Jan-08 7:06
Shawn Horton14-Jan-08 7:06 
GeneralRe: WPF - Changing Fill property for group of shapes Pin
CKnig14-Jan-08 18:46
CKnig14-Jan-08 18:46 
GeneralRe: WPF - Changing Fill property for group of shapes Pin
Shawn Horton15-Jan-08 1:17
Shawn Horton15-Jan-08 1:17 
Generaldeveloping fingerprint software using c# Pin
ayie13-Jan-08 16:22
ayie13-Jan-08 16:22 
GeneralRe: developing fingerprint software using c# Pin
Vasudevan Deepak Kumar13-Jan-08 18:17
Vasudevan Deepak Kumar13-Jan-08 18:17 
GeneralRe: developing fingerprint software using c# Pin
ayie15-Jan-08 21:14
ayie15-Jan-08 21:14 
GeneralSp Pin
new2pgrmg13-Jan-08 16:09
new2pgrmg13-Jan-08 16:09 
GeneralRe: Sp Pin
tcsoccerman13-Jan-08 16:17
tcsoccerman13-Jan-08 16:17 
GeneralRe: Sp Pin
new2pgrmg13-Jan-08 17:06
new2pgrmg13-Jan-08 17:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.