Skip to content

Fix component authoring - #8759

Merged
joeloff merged 2 commits into
dotnet:mainfrom
joeloff:regcomp-main
Aug 28, 2026
Merged

joeloff merged 2 commits into
dotnet:mainfrom
joeloff:regcomp-main

Conversation

@joeloff

@joeloff joeloff commented Aug 27, 2026

Copy link
Copy Markdown
Member

The registry key component for writing specific version information should not be fixed. This makes it a shared component that isn't always removed, so the registry contains invalid information.

Example, when you install 10.0.9 and 10.0.10, the 10.0.10 entry remains. This can cause problems for ISVs that rely on the keys to detect specific version, potentially skipping over installs. It can also trigger scanners to report older versions that aren't actually installed.

Copilot AI lite review requested due to automatic review settings August 27, 2026 17:31
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts WiX v5 installer authoring so registry-key components used to record installed .NET versions aren’t treated as a single shared MSI component across multiple installs, reducing the chance of stale/incorrect version information remaining in the registry.

Changes:

  • Removes the hard-coded Guid on the SetupRegistry_x86 WiX v5 component so component identity can vary appropriately per authored key path/version.
  • Keeps the authored registry key/value logic intact while aligning WiX v5 behavior with existing WiX authoring patterns in this repo.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team August 28, 2026 05:25
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.

3 participants