-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in light
Command Output
#370
Comments
Hi @dresch86! |
Sure! Here it is....
|
I have the same problem. It seems the file |
I think a change in |
No, this will not work, because the file name will also be changed. I guess the whole |
If we change ID instead of Name, like this: |
I also ran into this issue just now. To be honest i have no idea what the ID-attribute is for in an MSI internally. But i can try this change and report if it solves the issue and if it affects the install/update-process in any way |
I added a custom <File Name="${file.name}" KeyPath="yes" Source="${file}" Id="${file.name.replaceAll("^[^A-Za-z_]", "_").replaceAll("[^A-Za-z0-9_.]", "_")}_${id}"/> (the replaceing is to comply with 'Identifiers may contain ASCII characters A-Z, a-z, digits, underscores (_), or periods (.). Every identifier must begin with either a letter or an underscore.') this works, and and update installation also works. |
Patch added to issue-413 branch. |
Yep @kovzol ! You were right. Sorry, I missed your comments. Thx! |
Ok, now it's working but
Not sure if it would be a good idea, but I'm going to supress all warning messages ( |
|
It seems all is working fine now, so I've just merged branch issue-370 into devel, ready to be released to Maven Central |
v1.7.6 released to Maven Central |
I'm submitting a…
Short description of the issue/suggestion:
I am getting these errors just trying to package on Windows.
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:
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:
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
The text was updated successfully, but these errors were encountered: