PDA

View Full Version : Starting Services



Randles
05-26-2004, 11:31 AM
Hi,

I want to start a service before the UI starts the interview.

is this possible?



Basically, I want to make sure the MSSQLSERVICE is running so that I can run an sql script against it. What has been happening so far is,

When the install starts the UI requests the database connection information before the NTservice Controller section kicks in. Hence it cant find the server and will not proceed past this point in the install.



Glad of any assistance,

Cheers

Randles

RobertDickau
05-26-2004, 03:39 PM
Alas, there's no built-in way to do this: the UI sequence is generally designed not to touch the target system. For this reason, you'll presumably need a custom action to start a service if you need to at that point...

Randles
05-27-2004, 03:31 AM
This is my first installshield project, and I am a little confused as to how to make a custom action to start a service before the UI requests the login info.