fvarrui / JavaPackager

:package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
GNU General Public License v3.0
1.07k stars 133 forks source link

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. ". #394

Closed LackingLdan closed 1 month ago

LackingLdan commented 9 months ago

I'm submitting a…

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:

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

fvarrui commented 9 months ago

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 commented 4 months ago

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 commented 1 month ago

I'm closing this issue due to lack of activity. If the problem persists, don't hesitate on reopen this issue. Thanks!