-
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
Primary key duplicated in table 'Shortcut' for Windows builds #21
Comments
DOH! Thanks for the report. I'm a bit swmaped this early in the week, but I'll try to get something out by the end. As always, patches welcome! The windows stuff could use some clean up :) |
Oh, also, I don't think I can support multiple shortcuts at this point. If you look at the code that generates the XML, there's a few things that every shortcut added to windows needs. I need to fix this level of abstraction, as there's a tangly mess inside WiX that I was trying to avoid having users take care of. I'll work this as soon as I can. In any case, as I recall what I was doing in this area, It'll take me a bit to detangle the "what does WiX require" from "What a user really wants to specify" aspect. |
wow - thanks for the lightning fast feedback |
I'm also hitting this error now. @martinstuder @jsuereth did you come up with a solution? |
We had a pull request for this, which didn't worked out :/ |
Using version 0.6.0 I'm currently receiving the following error when trying to build a Windows MSI installer:
error LGHT0130 : The primary key 'shortcut_85903ec4_f15e_49bb_be96_bfe37a1a794b_Shortcut' is duplicated in table 'Shortcut'. Please remove one of the entries or rename a part of the primary key to avoid the collision.
Looking into the code at https://github.com/sbt/sbt-native-packager/blob/master/src/main/scala/com/typesafe/sbt/packager/windows/WixHelper.scala#L125-L143 it looks like the same id is used for multiple shortcuts.
The text was updated successfully, but these errors were encountered: