Skip to content

Commit

Permalink
Changed INSTALLDIR to fixed path to fix #422 and #600
Browse files Browse the repository at this point in the history
Signed-off-by: adipiciu <[email protected]>
  • Loading branch information
adipiciu authored and Okeanos committed Aug 23, 2024
1 parent 58197ce commit 3b59292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wix/Includes/OpenJDK.Variables.wxi.template
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<?define FeatureMainDescription="!(loc.JREFeatureMainDescription)" ?>

<?define ProductCategory="JRE" ?>
<?define AppFolder="jre-$(var.ProductVersion)-$(var.JVM)" ?>
<?define AppFolder="jre-$(var.ProductMajorVersion)-$(var.JVM)" ?>
<?else?>
<?define ProductName="!(loc.JDKProductName)" ?>
<?define ProductNameWithVersion="!(loc.JDKProductName) $(var.ProductVersionString) $(var.Arch)" ?>
Expand All @@ -36,7 +36,7 @@
<?define FeatureMainDescription="!(loc.JDKFeatureMainDescription)" ?>

<?define ProductCategory="JDK" ?>
<?define AppFolder="jdk-$(var.ProductVersion)-$(var.JVM)" ?>
<?define AppFolder="jdk-$(var.ProductMajorVersion)-$(var.JVM)" ?>
<?endif?>

<!-- Registry key change with new numbering format since Java 9 -->
Expand Down

0 comments on commit 3b59292

Please sign in to comment.