v5: Burn engine fails to elevate #8818
Replies: 3 comments 6 replies
-
Looks like something very low-level is going awry. You'll want to search for those log messages in the burn codebase and stick a debugger on it. |
Beta Was this translation helpful? Give feedback.
-
Did you find a solution for that issue? We are actually facing the same behavior on some machines. |
Beta Was this translation helpful? Give feedback.
-
I've just run into this issue myself when upgrading from Wix 4.0 to Wix 5.0.2 - however, I'm only getting this error message when attempting to uninstall via Apps and Features. Silent install works correctly, and uninstalling using the actual installer (not from the link in Apps and Features) works without issue. Is there something else that needs to be set for ARP now? Designer_100_20241219163207.log After comparing some older install logs, it looks like the only difference is that the burn.clean.room is no longer being used (which is as expected given the Wix 5.0 changes), and this only seems to be an issue when the installer has a UAC prompt when triggered via Apps and Features. |
Beta Was this translation helpful? Give feedback.
-
On some systems, our bootstrapper (WiX 5.0.0) fails to elevate. We do not use IEngine.Elevate(), so the user gets a UAC prompt when the Apply phase starts.
Log file says:
[39B4:32BC][2024-11-05T12:52:59]i299: Plan complete, result: 0x0
[39B4:32BC][2024-11-05T12:52:59]i300: Apply begin
[39B4:32BC][2024-11-05T12:52:59]i010: Launching elevated engine process.
[39B4:32BC][2024-11-05T12:53:39]i011: Launched elevated engine process.
[39B4:32BC][2024-11-05T12:53:39]e000: Error 0x80070006: Failed to wait for child to connect to pipe.
[39B4:32BC][2024-11-05T12:53:39]e000: Error 0x80070006: Failed to connect to elevated child process.
[39B4:32BC][2024-11-05T12:53:39]e000: Error 0x80070006: Failed to actually elevate.
[39B4:32BC][2024-11-05T12:53:39]e000: Error 0x80070006: Failed to elevate.
The "elevated" log file says:
[3130:3570][2024-11-05T12:53:34]i009: Command Line: '-q -burn.elevated ***** ***** *****'
[3130:3570][2024-11-05T12:53:39]e000: Error 0x8007006d: Failed to read size of verification secret from parent pipe.
[3130:3570][2024-11-05T12:53:39]e000: Error 0x8007006d: Failed to verify parent cache pipe: BurnPipe.{AA95F2E7-0ED5-4548-8436-80AF743E0E40}.Cache
[3130:3570][2024-11-05T12:53:39]e000: Error 0x8007006d: Failed to connect to unelevated process.
[3130:3570][2024-11-05T12:53:39]e000: Error 0x8007006d: Failed to run elevated mode.
[3130:3570][2024-11-05T12:53:39]i021: Exit code: 0x8007006d
This leaves me puzzled. Any idea about what happened here, why it may have happened, or what to do about it? As of now, I even have no idea about which pipes are supposed to be set up and which secrets are supposed to be verified.
Beta Was this translation helpful? Give feedback.
All reactions