badass-runtime-plugin icon indicating copy to clipboard operation
badass-runtime-plugin copied to clipboard

Can't change installerName or imageName

Open micheljung opened this issue 4 years ago • 1 comments

This works well:

runtime {
  jpackage {
    installerName = project.name
    imageName = project.name
    applicationName = "Something Else"
  }
}

But these fail:

runtime {
  jpackage {
    installerName = project.name + 'a'
    imageName = project.name
    applicationName = "Something Else"
  }
}
runtime {
  jpackage {
    installerName = project.name
    imageName = project.name + 'a'
    applicationName = "Something Else"
  }
}

With:

java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\Users\foo\git\foo\build\jpackage\foo-1.0.msi, -sice:ICE91, -ext, WixUIExtension, -loc, C:\Users\foo\AppData\Local\Temp\jdk.incubator.jpackage3781728438724169398\config\MsiInstallerStrings_en.wxl, C:\Users\foo\AppData\Local\Temp\jdk.incubator.jpackage3781728438724169398\wixobj\main.wixobj, C:\Users\foo\AppData\Local\Temp\jdk.incubator.jpackage3781728438724169398\wixobj\bundle.wixobj]in C:\Users\foo\AppData\Local\Temp\jdk.incubator.jpackage3781728438724169398\images\win-msi.image\foo exited with 94 code

Version 1.11.0

micheljung avatar Jul 10 '20 23:07 micheljung

It looks like a Wix issue, but I cannot reproduce it on my machine. Maybe you can identify the cause of this error by looking at the Wix log files (located in C:\Users\foo\AppData\Local\Temp).

siordache avatar Jul 14 '20 21:07 siordache