You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also attempted removing the preprocessor variable and just setting ComponentGroup @source to "..\Deploy" but the error message was the same.
Describe the behavior you expected and how it differed from the actual behavior.
It's possible I'm using ComponentGroup @source incorrectly but I'm not certain as the doc page has a broken link to specifying source files. (Bug filed). My expectation is that it would combine compine the source from the parent ComponentGroup element and the File element and resolve the path to the file and find it.
The text was updated successfully, but these errors were encountered:
Thanks for the File@Name tip. There's just one more piece that I don't know or doesn't exist in v4.
Consider var.SourceDir = Deploy and Deploy has
File1
SubDir\File2
Component / File Name = File1 grabs Deploy\File1
Component SubDirectory="SubDir" / File Name=File2 trys to grab Deploy\File2 instead of Deploy\SubDir\File2
I'm doing all this as business rules for automation that I'm writing. I'm trying to come up with the most minimalist, expressive easy to read code as possible.
@Subdirectory is for target path and doesn't enter into source logic. Directory/@FileSource is a thing but doesn't have a parallel if you're not creating child Directorys.
4.0.0
VS2022 Professional 17.5.3
HeatWave 1.0.1.0
This Fragment compiles successfully:
This fragment gives a WIX0103 Cannot find the file 'TestApp.exe'. The following paths were checked: TestApp.exe
I also attempted removing the preprocessor variable and just setting ComponentGroup @source to "..\Deploy" but the error message was the same.
It's possible I'm using ComponentGroup @source incorrectly but I'm not certain as the doc page has a broken link to specifying source files. (Bug filed). My expectation is that it would combine compine the source from the parent ComponentGroup element and the File element and resolve the path to the file and find it.
The text was updated successfully, but these errors were encountered: