Replies: 3 comments
-
For WiX v4, I cover a couple of options in Deployment Dojo S1:E53 (the easy way) and S1:E52 (the hard way). You might find those useful. |
Beta Was this translation helpful? Give feedback.
-
Hey Crazydef, i can provide you with a small example here like this. When you create your Wix Project with Visual Studio you can add those line to harvest the folders. It's just an example you have to check yourselfe it this works out for you. If you want to run it in the pipeline you can just run "dotnet build" and it will generate the msi. project_name.wixproj:
Package.wxs:
|
Beta Was this translation helpful? Give feedback.
-
Hi @crazydef! In Wix 5 you could use Files, which will recursively find all the files in a folder and include them to a component. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to setup Wix to create an installer in a DevOps pipeline.
After other parts of the pipeline has run, I have a couple of folders,
Bin
, andData
that I want packaged into the installer. Collectively they contain a few hundred files, and a dozen sub folders, so adding references manually isn't an option.After reading a ton of documentation this morning, it seems I should be able jump through flaming hoops while juggling goats and run
heat
to harvest the folders' contents. I seeheat
can be installed as a Wix extension, but how do I actually run it? And can I even run it, given it's not recommended/supported in Wix 4.I don't have Visual Studio projects or a solution, so I was hoping I could just run everything from a
script
section in the pipeline yaml.So my question is: How do I add the entire contents of a folder (including any sub folders) to a Wix installer such that it is simply duplicated into the destination folder under
Program Files
on the target machine when the installer is run?Beta Was this translation helpful? Give feedback.
All reactions