PDA

View Full Version : Set options on a .NET Windows Service Installer Class



chfields
04-03-2002, 05:43 PM
Is there any way to set the options of a .NET installer class?

I am trying to install multiple(3) .net Windows Services with the same Installshield project. I mark the assembly to use the installer class. This works.

The only thing is that each of services pop up with a username password box. I would like to eliminate this given that the username and password are the same. I do not want to hard code it either.

I would like to create a custom dialog box that they can enter this information once and I set the option on the installer class

My installer class checks the command line for two options (/user and /pass). I wanted to avoid using LauchAppAndWait.

Any help is very much appreciated.

Thanks

Chris