JavaPackager icon indicating copy to clipboard operation
JavaPackager copied to clipboard

light.exe : error LGHT0217 : Error executing ICE action 'ICE103'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. ".

Open LackingLdan opened this issue 1 year ago • 2 comments

I'm submitting a…

  • [ x] bug report
  • [ ] feature request
  • [ ] other

Short description of the issue/suggestion: I keep getting this error when i try to package my JavaFX Project. It starts working but then all of a sudden this error happens. I could'nt find anything about it on the internet.

Steps to reproduce the issue/enhancement:

  1. After i try to package it using the Maven goal "package" it gives me this error and i get a bunch of exe files that don't do anything

What is the expected behavior?

I'm trying to generate an instalable msi Package for my JavaFX Application. I have Wix Toolset and Iscc installed and in the Path Variable

What is the current behavior?

Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?

image

Please tell us about your environment:

  • JavaPackager version: 1.6.6
  • OS version: Windows 10
  • JDK version: OpenJDK 21
  • Build tool:
    • [ x] Maven
    • [ ] Gradle

Other information (e.g. related issues, suggestions how to fix, links for us to have context)

LackingLdan avatar Feb 16 '24 07:02 LackingLdan

Hi @LackingLdan!

I tested JP using WiX Toolset 3.12 without problems ... just upgraded to 3.14 and managed to reproduce your issue. Same problem!!

[INFO]             light.exe : error LGHT0217 : Error executing ICE action 'ICE103'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "Hay un problema con este paquete de Windows Installer. Hay una DLL que se requiere para completar esta instalaci´┐¢n que no se puede ejecutar. P´┐¢ngase en contacto con el personal de soporte t´┐¢cnico o el proveedor del paquete.  ".
[ERROR]         MSI merge module generation failed due to: Command execution failed: light -spdb -out C:\Users\fvarrui\GitHub\HelloWorldMaven\target\HelloWorldMaven_1.0.0.msm C:\Users\fvarrui\GitHub\HelloWorldMaven\target\assets\HelloWorldMaven.msm.wixobj

Please, try it downgrading Wix Toolset untill I figure out what's happening.

fvarrui avatar Feb 27 '24 17:02 fvarrui

Hi @LackingLdan! I managed to build a MSI installer with WiX 3.14 using JavaPackager 1.7.6. Please, could you test it and give me some feedback? Thx!

fvarrui avatar Jun 30 '24 15:06 fvarrui