The MSI included files from the directory specified by the -bindpath argument.
The documentation for Files says of **: "If an unnamed bind path was specified, all files in that directory and its subdirectories."
Possibly related:
If I use !(bindpath)\**, the build issues a warning warning WIX8601: Missing directory for harvesting files: Could not find a part of the path 'C:\temp\wixtest\code\!(bindpath)'
When I use a named bind (-bindPath main=C:\temp\wixtest\data) I get a crash: error WIX0001: System.UnauthorizedAccessException: Access to the path 'C:\Config.Msi' is denied.
Acknowledgements
[X] I acknowledge that this is a fully completed bug report. It is not a question or attempt to get help debugging my issue (because those should be sent to Discussions).
WiX Version
5.0.0
.NET or MSBuild or Visual Studio Version
.NET 8.0.300
HeatWave Version
1.0.4.5
Windows Version
Win10 21H2
Repro Repo
No response
Repro Steps
Files
withInclude="**"
. Example:wix build -bindPath ..\data test.wxs
wix msi decompile test.msi -o test.decompiled.wxs
Actual Result
The MSI included files from the source directory
Expected Result
The MSI included files from the directory specified by the
-bindpath
argument.The documentation for
Files
says of**
: "If an unnamed bind path was specified, all files in that directory and its subdirectories."Possibly related:
!(bindpath)\**
, the build issues a warningwarning WIX8601: Missing directory for harvesting files: Could not find a part of the path 'C:\temp\wixtest\code\!(bindpath)'
-bindPath main=C:\temp\wixtest\data
) I get a crash:error WIX0001: System.UnauthorizedAccessException: Access to the path 'C:\Config.Msi' is denied.
Acknowledgements