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
Which version of Visual Studio are you building with (if any)?
N/A
Which version of the WiX Toolset Visual Studio Extension are you building with (if any)?
N/A
Which version of .NET are you building with?
7.0.2
If the problem occurs when installing your packages built with WiX, what is the version of Windows the package is running on?
N/A
Describe the problem and the steps to reproduce it.
When testing on a Linux environment (Ubuntu 22.04) a get the error ""The Directory/@name attribute's value is not a relative path" for every "Directory" element.
wix build -d PackageName=mypackage -d TestGroupName=mytest -d UpgradeCode=$(uuidgen) Product.wxs
/tmp/wix4/Product.wxs(32) : error WIX0389: The Directory/@Name attribute's value, '~Test WiX', is not a relative path./tmp/wix4/Product.wxs(33) : error WIX0389: The Directory/@Name attribute's value, 'mytest', is not a relative path.
/tmp/wix4/Product.wxs(34) : error WIX0389: The Directory/@Name attribute's value, 'mypackage', is not a relative path.
Describe the behavior you expected and how it differed from the actual behavior.
Wix4 is a dotnet application. I would expect it to work in Linux environment.
The text was updated successfully, but these errors were encountered:
Wix4 is a dotnet application. I would expect it to work in Linux environment.
This expectation is incorrect. WiX depends on Windows APIs that are not abstracted by .NET on other operating systems. Therefore, it is necessary to re-implement several APIs for other platforms. We did restructure WiX v4 to (hopefully) make that easier to execute but no one stepped up to complete the work.
Until that work is completed, there is no expectation that WiX will run on Linux (or Mac).
Therefore, it is necessary to re-implement several APIs for other platforms.
Until that work is completed, there is no expectation that WiX will run on Linux (or Mac).
Thanks for the quick reply. Is there any place to start looking at which APIs are those?
Bugs
If this issue is a bug:
4.0.0-rc.1+6580fe7b
N/A
N/A
7.0.2
N/A
When testing on a Linux environment (Ubuntu 22.04) a get the error ""The Directory/@name attribute's value is not a relative path" for every "Directory" element.
To reproduce the error in Ubuntu
Install dotnet in Linux
Install wix4
Download this test .wsx file from the wix4 project
Try building the .wsx file
Wix4 is a dotnet application. I would expect it to work in Linux environment.
The text was updated successfully, but these errors were encountered: