PDA

View Full Version : seervice failed to stoped



Martin_SBT
12-11-2002, 12:01 PM
i included a very simple "Stop service action' and for some reason when i run my setup it cannot stop the service even if i put 30 seconds for waintg time!

Please help
Martin

Darryl
12-11-2002, 03:50 PM
Are you sure that the action is being launched, or that the action isn't actually failing? Go to the ON ERROR tab and make sure the error messaging is set to "Verbose" so that you can detect if any error occurs.

Are you able to stop the service manually without any problems?

What OS are you testing on? Do you have the same problem on every OS, or certain ones?

What happens if you increase the wait even further, does it ever stop?

Where are you launching your action in your install?

Martin_SBT
02-03-2003, 10:01 PM
Wow..i am back! /ubbthreads/images/icons/smile.gif
Still unable to stop a service. The error message says "command failed" after trying to stop the service. it seem to do the same thing for any service (cant stop any!). and Yes i can stop the services manually, and the os is Windows 2000 but it does the same thing on NT...The stop service action is define to stop the service by Display name......Please Help

Darryl
02-04-2003, 10:01 AM
Are you sure that the display name is exactly as it should be, no spaces at the end of the string or before, no spelling mistakes etc. Are you using a variable in that field? If so, are you sure that the variable contains the correct contents?

As a test, have you tried using the Key Name?

I've had successfull tests with stopping Services on my system. Perhaps if I took a look at your project file I could see something that may be the cause. You can send it to support@indigorose.com.

Mark
02-04-2003, 10:02 AM
Hi Martin_SBT

Have you tried stopping any of the "Generic" services on Windows 2000? Perhaps try starting the "ClipBook" service (Start -> Settings -> Control Panel -> Administrative Tools -> Services) and then stopping it using Setup Factory 6.0.

If you are unable to stop this service using Setup Factory 6.0, please post your Stop Service action so that we can take a look at it.

Also make sure that you are using Setup Factory 6.0.1.2.

Martin_SBT
02-04-2003, 05:09 PM
Hi guys

thanx for replying, yes i tried by displayname and also key name and it still give me a command failed! I also tried to stop a generic service and this time it worked! but i still cant stop specific ones! no mispelling (i checked that again and again)

i will post my code in few hours

thanx for helping me

Darryl
02-05-2003, 10:14 AM
Hi,

On your test system, are you logged in with adminstrative permissions at the point you are stopping the service? I ask this because you will receive that message if you have restricted access to the system. You can start and I believe pause, but you cannot stop a service. So you may want to look into the security settings aspect.

As I mentioned before, I could take a look at your project file(.sf6) if you wish. I may see something that doesn't look right.