View Full Version : Register batch script as service

05-20-2014, 03:31 PM

I am looking to register through install anywhere a batch script as a windows service. Ezpak supports such a way to go and I was wondering how to achive a similar installation with Install Anywhere:

Here is a sample of the script that was used in ezpak along with XML configuration:

if "%1" == "start" goto start
if "%1" == "stop" goto stop
goto eof

bin\some.exe -inifile config\some.ini -LogFile some_log .... [more params]
goto :eof

taskkill /F /FI "IMAGENAME eq some.exe"
goto :eof


<description>Some Services</description>

Not sure what is the approach I should be aiming and if this is even possible within InstallAnywhere 2013.


Carl T.