Skip to content

Commit

Permalink
Do not require users to explicitly accept the terms of the GPLv2+CE a…
Browse files Browse the repository at this point in the history
  • Loading branch information
douph1 committed Apr 15, 2021
1 parent 07eb752 commit 69d7f93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions wix/Includes/OpenJDK.Variables.wxi.template
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@
<?endif?>

<?if $(var.JVM)="openj9" ?>
<?define Licence="license-OpenJ9.en-us.rtf" ?>
<?define licence="license-OpenJ9.en-us.rtf" ?>
<?define license_shown="1" ?>
<?elseif $(var.JVM)="hotspot" ?>
<?define Licence="license-GPLv2+CE.en-us.rtf" ?>
<?define licence="license-GPLv2+CE.en-us.rtf" ?>
<?define license_shown="0" ?>
<?else?>
<?define Licence="no licence defined for $(var.JVM)" ?>
<?endif?>
Expand Down
1 change: 1 addition & 0 deletions wix/Main.wxs.template
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@
<ComponentGroupRef Id="SrcFiles" />
</Feature> -->

<Property Id="LicenseAccepted" Value="$(var.license_shown)"/>
<WixVariable Id="WixUILicenseRtf" Value="$(var.SetupResourcesDir)\$(var.license)" />
<WixVariable Id="WixUIDialogBmp" Value="{vendor_branding_dialog}" />
<WixVariable Id="WixUIBannerBmp" Value="{vendor_branding_banner}" />
Expand Down

0 comments on commit 69d7f93

Please sign in to comment.