Installing Service...
Posted: Fri Mar 30, 2007 12:35 pm
I'm using InstallAware 6.1 Studio.
We have an executable that we're installing into $TARGETDIR$ that needs to be installed as a service and then started.
We can't seem to figure out how to make this work from the Services section, using Install Service. It asks for a Service entry point file, but every combination we use apparently doesn't work.
Since it doesn't accept variables in the Service File name, I assumed we'd select the source file from our local computer which it would pull from and place in the distribution. But when the installer runs, it has some error and lengthy file name it appears to be trying to pull from. So then we removed the path and just put the name of the EXE file - nope.
Since our file is not yet installed on the computer, how can we facilitate this? Can it be performed using the simple dialogs in the editor, or are we going to have to write script?
Any help would be appreciated.
Basically we want to install our EXE called MyService.exe into $TARGETDIR$ (not sure if it should be in Files also, but have tried both ways), and after we put the file on the user's disk at $TARGETDIR$, we want to install that EXE as a Service and start it - seems simple enough.
What are we doing wrong?
(PS - docs are terrible regarding this, and no examples, very frustrating)
We have an executable that we're installing into $TARGETDIR$ that needs to be installed as a service and then started.
We can't seem to figure out how to make this work from the Services section, using Install Service. It asks for a Service entry point file, but every combination we use apparently doesn't work.
Since it doesn't accept variables in the Service File name, I assumed we'd select the source file from our local computer which it would pull from and place in the distribution. But when the installer runs, it has some error and lengthy file name it appears to be trying to pull from. So then we removed the path and just put the name of the EXE file - nope.
Since our file is not yet installed on the computer, how can we facilitate this? Can it be performed using the simple dialogs in the editor, or are we going to have to write script?
Any help would be appreciated.
Basically we want to install our EXE called MyService.exe into $TARGETDIR$ (not sure if it should be in Files also, but have tried both ways), and after we put the file on the user's disk at $TARGETDIR$, we want to install that EXE as a Service and start it - seems simple enough.
What are we doing wrong?
(PS - docs are terrible regarding this, and no examples, very frustrating)