Skip to content

Commit

Permalink
Added back -sfrag flag and added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjaffe37 committed Apr 10, 2024
1 parent 65dfd3f commit a2d7314
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wix/Build.OpenJDK_generic.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ FOR %%A IN (%ARCH%) DO (

ECHO HEAT
@ECHO ON
!WIX_HEAT_PATH! dir "!REPRO_DIR!" -out %WORKDIR%!OUTPUT_BASE_FILENAME!-Files.wxs -gg -scom -sreg -srd -ke -cg "AppFiles" -var var.ProductMajorVersion -var var.ProductMinorVersion -var var.ProductVersionString -var var.MSIProductVersion -var var.ReproDir -dr INSTALLDIR -platform !PLATFORM!
!WIX_HEAT_PATH! dir "!REPRO_DIR!" -out %WORKDIR%!OUTPUT_BASE_FILENAME!-Files.wxs -gg -sfrag -scom -sreg -srd -ke -cg "AppFiles" -var var.ProductMajorVersion -var var.ProductMinorVersion -var var.ProductVersionString -var var.MSIProductVersion -var var.ReproDir -dr INSTALLDIR -platform !PLATFORM!
IF ERRORLEVEL 1 (
ECHO Failed to generate Windows Installer XML Source files ^(.wxs^)
GOTO FAILED
Expand Down Expand Up @@ -325,7 +325,7 @@ FOR %%A IN (%ARCH%) DO (
exit /b 1

) ELSE (
ECHO Ignoring signing step : no certificate configured
ECHO Ignoring signing step : certificate not configured
)

:succeeded
Expand Down
2 changes: 2 additions & 0 deletions wix/SourceDir/CreateSourceFolder.AdoptOpenJDK.ps1
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<#
.SYNOPSIS
This script extracts the contents of a zip file to a directory structure that is expected by the Wix toolset.
This script also downloads WixToolset.Heat and puts it in the expected location.
.DESCRIPTION
The script takes a zip file and extracts its contents to a directory structure that is expected by the Wix toolset.
This script also downloads WixToolset.Heat and puts it in the expected location.
The script also performs some cleanup on the extracted files.
.PARAMETER openjdk_filename_regex
Expand Down

0 comments on commit a2d7314

Please sign in to comment.