Skip to content

[Problem/Bug]: Evergreen Standalone installer fails when running during Operating System Deployment via SCCM #5032

Open
@jones948

Description

What happened?

I have the Evergreen Standalone installer packaged as an application in SCCM and included to be installed when I'm re-imaging a computer. The installer is failing with exit code 4294967295. This is happening with the latest installer downloaded from the WebView2 installer page.

I reverted my application to use an older installer (91.0.864.37) and it installs fine during imaging, which makes me think something has changed with the newer installer.

I'm installing it during imaging because other applications later in the imaging process require it (ArcGIS Pro, Camtasia, etc.) and will fail if it is not present.

This is the log of the install process that generates the error:

Parsed CmdLine: MicrosoftEdgeWebView2RuntimeInstallerX64.exe /install /silent AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Parsed CmdLine: MicrosoftEdgeWebView2RuntimeInstallerX64.exe /install /silent AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Prepared command line: "C:\WINDOWS\ccmcache\1\MicrosoftEdgeWebView2RuntimeInstallerX64.exe" /install /silent AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Parsed CmdLine: "C:\WINDOWS\ccmcache\1\MicrosoftEdgeWebView2RuntimeInstallerX64.exe" /install /silent AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Executing Command line: "C:\WINDOWS\ccmcache\1\MicrosoftEdgeWebView2RuntimeInstallerX64.exe" /install /silent with system context AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Parsed CmdLine: "C:\WINDOWS\ccmcache\1\MicrosoftEdgeWebView2RuntimeInstallerX64.exe" /install /silent AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Commandline length:68 evaluate:1 AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Working directory C:\WINDOWS\ccmcache\1 AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
CcmCreateProcess: Running from CcmExec or CcmExec not treated as managed installer; calling CreateProcess directly. AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Post install behavior is BasedOnExitCode AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Raising ETW event 20001 AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Raised ETW event 20001 AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Process creation time: 2025-01-06 18:34:20:498 AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Current time: 2025-01-06 18:34:20:525 AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Actual elapsed time (in seconds): 0 AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Reconnecting to - Process Id: 3068, MaxRunTime: 7200000 AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Waiting for process 3068 to finish. Timeout = 120 minutes. AppEnforce 1/6/2025 10:34:20 AM 5752 (0x1678)
Process 3068 terminated with exitcode: 4294967295 AppEnforce 1/6/2025 10:34:36 AM 5752 (0x1678)
Looking for exit code -1 in exit codes table... AppEnforce 1/6/2025 10:34:36 AM 5752 (0x1678)
Unmatched exit code (4294967295) is considered an execution failure. AppEnforce 1/6/2025 10:34:36 AM 5752 (0x1678)
Status is switching to Failure AppEnforce 1/6/2025 10:34:36 AM 5752 (0x1678)

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

No response

SDK Version

No response

Framework

Win32

Operating System

Windows 10

OS Version

10.0.19045

Repro steps

You would need an SCCM environment to reproduce this, as it seems to only happen during Operating System Deployment.

Package the WebView2 Runtime as a application with "/install /silent" switches.
Include the application as an Install Application step in the OSD task sequence.
Application install fails with the mentioned error.

When the error happens, I can bring up a diagnostic command prompt while the Task Sequence is in the error state, go to the cache where the WebView2 installer .exe is located, and run the same command manually, and it will work. So the error is specific to being called via SCCM's application install step.

MicrosoftEdgeWebView2RuntimeInstallerX64.exe /install /silent

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

Runtime 91.0.864.37 is the newest installer I had on hand to test with. It likely was working in a newer version than that.

Metadata

Assignees

Labels

bugSomething isn't workingregressionSomething used to work but doesn't anymore

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions