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

Duplicate symbol 'File:default_local.policy' found. This typically means that an Id is duplicated. #422

Closed jamhour1g closed 2 months ago

jamhour1g commented 4 months ago

I'm submitting a…

Short description of the issue/suggestion: I ran the Maven package and encountered an "org.codehaus.plexus.util.cli.CommandLineException" error. After tracing the cause, I found that the "light -spdb -out" command failed to execute with the following error:

[INFO]         Executing command: cmd.exe /s /c "candle -out C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs"
[INFO]         Windows Installer XML Toolset Compiler version 3.11.2.4516
[INFO]         Copyright (c) .NET Foundation and contributors. All rights reserved.
[INFO]         
[INFO]         MVTOrchestrator.msm.wxs
[INFO]         WIXOBJ file generated in C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj!
[INFO]         Linking file C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj
[INFO]         Executing command: cmd.exe /s /c "light -spdb -out C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator_1.0-SNAPSHOT.msm C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj"
[INFO]         Windows Installer XML Toolset Linker version 3.11.2.4516
[INFO]         Copyright (c) .NET Foundation and contributors. All rights reserved.
[INFO]         
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs(238) : error LGHT0091 : Duplicate symbol 'File:default_local.policy' found. This typically means that an Id is duplicated. Check to make sure all your identifiers of a given type (File, Component, Feature) are unique.
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs(252) : error LGHT0092 : Location of symbol related to previous error.
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs(241) : error LGHT0091 : Duplicate symbol 'File:default_US_export.policy' found. This typically means that an Id is duplicated. Check to make sure all your identifiers of a given type (File, Component, Feature) are unique.
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs(255) : error LGHT0092 : Location of symbol related to previous error.

Also, another error is not related to the exception but might be the cause of it.

[INFO]         Executing command: cmd.exe /s /c "C:\Users\love_\.jdks\corretto-21.0.3\bin\jlink --module-path C:\Users\love_\.jdks\corretto-21.0.3\jmods --add-modules java.base,java.desktop,java.instrument,java.logging,java.prefs,java.scripting,jdk.jfr,jdk.unsupported --output C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre --no-header-files --no-man-pages --strip-debug --compress=2"
[ERROR]         Warning: The 2 argument for --compress is deprecated and may be removed in a future release

And there's a deprecation warning

[INFO]         Warning: Architecture identifier "x64" is deprecated. Substituting "x64os", but note that "x64compatible" is preferred in most cases. See the "Architecture Identifiers" topic in help file for more information.

Steps to reproduce the issue/enhancement:

  1. [First Step] Open Intellij go to the maven tab image run package

What is the expected behavior? To package the app, provide an installer, and run it correctly.

What is the current behavior? The installer is provided, but when run, it doesn't work.

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

C:\Users\love_\.jdks\corretto-21.0.3\bin\java.exe -Dvisualvm.id=361660199316700 -Dmaven.multiModuleProjectDirectory=C:\Users\love_\IdeaProjects\MVTOrchestrator -Djansi.passthrough=true "-Dmaven.home=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.6\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.6\plugins\maven\lib\maven3\bin\m2.conf" "-Dmaven.ext.class.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.6\plugins\maven\lib\maven-event-listener.jar" "-javaagent:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.6\lib\idea_rt.jar=64225:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.6\bin" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath "C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.6\plugins\maven\lib\maven3\boot\plexus-classworlds-2.7.0.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.6\plugins\maven\lib\maven3\boot\plexus-classworlds.license" org.codehaus.classworlds.Launcher -Didea.version=2024.1.4 package
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< com.jamhour:MVTOrchestrator >---------------------
[INFO] Building MVTOrchestrator 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- kotlin:2.0.0:compile (compile) @ MVTOrchestrator ---
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ MVTOrchestrator ---
[INFO] Copying 3 resources from src\main\resources to target\classes
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ MVTOrchestrator ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 1 source file with javac [debug target 21 module-path] to target\classes
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ MVTOrchestrator ---
[INFO] Copying 3 resources from src\test\resources to target\test-classes
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ MVTOrchestrator ---
[INFO] Recompiling the module because of changed dependency.
[INFO] 
[INFO] --- kotlin:2.0.0:test-compile (test-compile) @ MVTOrchestrator ---
[INFO] 
[INFO] --- surefire:2.22.2:test (default-test) @ MVTOrchestrator ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running FileReaderKtTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.828 s - in FileReaderKtTest
[INFO] Running ReadyQueueCompanionObjectKtTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in ReadyQueueCompanionObjectKtTest
[INFO] Running ReadyQueueKtTest
[INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 s - in ReadyQueueKtTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 36, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- jar:3.3.0:jar (default-jar) @ MVTOrchestrator ---
[INFO] Building jar: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator-1.0-SNAPSHOT.jar
[INFO] 
[INFO] --- javapackager:1.7.5:package (default) @ MVTOrchestrator ---
[INFO] Using packager io.github.fvarrui.javapackager.packagers.WindowsPackager
[INFO] Creating app ...
[INFO]     Initializing packager ...
[INFO]         PackagerSettings [outputDirectory=C:\Users\love_\IdeaProjects\MVTOrchestrator\target, licenseFile=null, iconFile=null, generateInstaller=true, forceInstaller=false, mainClass=com.jamhour.ui.ApplicationLauncher, name=MVTOrchestrator, displayName=MVTOrchestrator, version=1.0-SNAPSHOT, description=MVTOrchestrator, url=null, administratorRequired=true, organizationName=ACME, organizationUrl=, organizationEmail=null, bundleJre=true, customizedJre=true, jrePath=null, jdkPath=C:\Users\love_\.jdks\corretto-21.0.3, additionalResources=[], modules=[], additionalModules=[], platform=windows, envPath=null, vmArgs=[], runnableJar=null, copyDependencies=true, jreDirectoryName=jre, winConfig=WindowsConfig [icoFile=null, headerType=gui, companyName=ACME, copyright=ACME, fileDescription=MVTOrchestrator, fileVersion=1.0.0.0, internalName=MVTOrchestrator, language=null, originalFilename=MVTOrchestrator.exe, productName=MVTOrchestrator, productVersion=1.0.0.0, trademarks=ACME, txtFileVersion=1.0-SNAPSHOT, txtProductVersion=1.0-SNAPSHOT, shortcutName=MVTOrchestrator, disableDirPage=true, disableProgramGroupPage=true, disableFinishedPage=true, disableRunAfterInstall=true, disableWelcomePage=true, createDesktopIconTask=true, generateSetup=true, generateMsi=true, generateMsm=false, msiUpgradeCode=8010188f-ec10-48f6-aef6-6bbece2f5882, wrapJar=true, setupLanguages={english=compiler:Default.isl, spanish=compiler:Languages\Spanish.isl}, setupMode=installForAllUsers, signing=null, registry=Registry [entries=[]], removeOldLibs=false, exeCreationTool=launch4j, vmLocation=null], linuxConfig=null, macConfig=null, createTarball=false, tarballName=null, createZipball=false, zipballName=null, extra=null, useResourcesAsWorkingDir=true, assetsDir=C:\Users\love_\IdeaProjects\MVTOrchestrator\assets, classpath=null, jreMinVersion=null, manifest=null, additionalModulePaths=[], fileAssociations=[], packagingJdk=C:\Users\love_\.jdks\corretto-21.0.3, scripts=Scripts [bootstrap=null, preInstall=null, postInstall=null], arch=x64, templates=[Template [name=windows/iss.vtl, bom=true]]]
[INFO]     Packager initialized!
[INFO]     
[INFO]     Creating app structure ...
[INFO]         App folder created: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator
[INFO]         Assets folder created: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets
[INFO]     App structure created!
[INFO]     
[INFO]     Resolving resources ...
[INFO]         Trying to resolve license from POM ...
[INFO]         License not resolved!
[INFO]         
[WARNING]         No license file specified
[INFO]         Copying resource [/windows/default-icon.ico] to file [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.ico]
[INFO]         Icon file resolved: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.ico
[WARNING]         Skipped adding the icon file as additional resource because the target platform is Windows
[INFO]         Effective additional resources []
[INFO]     Resources resolved!
[INFO]     
[INFO]     Copying additional resources
[INFO]     All additional resources copied!
[INFO]     
[INFO]     Copying all dependencies ...
[INFO] Copying kotlin-stdlib-2.0.0.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\kotlin-stdlib-2.0.0.jar
[INFO] Copying annotations-13.0.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\annotations-13.0.jar
[INFO] Copying kotlinx-coroutines-core-jvm-1.9.0-RC.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\kotlinx-coroutines-core-jvm-1.9.0-RC.jar
[INFO] Copying kotlinx-coroutines-javafx-1.9.0-RC.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\kotlinx-coroutines-javafx-1.9.0-RC.jar
[INFO] Copying javafx-controls-23-ea+22.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-controls-23-ea+22.jar
[INFO] Copying javafx-controls-23-ea+22-win.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-controls-23-ea+22-win.jar
[INFO] Copying javafx-graphics-23-ea+22.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-graphics-23-ea+22.jar
[INFO] Copying javafx-graphics-23-ea+22-win.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-graphics-23-ea+22-win.jar
[INFO] Copying javafx-base-23-ea+22.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-base-23-ea+22.jar
[INFO] Copying javafx-base-23-ea+22-win.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-base-23-ea+22-win.jar
[INFO] Copying javafx-fxml-23-ea+22.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-fxml-23-ea+22.jar
[INFO] Copying javafx-fxml-23-ea+22-win.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-fxml-23-ea+22-win.jar
[INFO] Copying atlantafx-base-2.0.1.jar to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\atlantafx-base-2.0.1.jar
[INFO]     Dependencies copied to C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs!
[INFO]     
[INFO]     Creating runnable JAR...
[INFO] Building jar: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator-1.0-SNAPSHOT-runnable.jar
[INFO]     Runnable jar created in C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator-1.0-SNAPSHOT-runnable.jar!
[INFO]     
[INFO]     Bundling JRE ... with C:\Users\love_\.jdks\corretto-21.0.3
[INFO]         Creating customized JRE ...
[INFO]         Getting required modules ... 
[INFO]             Executing command: cmd.exe /s /c "C:\Users\love_\.jdks\corretto-21.0.3\bin\jdeps -q --multi-release 21 --ignore-missing-deps --print-module-deps C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\*.jar C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator-1.0-SNAPSHOT-runnable.jar"
[INFO]             java.base,java.desktop,java.instrument,java.logging,java.prefs,java.scripting,jdk.jfr,jdk.unsupported
[INFO]         Required modules found: [java.base, java.desktop, java.instrument, java.logging, java.prefs, java.scripting, jdk.jfr, jdk.unsupported]
[INFO]         
[INFO]         Creating JRE with next modules included: java.base,java.desktop,java.instrument,java.logging,java.prefs,java.scripting,jdk.jfr,jdk.unsupported
[INFO]         Using C:\Users\love_\.jdks\corretto-21.0.3\jmods modules directory
[INFO]         Executing command: cmd.exe /s /c "C:\Users\love_\.jdks\corretto-21.0.3\bin\jlink --module-path C:\Users\love_\.jdks\corretto-21.0.3\jmods --add-modules java.base,java.desktop,java.instrument,java.logging,java.prefs,java.scripting,jdk.jfr,jdk.unsupported --output C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre --no-header-files --no-man-pages --strip-debug --compress=2"
[ERROR]         Warning: The 2 argument for --compress is deprecated and may be removed in a future release
[INFO]         Removing folder [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\legal]
[INFO]     JRE bundled in C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre!
[INFO]     
[INFO]     Creating windows EXE ... with launch4j
[INFO]         Exe manifest file generated in C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.exe.manifest!
[INFO]         Copying file [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.exe.manifest] to file [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\launch4j\app.exe.manifest]
[INFO]         Copying file [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.ico] to file [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\launch4j\app.ico]
[INFO]         Copying file [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator-1.0-SNAPSHOT-runnable.jar] to file [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\launch4j\app.jar]
[WARNING] Configuration param ${project.organization.name} is empty, so a dummy value "Default organization" might be used instead to fulfill some of VersionInfo params by defaults.
[WARNING] Configuration param ${project.inceptionYear} is empty, so a dummy value "2020" might be used instead to fulfill some of VersionInfo params by defaults.
[WARNING] Configuration param ${project.description} is empty, so a dummy value "A Java project." might be used instead to fulfill some of VersionInfo params by defaults.
[INFO] Platform-specific work directory already exists: C:\Users\love_\.m2\repository\net\sf\launch4j\launch4j\3.50\launch4j-3.50-workdir-win32
[INFO] launch4j: Compiling resources
[INFO] launch4j: Linking
[INFO] launch4j: Wrapping
WARNING: Sign the executable to minimize antivirus false positives or use launching instead of wrapping.
[INFO] launch4j: Successfully created C:\Users\love_\IdeaProjects\MVTOrchestrator\target\launch4j\app.exe
[INFO]         Copying file [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\launch4j\app.exe] to file [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\MVTOrchestrator.exe]
[INFO]     Windows EXE file created in C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\MVTOrchestrator.exe!
[INFO]     
[INFO] App created in C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator!
[INFO] 
[INFO] Generating installers ...
[INFO]     Initializing packager ...
[INFO]         PackagerSettings [outputDirectory=C:\Users\love_\IdeaProjects\MVTOrchestrator\target, licenseFile=null, iconFile=C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.ico, generateInstaller=true, forceInstaller=false, mainClass=com.jamhour.ui.ApplicationLauncher, name=MVTOrchestrator, displayName=MVTOrchestrator, version=1.0-SNAPSHOT, description=MVTOrchestrator, url=null, administratorRequired=true, organizationName=ACME, organizationUrl=, organizationEmail=null, bundleJre=true, customizedJre=true, jrePath=null, jdkPath=C:\Users\love_\.jdks\corretto-21.0.3, additionalResources=[], modules=[], additionalModules=[], platform=windows, envPath=null, vmArgs=[], runnableJar=null, copyDependencies=true, jreDirectoryName=jre, winConfig=WindowsConfig [icoFile=null, headerType=gui, companyName=ACME, copyright=ACME, fileDescription=MVTOrchestrator, fileVersion=1.0.0.0, internalName=MVTOrchestrator, language=null, originalFilename=MVTOrchestrator.exe, productName=MVTOrchestrator, productVersion=1.0.0.0, trademarks=ACME, txtFileVersion=1.0-SNAPSHOT, txtProductVersion=1.0-SNAPSHOT, shortcutName=MVTOrchestrator, disableDirPage=true, disableProgramGroupPage=true, disableFinishedPage=true, disableRunAfterInstall=true, disableWelcomePage=true, createDesktopIconTask=true, generateSetup=true, generateMsi=true, generateMsm=false, msiUpgradeCode=8010188f-ec10-48f6-aef6-6bbece2f5882, wrapJar=true, setupLanguages={english=compiler:Default.isl, spanish=compiler:Languages\Spanish.isl}, setupMode=installForAllUsers, signing=null, registry=Registry [entries=[]], removeOldLibs=false, exeCreationTool=launch4j, vmLocation=null], linuxConfig=null, macConfig=null, createTarball=false, tarballName=null, createZipball=false, zipballName=null, extra=null, useResourcesAsWorkingDir=true, assetsDir=C:\Users\love_\IdeaProjects\MVTOrchestrator\assets, classpath=null, jreMinVersion=null, manifest=null, additionalModulePaths=[], fileAssociations=[], packagingJdk=C:\Users\love_\.jdks\corretto-21.0.3, scripts=Scripts [bootstrap=null, preInstall=null, postInstall=null], arch=x64, templates=[Template [name=windows/iss.vtl, bom=true]]]
[INFO]     Packager initialized!
[INFO]     
[INFO]     Generating Setup installer...
[INFO]         Copying file [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.ico] to folder [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets]
[INFO]         Executing command: cmd.exe /s /c "iscc /OC:\Users\love_\IdeaProjects\MVTOrchestrator\target /FMVTOrchestrator_1.0-SNAPSHOT C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.iss"
[INFO]         Inno Setup 6 Command-Line Compiler
[INFO]         Copyright (C) 1997-2024 Jordan Russell. All rights reserved.
[INFO]         Portions Copyright (C) 2000-2024 Martijn Laan. All rights reserved.
[INFO]         Portions Copyright (C) 2001-2004 Alex Yackimoff. All rights reserved.
[INFO]         https://www.innosetup.com
[INFO]         
[INFO]         Compiler engine version: Inno Setup 6.3.3
[INFO]         
[INFO]         Preprocessing
[INFO]            Reading file: C:\Program Files (x86)\Inno Setup 6\ISPPBuiltins.iss
[INFO]         Parsing [Setup] section, line 12
[INFO]         Parsing [Setup] section, line 13
[INFO]         Parsing [Setup] section, line 14
[INFO]         Parsing [Setup] section, line 15
[INFO]         Parsing [Setup] section, line 16
[INFO]         Parsing [Setup] section, line 17
[INFO]         Parsing [Setup] section, line 18
[INFO]         Parsing [Setup] section, line 19
[INFO]         Parsing [Setup] section, line 20
[INFO]         Parsing [Setup] section, line 21
[INFO]         Parsing [Setup] section, line 22
[INFO]         Parsing [Setup] section, line 23
[INFO]         Parsing [Setup] section, line 24
[INFO]         Parsing [Setup] section, line 25
[INFO]         Parsing [Setup] section, line 26
[INFO]         Parsing [Setup] section, line 27
[INFO]         Parsing [Setup] section, line 28
[INFO]         Parsing [Setup] section, line 29
[INFO]         Parsing [Setup] section, line 30
[INFO]         Parsing [Setup] section, line 31
[INFO]         Parsing [Setup] section, line 32
[INFO]         Reading file (WizardImageFile)
[INFO]         Reading file (WizardSmallImageFile)
[INFO]         Preparing Setup program executable
[INFO]            Updating icons (SETUP.E32)
[INFO]            Updating version info (SETUP.E32)
[INFO]         Determining language code pages
[INFO]         Parsing [Languages] section, line 35
[INFO]            Reading file: C:\Program Files (x86)\Inno Setup 6\Default.isl
[INFO]         Parsing [Languages] section, line 36
[INFO]            Reading file: C:\Program Files (x86)\Inno Setup 6\Languages\Spanish.isl
[INFO]            Messages in script file
[INFO]         Reading default messages from Default.isl
[INFO]         Parsing [Languages] section, line 35
[INFO]            Reading file: C:\Program Files (x86)\Inno Setup 6\Default.isl
[INFO]         Parsing [Languages] section, line 36
[INFO]            Reading file: C:\Program Files (x86)\Inno Setup 6\Languages\Spanish.isl
[INFO]         Parsing [LangOptions], [Messages], and [CustomMessages] sections
[INFO]            Messages in script file
[INFO]         Reading [Code] section
[INFO]         Parsing [Tasks] section, line 39
[INFO]         Parsing [Icons] section, line 47
[INFO]         Parsing [Icons] section, line 48
[INFO]         Parsing [Files] section, line 44
[INFO]         Compiling [Code] section
[INFO]         Creating setup files
[INFO]            Updating icons (SETUP.EXE)
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\MVTOrchestrator.exe
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\release
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-console-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-datetime-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-debug-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-errorhandling-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-file-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-file-l1-2-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-file-l2-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-handle-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-heap-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-interlocked-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-libraryloader-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-localization-l1-2-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-memory-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-namedpipe-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-processenvironment-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-processthreads-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-processthreads-l1-1-1.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-profile-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-rtlsupport-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-string-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-synch-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-synch-l1-2-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-sysinfo-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-timezone-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-core-util-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-conio-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-convert-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-environment-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-filesystem-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-heap-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-locale-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-math-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-multibyte-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-private-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-process-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-runtime-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-stdio-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-string-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-time-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\api-ms-win-crt-utility-l1-1-0.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\awt.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\fontmanager.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\freetype.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\instrument.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\java.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\java.exe
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\javajpeg.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\javaw.exe
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\jawt.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\jfr.exe
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\jimage.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\jli.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\jrunscript.exe
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\jsound.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\keytool.exe
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\lcms.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\mlib_image.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\msvcp140.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\net.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\nio.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\prefs.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\splashscreen.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\syslookup.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\ucrtbase.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\vcruntime140.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\vcruntime140_1.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\verify.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\zip.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\bin\server\jvm.dll
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\conf\jaxp.properties
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\conf\logging.properties
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\conf\net.properties
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\conf\sound.properties
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\conf\security\java.policy
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\conf\security\java.security
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\conf\security\policy\README.txt
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\conf\security\policy\limited\default_local.policy
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\conf\security\policy\limited\default_US_export.policy
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\conf\security\policy\limited\exempt_local.policy
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\conf\security\policy\unlimited\default_local.policy
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\conf\security\policy\unlimited\default_US_export.policy
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\classlist
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\fontconfig.bfc
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\fontconfig.properties.src
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\jawt.lib
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\jrt-fs.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\jvm.cfg
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\jvm.lib
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\modules
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\psfont.properties.ja
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\psfontj2d.properties
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\tzdb.dat
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\tzmappings
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\jfr\default.jfc
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\jfr\profile.jfc
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\security\blocked.certs
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\security\cacerts
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\security\default.policy
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\jre\lib\security\public_suffix_list.dat
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\annotations-13.0.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\atlantafx-base-2.0.1.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-base-23-ea+22-win.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-base-23-ea+22.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-controls-23-ea+22-win.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-controls-23-ea+22.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-fxml-23-ea+22-win.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-fxml-23-ea+22.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-graphics-23-ea+22-win.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\javafx-graphics-23-ea+22.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\kotlin-stdlib-2.0.0.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\kotlinx-coroutines-core-jvm-1.9.0-RC.jar
[INFO]            Compressing: C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator\libs\kotlinx-coroutines-javafx-1.9.0-RC.jar
[INFO]            Compressing Setup program executable
[INFO]            Updating version info (SETUP.EXE)
[INFO]            Updating manifest (SETUP.EXE)
[INFO]         
[INFO]         Warning: Architecture identifier "x64" is deprecated. Substituting "x64os", but note that "x64compatible" is preferred in most cases. See the "Architecture Identifiers" topic in help file for more information.
[INFO]         
[INFO]         Successful compile (11.641 sec). Resulting Setup program filename is:
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator_1.0-SNAPSHOT.exe
[INFO]     Setup installer generated in C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator_1.0-SNAPSHOT.exe!
[INFO]     
[INFO]     Generating MSI merge module...
[INFO]         WXS file generated in C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs!
[INFO]         Compiling file C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs
[INFO]         Executing command: cmd.exe /s /c "candle -out C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs"
[INFO]         Windows Installer XML Toolset Compiler version 3.11.2.4516
[INFO]         Copyright (c) .NET Foundation and contributors. All rights reserved.
[INFO]         
[INFO]         MVTOrchestrator.msm.wxs
[INFO]         WIXOBJ file generated in C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj!
[INFO]         Linking file C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj
[INFO]         Executing command: cmd.exe /s /c "light -spdb -out C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator_1.0-SNAPSHOT.msm C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj"
[INFO]         Windows Installer XML Toolset Linker version 3.11.2.4516
[INFO]         Copyright (c) .NET Foundation and contributors. All rights reserved.
[INFO]         
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs(238) : error LGHT0091 : Duplicate symbol 'File:default_local.policy' found. This typically means that an Id is duplicated. Check to make sure all your identifiers of a given type (File, Component, Feature) are unique.
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs(252) : error LGHT0092 : Location of symbol related to previous error.
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs(241) : error LGHT0091 : Duplicate symbol 'File:default_US_export.policy' found. This typically means that an Id is duplicated. Check to make sure all your identifiers of a given type (File, Component, Feature) are unique.
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs(255) : error LGHT0092 : Location of symbol related to previous error.
[ERROR]     MSI merge module generation failed due to: Command execution failed: light -spdb -out C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator_1.0-SNAPSHOT.msm C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj
[ERROR] 
org.codehaus.plexus.util.cli.CommandLineException: Command execution failed: light -spdb -out C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator_1.0-SNAPSHOT.msm C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj
    at io.github.fvarrui.javapackager.utils.CommandUtils.executeOnDirectory (CommandUtils.java:20)
    at io.github.fvarrui.javapackager.utils.CommandUtils.execute (CommandUtils.java:30)
    at io.github.fvarrui.javapackager.packagers.GenerateMsm.doApply (GenerateMsm.java:65)
    at io.github.fvarrui.javapackager.packagers.GenerateMsm.doApply (GenerateMsm.java:15)
    at io.github.fvarrui.javapackager.packagers.ArtifactGenerator.apply (ArtifactGenerator.java:44)
    at io.github.fvarrui.javapackager.packagers.Packager.generateInstallers (Packager.java:442)
    at io.github.fvarrui.javapackager.maven.PackageMojo.execute (PackageMojo.java:394)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
    at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
[INFO]     
[INFO]     Generating MSI installer...
[INFO]         WXS file generated in C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs!
[INFO]         Compiling file C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs
[INFO]         Executing command: cmd.exe /s /c "candle -out C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs"
[INFO]         Windows Installer XML Toolset Compiler version 3.11.2.4516
[INFO]         Copyright (c) .NET Foundation and contributors. All rights reserved.
[INFO]         
[INFO]         MVTOrchestrator.msm.wxs
[INFO]         WIXOBJ file generated in C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj!
[INFO]         Linking file C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj
[INFO]         Executing command: cmd.exe /s /c "light -spdb -out C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator_1.0-SNAPSHOT.msm C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj"
[INFO]         Windows Installer XML Toolset Linker version 3.11.2.4516
[INFO]         Copyright (c) .NET Foundation and contributors. All rights reserved.
[INFO]         
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs(238) : error LGHT0091 : Duplicate symbol 'File:default_local.policy' found. This typically means that an Id is duplicated. Check to make sure all your identifiers of a given type (File, Component, Feature) are unique.
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs(252) : error LGHT0092 : Location of symbol related to previous error.
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs(241) : error LGHT0091 : Duplicate symbol 'File:default_US_export.policy' found. This typically means that an Id is duplicated. Check to make sure all your identifiers of a given type (File, Component, Feature) are unique.
[INFO]         C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wxs(255) : error LGHT0092 : Location of symbol related to previous error.
[ERROR]     MSI installer generation failed due to: Command execution failed: light -spdb -out C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator_1.0-SNAPSHOT.msm C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj
[ERROR] 
org.codehaus.plexus.util.cli.CommandLineException: Command execution failed: light -spdb -out C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator_1.0-SNAPSHOT.msm C:\Users\love_\IdeaProjects\MVTOrchestrator\target\assets\MVTOrchestrator.msm.wixobj
    at io.github.fvarrui.javapackager.utils.CommandUtils.executeOnDirectory (CommandUtils.java:20)
    at io.github.fvarrui.javapackager.utils.CommandUtils.execute (CommandUtils.java:30)
    at io.github.fvarrui.javapackager.packagers.GenerateMsm.doApply (GenerateMsm.java:65)
    at io.github.fvarrui.javapackager.packagers.GenerateMsi.doApply (GenerateMsi.java:40)
    at io.github.fvarrui.javapackager.packagers.GenerateMsi.doApply (GenerateMsi.java:16)
    at io.github.fvarrui.javapackager.packagers.ArtifactGenerator.apply (ArtifactGenerator.java:44)
    at io.github.fvarrui.javapackager.packagers.Packager.generateInstallers (Packager.java:442)
    at io.github.fvarrui.javapackager.maven.PackageMojo.execute (PackageMojo.java:394)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
    at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
[INFO]     
[INFO] Installers generated! [C:\Users\love_\IdeaProjects\MVTOrchestrator\target\MVTOrchestrator_1.0-SNAPSHOT.exe]
[INFO] 
[INFO] Creating bundles ...
[INFO] Bundles created!
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  45.662 s
[INFO] Finished at: 2024-07-16T19:11:49+03:00
[INFO] ------------------------------------------------------------------------

Process finished with exit code 0

Please tell us about your environment:

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

the project is available on my GitHub page under the name "MVTOrchestrator". The only change made was in the pom.xml. Here's the one I was testing with.

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.jamhour</groupId>
    <artifactId>MVTOrchestrator</artifactId>
    <version>1.0-SNAPSHOT</version>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <kotlin.code.style>official</kotlin.code.style>
        <kotlin.version>2.0.0</kotlin.version>
        <kotlin.compiler.jvmTarget>21</kotlin.compiler.jvmTarget>
        <kotlin.compiler.jvmSource>21</kotlin.compiler.jvmSource>
        <kotlin.MainClass>com.jamhour.ui.ApplicationLauncher</kotlin.MainClass>
        <kotlin.coroutines.version>1.9.0-RC</kotlin.coroutines.version>
        <javafx.version>23-ea+22</javafx.version>
    </properties>

    <repositories>
        <repository>
            <id>mavenCentral</id>
            <url>https://repo1.maven.org/maven2/</url>
        </repository>
        <repository>
            <id>maven_central</id>
            <name>Maven Central</name>
            <url>https://repo.maven.apache.org/maven2/</url>
        </repository>
    </repositories>

    <build>
        <sourceDirectory>src/main/kotlin</sourceDirectory>
        <testSourceDirectory>src/test/kotlin</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>io.github.fvarrui</groupId>
                <artifactId>javapackager</artifactId>
                <version>1.7.5</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>package</goal>
                        </goals>
                        <configuration>
                            <!-- mandatory -->
                            <mainClass>${kotlin.MainClass}</mainClass>
                            <bundleJre>true</bundleJre>
                            <generateInstaller>true</generateInstaller>
                            <administratorRequired>true</administratorRequired>
                            <platform>auto</platform>
                            <!--                            <additionalResources>-->
                            <!--                                <additionalResource>file path</additionalResource>-->
                            <!--                                <additionalResource>folder path</additionalResource>-->
                            <!--                                <additionalResource>...</additionalResource>-->
                            <!--                            </additionalResources>-->
                            <!--                            <linuxConfig>...</linuxConfig>-->
                            <!--                            <macConfig>...</macConfig>-->
                            <!--                            <winConfig>...</winConfig>-->
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.jetbrains.kotlin</groupId>
                <artifactId>kotlin-maven-plugin</artifactId>
                <version>${kotlin.version}</version>
                <executions>
                    <execution>
                        <id>compile</id>
                        <phase>process-sources</phase>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>test-compile</id>
                        <phase>test-compile</phase>
                        <goals>
                            <goal>test-compile</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.openjfx</groupId>
                <artifactId>javafx-maven-plugin</artifactId>
                <version>0.0.8</version>
                <executions>
                    <execution>
                        <!-- Default configuration for running with: mvn clean javafx:run -->
                        <id>default-cli</id>
                        <configuration>
                            <mainClass>${kotlin.MainClass}</mainClass>
                            <launcher>app</launcher>
                            <jlinkZipName>app</jlinkZipName>
                            <jlinkImageName>app</jlinkImageName>
                            <noManPages>true</noManPages>
                            <stripDebug>true</stripDebug>
                            <noHeaderFiles>true</noHeaderFiles>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.22.2</version>
                <dependencies>
                    <dependency>
                        <groupId>org.ow2.asm</groupId>
                        <artifactId>asm</artifactId>
                        <version>9.6</version>
                    </dependency>
                </dependencies>
            </plugin>
            <plugin>
                <artifactId>maven-failsafe-plugin</artifactId>
                <version>2.22.2</version>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
                <version>1.6.0</version>
                <configuration>
                    <mainClass>${kotlin.MainClass}</mainClass>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.13.0</version>
                <configuration>
                    <source>${kotlin.compiler.jvmSource}</source>
                    <target>${kotlin.compiler.jvmTarget}</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>

        <dependency>
            <groupId>org.jetbrains.kotlin</groupId>
            <artifactId>kotlin-test-junit5</artifactId>
            <version>2.0.0-RC3</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-engine</artifactId>
            <version>5.10.2</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.jetbrains.kotlinx</groupId>
            <artifactId>kotlinx-coroutines-test</artifactId>
            <version>${kotlin.coroutines.version}</version>
            <scope>test</scope>
            <type>pom</type>
        </dependency>

        <dependency>
            <groupId>org.jetbrains.kotlin</groupId>
            <artifactId>kotlin-stdlib</artifactId>
            <version>${kotlin.version}</version>
        </dependency>

        <dependency>
            <groupId>org.jetbrains.kotlinx</groupId>
            <artifactId>kotlinx-coroutines-core-jvm</artifactId>
            <version>${kotlin.coroutines.version}</version>
        </dependency>

        <dependency>
            <groupId>org.jetbrains.kotlinx</groupId>
            <artifactId>kotlinx-coroutines-javafx</artifactId>
            <version>${kotlin.coroutines.version}</version>
        </dependency>

        <dependency>
            <groupId>org.openjfx</groupId>
            <artifactId>javafx-controls</artifactId>
            <version>${javafx.version}</version>
        </dependency>

        <dependency>
            <groupId>org.openjfx</groupId>
            <artifactId>javafx-fxml</artifactId>
            <version>${javafx.version}</version>
        </dependency>

        <dependency>
            <groupId>io.github.mkpaz</groupId>
            <artifactId>atlantafx-base</artifactId>
            <version>2.0.1</version>
        </dependency>

    </dependencies>

</project>
fvarrui commented 4 months ago

Hi @jamhour1g! Please, could you try with v1.7.6?

jamhour1g commented 4 months ago

@fvarrui I used version 1.7.6 to run the program, and it successfully built and created the installer without any exceptions. However, there was no output when I tried to run the .exe file. I initially thought it might be due to Kotlin and the plugins failing to find the main function, so I rewrote the Main class in Java to test it, but the results remained the same. Do you have any ideas why this might be happening?

fvarrui commented 4 months ago

@jamhour1g You can see what's happening just running your EXE this way:

cd target\MVTOrchestrator
jre\bin\java -jar MVTOrchestrator.exe

It probably says something like: Error: JavaFX runtime components are missing, and are required to run this application

If so, to fix this, you should specify JavaFX modules as VM arguments this way in JP config:

<vmArgs>
     <vmArg>--add-modules=javafx.fxml,javafx.controls</vmArg>
</vmArgs>

I hope this helps! Please, let me know if you manage to run your EXE without problems.

jamhour1g commented 4 months ago

@fvarrui Indeed, your assumption was accurate; the error message reads: "Error: JavaFX runtime components are missing, and are required to run this application." To address this, I tried adding the VM arguments to the configuration:

<vmArgs>
     <vmArg>--add-modules=javafx.fxml,javafx.controls</vmArg>
</vmArgs>

Nevertheless, this approach failed to resolve the problem, which may be linked to the project's module-info file.

module MVTOrchestrator {

    requires javafx.controls;
    requires javafx.fxml;
    requires kotlin.stdlib;
    requires java.logging;
    requires atlantafx.base;
    requires kotlinx.coroutines.core;
    requires kotlinx.coroutines.javafx;
    requires java.prefs;

    opens com.jamhour.ui.controllers to javafx.fxml, java.prefs;
    exports com.jamhour.ui;
    exports com.jamhour.util;
    exports com.jamhour.ui.controllers;
    exports com.jamhour.model;
    exports com.jamhour.process_management;
}
fvarrui commented 2 months ago

Hi @jamhour1g! Did you manage to fix it? I have to say that JP doesn't support Java Modules at the moment. I'm so sorry, but this is a planned feature.

fvarrui commented 2 months ago

Sorry!!!! I've just realized that you need another VM argument (--module-path=libs), so your bundled JRE is able find the JavaFX modules:

<vmArgs>
     <vmArg>--add-modules=javafx.fxml,javafx.controls</vmArg>
     <vmArg>--module-path=libs</vmArg>
</vmArgs>

libs folder is where JP stores all of your project's dependencies.

jamhour1g commented 2 months ago

Hi @fvarrui, thank you for your assistance. Regarding your initial response, I wasn't able to resolve the issue, but I did run the application using a custom JRE created with jlink. I executed the JavaFX plugin's javafx:jlink command beforehand and ran the ".exe" file with that JRE.

Regarding your previous response, I tried it once more and it was successful. Nonetheless, I've run into an issue where the file structure is missing a JRE image. As a result, it operates on my machine, but not on a virtual machine, due to the absence of a JRE within the app/vm.

image

JavaPackager configuration

 <configuration>
    <mainClass>${kotlin.MainClass}</mainClass>
    <customizedJre>true</customizedJre>
    <generateInstaller>true</generateInstaller>
    <administratorRequired>true</administratorRequired>
    <platform>auto</platform>
    <vmArgs>
        <vmArg>--add-modules=javafx.fxml,javafx.controls</vmArg>
        <vmArg>--module-path=libs</vmArg>
    </vmArgs>
</configuration>
fvarrui commented 2 months ago

bundleJre=true property is missing in JP config

jamhour1g commented 2 months ago

@fvarrui, thank you so much for your assistance; everything is functioning excellently now ❤️