-
I trying to build a project that runs heat and create a windows service, but I have duplicate component issue for example.exe file. How I should handle it? WIX0369: Component/@id='WinServiceFileExe' with source path '...' has a @Guid value '...' that duplicates another component in this package. It is recommended to give each component its own unique GUID. Heat example:
Windows service component example:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
XSLT. You need to either remove the harvesting of |
Beta Was this translation helpful? Give feedback.
-
I have the same problem like this, please find in the URL below the solution. https://github.com/z3ut/wix-toolset-net-core-service-example/tree/master You must add compiler tools to remove ICE30 validation |
Beta Was this translation helpful? Give feedback.
XSLT seems to be viewed as an even darker magic art than deployment engineering is, but I personally have never understood the lack of appeal. Everyone who uses XML professionally should learn it, because it is the XML equivalent of regular expressions, and it is, quite frankly, easier to read than regular expressions (which to this day I have to consult one or more references every single time just to get a gist of what it's attempting to do).
Every harvest-related item has a
Transforms
metadata that you would point to one or more XSLT files. Heat would then run those transforms on the generated XML before writing out the generatedwxs
files that are added to theCompile
msbuild item.Wh…