- I have a Windows Service project.
- I'm using WIX to install my compiled project.
- I'm using heat to harvest all the necessary files from the project, into my WIX proj, by generating a secondary "heat-only"
.wxs
file which is then referenced by the primaryProduct.wxs
which has all the hand-crafted XML in it. - I want to have the installer automate the installation and startup of the Service.
Can I get this to work nicely?
All the default advise on installing and starting Window Services with WIX assumes that you're going to put extra XML into the
Component
tag of the .wxs
file. But that's being generated by heat, and I'd like to avoid having to make manual edits to that file after heat has created it.
I can't get the commands to "take" when placed in the primary hand-written .wxs
file.
Is there a magic incation I've mispronounced?
Is there an overall better way to do this?