all I work with InstallScript in InstallShield 2011 I am facing problem while starting service .
I used ServiceAddService to add the new service to the service list.Service was successfully added to the list. but while starting this service gives the error "Service is not responding to the control function". ServiceStartservice has been used to start the service.
I have tried also create my own functon using LaunchApplication to avoid the problem with: "Windows auto checks whether a SERVICE which is run got a control function (if so it is a service).. if not it will run it for 10/15 seconds and sees that it doesn't responds with the special control services terminate it..."(I found this information in one of forums). But also get the error "Service is not responding to the control function".
I also tried start the service in cmd by typing net start ServiceName And when I try to start it from services list I get this one: Error 1053: The service did not respond to the start or control request in a timely fashion
Searching for problem I created that: In imported to project XML file , after installation compleated, in 2 tags appears repetitions of already existing line in attributes that I'm not modifing.
where it could go wrong? can you please help me with this issue? could the XML wrong modyfing to be a reason for such error?
Thanks, Sigal