J
John J. Hughes II
Two question:
1) Is there a way using the "System.ServiceProcess.ServiceController" to
change the service account type from say Automatic to Manual? I have a
control for my service that starts, stops, pauses, and continues but there
does not seem to be an obvious way to handle changing the startup option.
2) When installing the service can anyone tell me how or direct me to an
example for changing the "this.serviceProcessInstaller1.Account" type? I
know I need to add a question dialog and then based on the selected item
change the type but I am not sure how to see the data from the dialog screen
in the setup program.
Thanks,
John
1) Is there a way using the "System.ServiceProcess.ServiceController" to
change the service account type from say Automatic to Manual? I have a
control for my service that starts, stops, pauses, and continues but there
does not seem to be an obvious way to handle changing the startup option.
2) When installing the service can anyone tell me how or direct me to an
example for changing the "this.serviceProcessInstaller1.Account" type? I
know I need to add a question dialog and then based on the selected item
change the type but I am not sure how to see the data from the dialog screen
in the setup program.
Thanks,
John