Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jones948 opened this issue Jan 6, 2025 · 3 comments
Assignees
Labels
bug Something isn't working regression Something used to work but doesn't anymore

Comments

@jones948
Copy link

jones948 commented Jan 6, 2025

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.

@jones948 jones948 added the bug Something isn't working label Jan 6, 2025
@github-actions github-actions bot added the regression Something used to work but doesn't anymore label Jan 6, 2025
@ambikakunnath
Copy link
Member

Thanks for reporting the issue. Can you kindly share the installer logs - instructions here?

@jones948
Copy link
Author

jones948 commented Jan 7, 2025

Logs attached. There was no %localappdata% log. These are from a failure that occurred 1/6/2025 at 2:14:33 PM.

Edge_Logs.zip

@jones948
Copy link
Author

jones948 commented Jan 7, 2025

SCCM has an option for applications to run the .exe as a 32-bit process on 64-bit systems. I turned this on and the install appears to work partially (I see the files/folders in C:\Program Files x86\Microsoft\EdgeWebView), however, the installer (MicrosoftEdgeWebView2RuntimeInstallerX64.exe) is now hanging open. The installation step on my test has been running for over 30 minutes so far. I suspect it will hit the timeout and fail.

Hopefully this may help narrow down what the issue is.

Edit: It did fail, but the installer reported an error (code 2147747665). It did not hit the SCCM timeout, but the error was at exactly an hour, so I'm guessing that might be an installer timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Something used to work but doesn't anymore
Projects
None yet
Development

No branches or pull requests

2 participants