Skip to content

Suppress downgrade failures - #8811

Merged
joeloff merged 1 commit into
dotnet:mainfrom
joeloff:suppress-downgrade-main
Sep 1, 2026
Merged

joeloff merged 1 commit into
dotnet:mainfrom
joeloff:suppress-downgrade-main

Conversation

@joeloff

@joeloff joeloff commented Aug 28, 2026

Copy link
Copy Markdown
Member

Description

Windows Desktop installer is not suppressing downgrades.

Regression

Yes - see dotnet/runtime#54703

How Found

Customer reported feedback ticket

Risk

Low

Testing

Manual verification. Once official installers are built, the manifest can be examined to ensure the suppression flag is set.

Copilot AI lite review requested due to automatic review settings August 28, 2026 19:51
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team August 28, 2026 19:51
@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

Updates the Windows Desktop Runtime WiX bundle configuration so downgrade attempts (installing an older bundle over a newer one) are treated as a no-op success instead of failing, aligning behavior with the “success blocker” expectation described in dotnet/runtime#54703.

Changes:

  • Hard-codes SuppressDowngradeFailure="yes" on the bundle’s bal:WixStandardBootstrapperApplication.
  • Removes the now-unneeded pre-release/GA conditional property/constant plumbing for SuppressDowngradeFailure from Wix.targets.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/windowsdesktop/src/windowsdesktop/src/bundle/Wix.targets Removes conditional MSBuild property/constant setup for SuppressDowngradeFailure since it’s no longer parameterized.
src/windowsdesktop/src/windowsdesktop/src/bundle/bundle.wxs Sets SuppressDowngradeFailure="yes" unconditionally to ensure downgrade attempts return success.

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

@joeloff
joeloff merged commit 087a25f into dotnet:main Sep 1, 2026
11 checks passed
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