Use property for Service File - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

Use property for Service File

When defining a service to be created the Service File field requires selection of an installed executable.

I am trying to use the result of a registry search for the Java jvm.dll to create a Java-based service. It is not a Tomcat app and has no specific binary executable, just a Jar file.

Is there a way to get there? At this point I'm stuck.

Thanks!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Use property for Service File

Hello,

Are you trying to follow our related java service tutorial regarding this?

Advanced Installer searches for the "jvm.dll" file in the "jre\bin\server" or "jre\bin\client" folders. The presence of this file is the criteria used to decide whether a JRE is valid. Can you please specify why are you performing the registry search?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

Re: Use property for Service File

mihai.petcu wrote:Can you please specify why are you performing the registry search?
We are not using the AI Java tool as we have other mechanisms for that functionality. We install on 32- and 64-bit systems so was doing a registry search to find the location of the Java DLL - which could be installed in a non-standard folder.

I ended-up using a different approach to accomplish the requirement using OW2's "JavaService" open-source utility.

Return to “Common Problems”