with and without jre bundle - 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!

oldaj
Posts: 13
Joined: Thu May 24, 2007 11:35 pm
Location: Odessa, TX

with and without jre bundle

I'm not sure how all this works yet. If I create a package with both a bundled jre file and one without, which is the default, would I use the one without just for downloads for people who already know they have the current jre, or would I put both in the same package, allowing installation of the smaller, faster installation when the bundle is not needed?

Also, I'm a little confused, even after reading many informative posts on this forum, on the prerequisite issue. I've installed 2 packages, at different times, removing the program each time, with bundled jre.
Both called for 1.5 as the minimum, one with the prerequisite, on a pc with 1.4.2_03 installed. Both work. I'd like to be sure I get everything I need in the package, so I won't have problems later on.

Thanks for your help!

oldAJ
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You need to either add the JRE as prerequisite or as bundled, not both.

If your application needs a specific version of JRE and you want to ensure that the user does not remove it or upgrade to a newer version, then use a bundled JRE.

Otherwise, use a prerequisite. If you want to keep your package size small then you can specify a "URL" as "Setup File" location for the prerequisite. The JRE will be downloaded at install time.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”