Creating a Service with arguments
Posted: Fri Jan 30, 2015 10:33 am
Hi All,
I have a service that I am trying to install. let's assume it is service.exe.
This service also has some command line arguments:
-A foldername.processor worker queue_name
**Note, when in the command prompt, service.exe would obviously precede these arguments**
I am using the install service and it seems like it installs. All files appear to be installed in the proper program files folder. However, when I run the service, it gets about 1/2 way green, slows down, then fails.
If I use these same program files and just manually create a service outside of IA...it works without a problem.
What is going on?
Also---what I want to do is use the registration dialog to pass "queue_name" as a variable. I used $QUEUENAME$ in the arguments, but it wouldn't compile.
Thoughts?
I have a service that I am trying to install. let's assume it is service.exe.
This service also has some command line arguments:
-A foldername.processor worker queue_name
**Note, when in the command prompt, service.exe would obviously precede these arguments**
I am using the install service and it seems like it installs. All files appear to be installed in the proper program files folder. However, when I run the service, it gets about 1/2 way green, slows down, then fails.
If I use these same program files and just manually create a service outside of IA...it works without a problem.
What is going on?
Also---what I want to do is use the registration dialog to pass "queue_name" as a variable. I used $QUEUENAME$ in the arguments, but it wouldn't compile.
Thoughts?