Skip to content

Error in light Command Output #370

@dresch86

Description

@dresch86

I'm submitting a…

  • [ X ] bug report
  • feature request
  • other

Short description of the issue/suggestion:
I am getting these errors just trying to package on Windows.

                    C:\Users\Me\CodeProjects\scheduler\app\build\assets\app.msm.wxs(236) : 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.   
                    C:\Users\Me\CodeProjects\scheduler\app\build\assets\app.msm.wxs(250) : error LGHT0092 : Location of symbol related to previous error.
                    C:\Users\Me\CodeProjects\scheduler\app\build\assets\app.msm.wxs(239) : 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.
                    C:\Users\Me\CodeProjects\scheduler\app\build\assets\app.msm.wxs(253) : error LGHT0092 : Location of symbol related to previous error.

MSI merge module generation failed due to: Command execution failed: light -spdb -out C:\Users\Me\CodeProjects\scheduler\app\build\app_unspecified.msm C:\Users\Me\CodeProjects\scheduler\app\build\assets\app.msm.wixobj
org.codehaus.plexus.util.cli.CommandLineException: Command execution failed: light -spdb -out C:\Users\Me\CodeProjects\scheduler\app\build\app_unspecified.msm

Steps to reproduce the issue/enhancement:

  1. Issue build command to build with Gradle "gradle buildMyApp"

What is the expected behavior?

No errors and installers are output

What is the current behavior?

These installers are not output in the respective directories.

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

N/A

What is the motivation / use case for changing the behavior?

N/A

Please tell us about your environment:

  • JavaPackager version: 1.7.5
  • OS version: Windows 11
  • JDK version: 20.0.2
  • Build tool:
    • Maven
    • [ X ] Gradle

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedIssue fixed and release pendinghelp wantedExtra attention is neededquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions