argreenw
Posts: 5
Joined: Tue May 19, 2015 5:32 pm

User License Acceptance For Bundled JRE

In my reading of the Oracle JRE license, if the JRE is bundled with an application, either the user needs to accept the Oracle license, or a number of specific items need to be added to the license for the software product bundling the JRE.

If my understanding of this is incorrect, please let me know, since the rest of this problem no longer applies, where our software product handles license acceptance of our own EULA internally.

Since adding the Oracle-required items to our products license would involve legal work, I thought I could present the Oracle license agreement as an RTF file, and the user could accept it in the EULA acceptance dialog.

Since I am using the EXE bootstrapper, I set the check-box, and specified the RTF file version of the Oracle license.

However, when I install our software product that bundles the JRE, the license acceptance dialog is not displayed.

The documentation says something about needing to have at least one global pre-requisite for the license acceptance to be displayed, but I cannot identify any pre-requisite that is required (especially where the JRE is bundled with the installation).

The pre-requisites specification (check-boxes) is confusing to me, since my product needs to install on Windows XP, Windows Vista, Windows 7, Windows 8, and Windows 8.1, and the pre-requisites are specific to each level. I do not want a Windows XP user to need a feature of Windows 8.1 installed (if it were even possible) for the installation to succeed.

I have a further concern for the Mac OS X installation, which does not use the EXE bootstrapper (nor the MSI). I suspect that on Mac OS X installs, no license would be presented, even if this can be made to work on Windows.
argreenw
Posts: 5
Joined: Tue May 19, 2015 5:32 pm

Re: User License Acceptance For Bundled JRE

I did further testing with this.

Assuming the pre-requisites are interpreted as "any of these will satisfy the requirement" (instead of "all of these must be present to satisfy the requirement"), I put in some global requirements for the Windows Installer.

However, it still does not display the EULA for acceptance.

What do I need to do to get it to display the EULA for acceptance (using the EXE bootstrapper)? I have set the check-box indicating it should be done, and have specified the RTF file of the EULA.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: User License Acceptance For Bundled JRE

Hello,
What do I need to do to get it to display the EULA for acceptance (using the EXE bootstrapper)?
You don't necessarily have to show the EXE license agreement dialog. You can disable that option from the Bootstrapper UI and in the Dialogs page:
- right click WelcomeDlg
- select "Add Dialog" from the context menu
- choose LicenseAgreementDlg from the list and pick the .RTF file from your hard drive
- build and test the package

Let us know how this goes.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
argreenw
Posts: 5
Joined: Tue May 19, 2015 5:32 pm

Re: User License Acceptance For Bundled JRE

Adding the LicenseAgreementDlg dialog (per your instructions above) worked.

Thank you for the help.

Return to “Common Problems”