How to specify application parameters with .NET service installer Options

How to specify application parameters with .NET service installer Options

am 24.10.2007 01:46:18 von dave

I have a Console app, a related Service Project and Service Setup /
Installer Project. I would like to have the result of running the
installer.msi file register the service to run with certain
parameters.

How do i specify parameters that the application needs to start up /
run with?
Is it in the properties of the ServiceProcessInstaller or
ServiceInstaller objects?
Is it in the properties of the Service Setup project?

Background info:
1) I've noticed Windows Services specify parameters after the
executable in the "Path to executable" so getting the installer to put
application parameters to this config setting would probably work
also?
2) the app runs with syntax: "MyApp.exe /f MyApp_ConfigFile.txt"

i hope i've provided enough information to be clear.

thanks, dave