the command:
$JDK_HOME/bin/jpackage \
--package-type msi \
--input ../input-jars \
--output output \
--name menu1 \
--main-jar hello.jar \
--main-class hello \
--win-per-user-install \
--install-dir "dir\sub-dir" \
fails with an exception:
java.io.IOException: Exec failed with code 204 command [[C:\cygwin\home\aherrick\devtools\wix\light.exe, -nologo, -spdb, -sice:60, C:\cygwin\tmp\jdk.jpackage4504455229912521958\tmp\menu2.wixobj, -ext, WixUtilExtension, -loc, C:\cygwin\tmp\jdk.jpackage4504455229912521958\config\MsiInstallerStrings_en.wxl, -out, C:\cygwin\tmp\jdk.jpackage4504455229912521958\images\win-exe.image\menu2-1.0.msi] in C:\cygwin\tmp\jdk.jpackage4504455229912521958\images\win-msi.image\menu2
$JDK_HOME/bin/jpackage \
--package-type msi \
--input ../input-jars \
--output output \
--name menu1 \
--main-jar hello.jar \
--main-class hello \
--win-per-user-install \
--install-dir "dir\sub-dir" \
fails with an exception:
java.io.IOException: Exec failed with code 204 command [[C:\cygwin\home\aherrick\devtools\wix\light.exe, -nologo, -spdb, -sice:60, C:\cygwin\tmp\jdk.jpackage4504455229912521958\tmp\menu2.wixobj, -ext, WixUtilExtension, -loc, C:\cygwin\tmp\jdk.jpackage4504455229912521958\config\MsiInstallerStrings_en.wxl, -out, C:\cygwin\tmp\jdk.jpackage4504455229912521958\images\win-exe.image\menu2-1.0.msi] in C:\cygwin\tmp\jdk.jpackage4504455229912521958\images\win-msi.image\menu2