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!

Brad F.

Java Service when JRE is absent - unhelpful failure

I have an installation that includes a Java Service and starts it.

When the installer is run on a system with no JRE,
the installation proceeds up to the point where service startup is attempted.
Then, after a long (timeout) delay, a very uninformative message appears (simply that service startup failed, no mention of why.)

The JavaProduct definition in the .ai does specify the JRE ersion dependency (1.4).

Is there a straightforward way for me to declare an install-time dependency on the JRE without bundling the JRE in the installation (which I don't want to do) as a prerequisite?

I'm using AI 2.0.2
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

You could specify it as a prerequisite, but not a bundled one - a downloadable one.

This way the JRE presence on the target machine will be tested, and if it is missing, the .exe will download and install it.

Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”