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 tried Wix3.9 and cannot reproduce error LGHT0130 if I have a file file1.txt in the path of currnetWorkingDir\SourceDir.
Can you still get the error LGHT0103 if you have this path 'SourceDir\file1.txt' at your current working directory?
No, if I create a subdir named SourceDir and put file1.txt in that, the problem goes away.
But if file1.txt is in the current working dir, light.exe runs correctly without -sh, but fails with that flag.
The problem with this is that heat.exe generates paths containing SourceDir, and so it cannot be combined with the sh flag (or other binder parameters)
If -sh or -sf is specified, Binder.ResolveFields skips the call to BinderFileManager.ResolveFile, which is responsible for, among other things, stripping SourceDir[\\/] from source paths. Thus the object field still points to SourceDir\path. -sh or -sf means there's no file manager resolution. That seems wrong. This does not appear to be a regression.
Originally posted by barnson Status changed from Open to Untriaged
Given the following .wxs:
running the commands
works fine, with no errors or warnings.
However, this:
generates this error:
If SourceDir is removed from the File element, replacing the line with this:
then
light.exe -sh
completes succesfullyThe problem occurs for any binder argument, not just
-sh
It seems like passing any parameter to the binder somehow trips up the file path resolution.
The text was updated successfully, but these errors were encountered: