You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the process of trying to upgrade the Eclipse Temurin installers to use Wix V4. I am struggling to determine what to do with my existing heat.exe/candle.exe/light.exe commands which I've been previously running from a batch script:
ECHO HEAT
@ECHOON"!WIX!bin\heat.exe"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!IFERRORLEVEL1 (
ECHO Failed to generating Windows Installer XML Source files ^(.wxs^)
GOTO FAILED
)
@ECHOOFFECHO CANDLE
@ECHOON"!WIX!bin\candle.exe" -arch !PLATFORM! -out %WORKDIR%%WORKDIR%!OUTPUT_BASE_FILENAME!-Main.wxs %WORKDIR%!OUTPUT_BASE_FILENAME!-Files.wxs !ITW_WXS! -ext WixUIExtension -ext WixUtilExtension -dIcedTeaWebDir="!ICEDTEAWEB_DIR!" -dOutputBaseFilename="!OUTPUT_BASE_FILENAME!" -dProductSku="!PRODUCT_SKU!" -dProductMajorVersion="!PRODUCT_MAJOR_VERSION!" -dProductMinorVersion="!PRODUCT_MINOR_VERSION!" -dProductVersionString="!PRODUCT_SHORT_VERSION!" -dMSIProductVersion="!MSI_PRODUCT_VERSION!" -dProductId="!PRODUCT_ID!" -dProductUpgradeCode="!PRODUCT_UPGRADE_CODE!" -dReproDir="!REPRO_DIR!" -dSetupResourcesDir="!SETUP_RESOURCES_DIR!" -dCulture="!CULTURE!" -dJVM="!PACKAGE_TYPE!"IFERRORLEVEL1 (
ECHO Failed to preprocesses and compiles WiX source files into object files ^(.wixobj^)
dir /s /b /o:n %WORKDIR%GOTO FAILED
)
@ECHOOFFECHO LIGHT
@ECHOON"!WIX!bin\light.exe"%WORKDIR%!OUTPUT_BASE_FILENAME!-Main.wixobj %WORKDIR%!OUTPUT_BASE_FILENAME!-Files.wixobj !ITW_WIXOBJ!!MSI_VALIDATION_OPTION! -cc !CACHE_FOLDER! -ext WixUIExtension -ext WixUtilExtension -spdb -out "ReleaseDir\!OUTPUT_BASE_FILENAME!.msi" -loc "%WORKDIR%!OUTPUT_BASE_FILENAME!-!PRODUCT_SKU!.Base.!CULTURE!.wxl" -loc "%WORKDIR%!OUTPUT_BASE_FILENAME!-!PRODUCT_SKU!.!PACKAGE_TYPE!.!CULTURE!.wxl" -cultures:!CULTURE!IFERRORLEVEL1 (
ECHO Failed to links and binds one or more .wixobj files and creates a Windows Installer database ^(.msi or .msm^)
dir /s /b /o:n
GOTO FAILED
)
@ECHOOFF
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm in the process of trying to upgrade the Eclipse Temurin installers to use Wix V4. I am struggling to determine what to do with my existing heat.exe/candle.exe/light.exe commands which I've been previously running from a batch script:
Any help here would be most appreciated, the full source code for the installer can be seen at https://github.com/adoptium/installer/tree/master/wix (specifically those commands are run in the
Build.OpenJDK_generic.cmd
file.Beta Was this translation helpful? Give feedback.
All reactions