Skip to content

Report ComCtl SxS version (6.10) instead of Windows product version#1

Merged
asklar merged 1 commit intomainfrom
fix/comctl-sxs-version
Feb 20, 2026
Merged

Report ComCtl SxS version (6.10) instead of Windows product version#1
asklar merged 1 commit intomainfrom
fix/comctl-sxs-version

Conversation

@asklar
Copy link
Copy Markdown
Owner

@asklar asklar commented Feb 20, 2026

Use dwFileVersion instead of dwProductVersion for comctl32.dll since the file version contains the meaningful SxS/fusion version (e.g. 6.10 for v6 themed controls, 5.82 for legacy). Other DLLs (XAML, WinUI3) continue using dwProductVersion to avoid misleading 6.2.x file versions.

The ComCtl version is also truncated to major.minor since the build and revision parts aren't meaningful for SxS versioning.

Use dwFileVersion instead of dwProductVersion for comctl32.dll since
the file version contains the meaningful SxS/fusion version (e.g. 6.10
for v6 themed controls, 5.82 for legacy). Other DLLs (XAML, WinUI3)
continue using dwProductVersion to avoid misleading 6.2.x file versions.

The ComCtl version is also truncated to major.minor since the build and
revision parts aren't meaningful for SxS versioning.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@asklar asklar merged commit 89d8251 into main Feb 20, 2026
1 check passed
@asklar asklar deleted the fix/comctl-sxs-version branch February 20, 2026 19:15
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.

1 participant