Replies: 1 comment
-
Not sure if this fully answers your question but I was stuck on harvesting for a while too and eventually found that there's a new way to do it in V5, documented here: https://wixtoolset.org/docs/fivefour/#file-harvesting. The way I have it working in my project is like this (inside the
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm unable to build the simple
HarvestProject
example available here. I've set up a bare-bones Wix installer project using the Visual Studio Heatwave extension. And I'm trying to harvest the output from a neighboring C++ project. I encounter two alternative problems: either I get aWIX0094
error (identifier could not be found), or I get aWIX0091
error (Duplicate WixComponentGroup).My first attempt is the linked example, essentially verbatim. This my project file:
And this is my Package.wxs file:
This gives the
WIX0094
error: "The identifier 'Directory:TestProject.Binaries' could not be found. Ensure you have typed the reference correctly and that all the necessary inputs are provided to the linker."I can fix this error by removing the
DoNotHarvest="true"
in the project file. But then I get theWIX0091
error: "Duplicate WixComponentGroup with identifier 'TestProject.Binaries' . . ."Can anyone explain what I'm doing wrong? Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions