Can we have an installer log please #4029
Replies: 13 comments
-
I like this idea. Ideally we would be able to inject the log output into our own installer logs if possible. I use Inno Setup. +1 from me! 😊 |
Beta Was this translation helpful? Give feedback.
-
Let me ask Edge installer team. Edge installer always generates logs, is it possible for you to read contents from that log? The location of installer log file is at https://github.com/MicrosoftEdge/WebView2Feedback/blob/main/diagnostics/install.md#installer-logs |
Beta Was this translation helpful? Give feedback.
-
So the webview2 installer writes the same logs as Edge? |
Beta Was this translation helpful? Give feedback.
-
@mmtechconsulting I was about to ask the same question. |
Beta Was this translation helpful? Give feedback.
-
Yes, WebView2 installer logs to the same file as Edge. The installer team stated that you can also specify a log file path by using --log-file argument. That's not what you're asking though :). There is no for logging into another log file owned by another app. |
Beta Was this translation helpful? Give feedback.
-
@LiangTheDev But that is still useful. We can now provide our own WebView2 log file path for any post error checking. So it is a big help. Thanks. 👍 So, do you mean:
? |
Beta Was this translation helpful? Give feedback.
-
I am asking all these because we got Webview2 installing during OSD, Operating system deployment. Webview2 intermittently fails during the task sequence so it is hard to identify where the installer fails without a log file. I have a script that picks up all the logs from the failed build and uploads them to a network share for review. |
Beta Was this translation helpful? Give feedback.
-
Is this working @ajtruckle have you by any chance tested it? |
Beta Was this translation helpful? Give feedback.
-
@mmtechconsulting Tried in a console window yesterday and could not work out the right syntax. The UI kept appearing with an error. There is no help built in detailing command line switches / usage. |
Beta Was this translation helpful? Give feedback.
-
Chromium command line switch normally work like the following, have you tried that? |
Beta Was this translation helpful? Give feedback.
-
@LiangTheDev For me, when I try that with the runtime exe I have it shows the GUI with an error. I assume you tried too? 🤔 |
Beta Was this translation helpful? Give feedback.
-
Tried it and got an error. Let me ask Edge installer team. |
Beta Was this translation helpful? Give feedback.
-
Edge installer team agreed that there is currently no way to specify the log file path. You would have to use the Edge installer log file. It seems that you are already doing that. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have intermittent issues installing webview2 so i would appreciate an installer logging argument if possible to be able to troubleshoot.
Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions