PDA

View Full Version : why not starting my service?



zqlict
09-07-2003, 08:01 AM
hi,all.

i meet a problem when i use installshield 6.2 under oprating system- Windows XP.

My Target:
I want to make the notepad.exe(c:\windows\system32\notepad.exe) as a NT service.

My problem:

After inserting NT Service object just as the tutorial.the compiles succeed!.when the installment complement,I check the the status of object in function onEnd() ,it show OBJ_STATUS_SUCCESS!
and the service(whose name is XYmynote) is installed at the service control pane.

However, When i setup the service in service control pane, it always show that "error 1053: the service cannot be set up and correspond to the control request timely ".

the Wizad Steps are the following:
step1:<TARGETDIR>\notepad.exe
step2:SERVICE_ALL_ACCESS
step3:SERVICE_WIN32-OWN_PROCESS
step4;SERVICE_AUTO_START
step5:Load ordering Group is null
Dependencies is null
(NOtice: the problem still appearswhen i add some group which is found using Dependenies|Gegin new scan)
step 6:SERVICE_ERROR_NORMAL
step 7:local System Account
step 8: Delete service during uninstallation.


Could you help me?

foolbird.