Forum posts for srvany.exe

Installing srvany.exe to run a jar file as a service using InstallShield (without editing th…

We are trying to install a Java program to run as a windows service. Of the various available options(JSW, YAJSW, Launch4J, procrun, WinRun4J etc etc), we would like to use srvany.exe and install it using InstallShield. The Windows documentation says ...


Using RegEdit : create a 'Parameters' key for your service (e.g. HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMyServiceParamaters )
Using RegEdit : within the newly created 'Parameters' key , create a string value called Application and enter the full path to the application you are wanting to run as a service.


Is there a way to achieve this using InstallShield without using InstallShield's registry editor? Is there an InstallScript call that can take care of adding and removing 'Parameters' to the srvany entry in the registry? The solution should to work for Windows 2008R2 & 2003R2.

Any help will be greatly appreciated.

View complete forum thread with replies

Other posts related to srvany.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

Windows srvany.exe and service STOP
Problems running python program with srvany.exe
srvany.exe does not start .bat file
Creating Service from Executable (INSTSRV.EXE and SRVANY.EXE) Error - 'Service started and t…
Specify command line for application while creating service using SRVANY.EXE
Searching for srvany.exe from Windows 7 Resource Kit: is this actual software or just a book?
Installing srvany.exe to run a jar file as a service using InstallShield (without editing th…

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.