Skip to content

Conversation

@robmen
Copy link
Member

@robmen robmen commented Nov 3, 2025

By integrating the use of long path prefix (?\) and careful use of short paths we can workaround most of the MSI API long path limitations. It's not perfect as short paths that still exceed MAX_PATH will fail in most MSI APIs. But accessing files placed in cabinets and copied around should now be fully long path supported.

Fixes wixtoolset/issues#3065
Fixes wixtoolset/issues#9115

By integrating the use of long path prefix (\?\\) and careful use of short
paths we can workaround most of the MSI API long path limitations. It's not
perfect as short paths that still exceed MAX_PATH will fail in most MSI APIs.
But accessing files placed in cabinets and copied around should now be fully
long path supported.

Fixes 3065 9115
@robmen robmen requested a review from barnson November 3, 2025 23:25
@robmen robmen enabled auto-merge (rebase) November 3, 2025 23:25
@robmen robmen merged commit 2ce9b1c into main Nov 4, 2025
2 checks passed
@robmen robmen deleted the robmen/maxpath branch November 4, 2025 18:29
@github-actions github-actions bot locked and limited conversation to collaborators Nov 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pipe has been ended when writing path longer than 255 (MAX_PATH issue) LGHT0103 cannot find file with type ''

3 participants