-
Notifications
You must be signed in to change notification settings - Fork 443
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
Windows MSI + Play 2.2.0 : CNDL0027 : The Shortcut/@Name attribute's value, '\application.conf', is not a valid long name because it contains illegal characters
#43
Comments
Could it be a missing call to util method If the issue is here, then how it could be fixed?
If this is not the good place to post, let me know. |
To be clear, this is a bug on our side, with how we do automatic mapping. I'll see if I can create a scripted test for this and get a fix. The downside is that I left my windows box at home, and won't be able to try this out for another 2 weeks (I'm on travel currently). If you have a chance to dig in and issue a fix, the (still somewhat ugly) code to do the mapping from universal -> windows is here: https://github.com/sbt/sbt-native-packager/blob/master/src/main/scala/com/typesafe/sbt/packager/GenericPackageSettings.scala#L106 |
Hi, thank you for your feedback. I will try to take a look if I have time today. |
I tried to fix the issue. To fix the issue it was pretty easy but then I got an other error related to wrong Here are my 3 commits : https://github.com/laguiz/sbt-native-packager/commits/master At least it can inspire you to figure out what is the issue. After these commits I'm now able to generate an msi file. MSI file installation is working as well as the Play Forms application. However I still see an issue with the Windows Shortcut pointing to Hope this helps. |
Cool, once I have my windows computer, I"ll pull these commits in and see if I can get things running. |
Great. Let me know if I can help more on this. |
* Use windows path locations when creating shortcut objects. * Ensure menu names for shortcut objects don't have invalid characters.
Fix issue #43 : sbt/sbt-native-packager#43
Trying to build MSI package from sample play 2.2 application
forms
we get this error :It looks like plugin generate wrong wix file. In my case :
See
Name="\application.conf"
Not sure if it's a bug on play-sbt side or an issue with the sbt-native-packager plugin.
Don't know SBT enough to properly investigate but it seems that it's related to PlayScalaSettings:
https://github.com/playframework/playframework/blob/2.2.0/framework/src/sbt-plugin/src/main/scala/play/Project.scala#L49
Would be great if you can confirm if it's a bug on you side or on the play-sbt side?
Original discussion here : https://groups.google.com/forum/#!topic/play-framework/cMzBuei9C2M
Thank you,
The text was updated successfully, but these errors were encountered: