Skip to content
Discussion options

You must be logged in to vote

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!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sumedhbhogle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant