wix.exe : error WIX0001: System.IO.IOException: The pipe has been ended #7904
-
Hello Team, I had issues with WiX3.0 where heat tool was not able to harvest paths greater than 260length of chars.
I switched to WiX4.0 where issue is resolved, I am able to harvest path length more than 260. But now I am getting this wix.exe error, it looks like some internal communication issue (pipe ended). But I am not able to diagnose the actual issue. Can you please help me to diagnose this further?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This turns out to be long path issue on windows. To resolve this in wix project ensure that path you pass as BindPath is prefixed with "\?" as mentioned in above msdn article. Also make sure that registry settings are applied as mentioned in document.
GIT_WORKSPACE is defined in Directory.Build.props as described in MSBuild Wix document. Thanks! |
Beta Was this translation helpful? Give feedback.
This turns out to be long path issue on windows.
To resolve this in wix project ensure that path you pass as BindPath is prefixed with "\?" as mentioned in above msdn article. Also make sure that registry settings are applied as mentioned in document.
<ItemGroup> <HarvestDirectory Include="$(GIT_WORKSPACE)\build\[long_path]"> <ComponentGroupName>COMPONENT_NAME</ComponentGroupName> <DirectoryRefId>TARGETDIR</DirectoryRefId> </HarvestDirectory> <BindPath Include="\\?\$(GIT_WORKSPACE)\[long_path]" /> </ItemGroup>
GIT_WORKSPACE is defined in Directory.Build.props as described in MSBuild Wix document.
Thanks!