WiX- Harvested with heat, what else needs to be added?



I am very new to the WiX suite, and I have been assigned to make an installer that takes a software folder (all files inside a complete ComponentGroup), installs it in the Program Files Directory, and makes some registry changes. I harvested the entire directory using

heat dir ../myApplication -gg -dr "ProgramFilesFolder" -ke -out ../setup.xml -cg "complete" -template product.

That seemed to work, and it gave me a functional file. However, when I run it through candle and light, it gives me a warning that the cabinet (product.cab) is empty, and it is-- the MSI flashes on screen and disappears without doing anything. My question is this: What else do I need to add in order for the installer to be functional?


my Media line is as follows:

<Media Id ="1" Cabinet="Product.cab" EmbedCab = "yes"/>


No comments:

Post a Comment