VerteDinde

#49645: refactor: use ComPtr pattern for MSIX to avoid exception handling

Merged
Created: Feb 3, 2026, 11:22:44 AM
Merged: Feb 5, 2026, 12:42:28 PM
5 comments
Target: main

Description of Change

Follow up to #49230 and #49613

The MSIX auto-updater code was using C++/WinRT (winrt::* namespace), which requires exception handling (/EHsc). Mixing exception and non-exception handling code in the same binary is problematic at runtime.

This PR refactors our MSIX updater code to use an upstream Chromium pattern and eliminates the need for special exception handling build flags.

Checklist

Release Notes

Notes: Refactored our MSIX updater code to use an upstream Chromium pattern and eliminates the need for special exception handling build flags.

Backports

39-x-y
Merged
PR Number
#49688
Merged At
Feb 5, 2026, 4:37:05 PM
Released In
Not yet
Release Date
Not yet
40-x-y
Merged
PR Number
#49687
Merged At
Feb 5, 2026, 3:48:23 PM
Released In
v40.2.1
Release Date
Feb 5, 2026, 5:44:54 PM
41-x-y
Merged
PR Number
#49686
Merged At
Feb 5, 2026, 3:09:20 PM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron