Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

joeloff
Copy link
Member

@joeloff joeloff commented Aug 29, 2025

This fixes #50521

Manual Testing Results

Install with cancellation

  • The finalizer is detected as absent and planned for execution
  • The bundle action is passed to the finalizer (WixBundleAction=6)
  • When the install is cancelled, the finalizer state is detected as absent and resume mode is set to None allowing registration information to be removed.
[0EFC:1544][2025-08-29T13:15:37]i301: Applying execute package: Finalizer, action: Install, path: C:\ProgramData\Package Cache\28E37ED702324B1DB2F93D8DB75B05366577A396023929F824DA6F7CB6DF9A87\finalizer.exe, arguments: '"C:\ProgramData\Package Cache\28E37ED702324B1DB2F93D8DB75B05366577A396023929F824DA6F7CB6DF9A87\finalizer.exe" "C:\Users\WDAGUtilityAccount\AppData\Local\Temp\Microsoft_.NET_SDK_10.0.100-dev_(x64)_20250829131530_000_Finalizer.log" 10.0.100-dev x64 6'
[0CD0:0BAC][2025-08-29T13:15:31]i052: Condition 'WixBundleInstalled' evaluates to false.
[0CD0:0BAC][2025-08-29T13:15:31]i101: Detected package: Finalizer, state: Absent, cached: No, install registration state: Absent, cache registration state: Absent
[0CD0:0BAC][2025-08-29T13:15:44]i373: Calculating whether to keep registration
[0CD0:0BAC][2025-08-29T13:15:44]i374:   package: Finalizer, install registration state: Absent, cache registration state: Absent
[0EFC:1544][2025-08-29T13:15:44]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4B732CB9-47E2-4799-8828-6102E114D0DC}, resume: None, restart initiated: No, disable resume: No

Normal uninstall

  • The finalizer is detected as present
  • The bundle action is passed to the finalizer (WixBundleAction=4)
[097C:09D0][2025-08-29T13:17:44]i052: Condition 'WixBundleInstalled' evaluates to true.
[097C:09D0][2025-08-29T13:17:44]i101: Detected package: Finalizer, state: Present, cached: Yes, install registration state: Present, cache registration state: Present
[1C64:084C][2025-08-29T13:19:21]i301: Applying execute package: Finalizer, action: Uninstall, path: C:\ProgramData\Package Cache\28E37ED702324B1DB2F93D8DB75B05366577A396023929F824DA6F7CB6DF9A87\finalizer.exe, arguments: '"C:\ProgramData\Package Cache\28E37ED702324B1DB2F93D8DB75B05366577A396023929F824DA6F7CB6DF9A87\finalizer.exe" "C:\Users\WDAGUtilityAccount\AppData\Local\Temp\Microsoft_.NET_SDK_10.0.100-dev_(x64)_20250829131744_020_Finalizer.log" 10.0.100-dev x64 4'

@joeloff joeloff enabled auto-merge September 2, 2025 18:13
@joeloff joeloff merged commit f80d3ac into dotnet:release/10.0.1xx Sep 3, 2025
26 of 27 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.

2 participants