Skip to content

Restore Pyside6 tests, enable long filename support#62

Merged
mhsmith merged 3 commits intomainfrom
long-path-support
Jul 11, 2025
Merged

Restore Pyside6 tests, enable long filename support#62
mhsmith merged 3 commits intomainfrom
long-path-support

Conversation

@freakboy3742
Copy link
Member

@freakboy3742 freakboy3742 commented Jul 10, 2025

beeware/briefcase#2355 upgrades the WiX version to WiX 5, which should no longer have the the path length restriction - so we can restore pyside6 tests to the Windows tests. However, we do need to make a small change to the template to trigger long file name support.

Fixes beeware/briefcase#948.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@freakboy3742
Copy link
Member Author

Evidently just upgrading WiX isn't enough...

@freakboy3742 freakboy3742 changed the title Restore Pyside6 tests, as Wix 5 now supports long paths. Restore Pyside6 tests. Jul 10, 2025
@freakboy3742
Copy link
Member Author

Looks like you also have to use a \\?\ prefix on paths to trigger C#'s long file name handling (reference)

@freakboy3742 freakboy3742 requested a review from mhsmith July 10, 2025 01:06
@mhsmith mhsmith merged commit 3745bb3 into main Jul 11, 2025
21 checks passed
@mhsmith mhsmith deleted the long-path-support branch July 11, 2025 13:41
@mhsmith
Copy link
Member

mhsmith commented Jul 11, 2025

Even Microsoft documentation about this syntax is often incomplete or incorrect. This is the best explanation I could find.

@mhsmith mhsmith changed the title Restore Pyside6 tests. Restore Pyside6 tests, enable long filename support Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to package Windows apps that contain long file paths

2 participants