Skip to content

Commit 4db2007

Browse files
mentioned files which would be collected in zip
1 parent 168d065 commit 4db2007

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

diagnostics/resources/log_collection_script.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
param(
22
[Parameter(Mandatory=$false)]
3-
[string]$ZipPath = "$env:TEMP",
3+
[string]$ZipPath = "$PSScriptRoot",
44

55
[Parameter(Mandatory=$false)]
66
[string]$OutputDirectory = "$env:TEMP",
@@ -12,7 +12,7 @@ param(
1212
# Load Windows Forms assembly for GUI
1313
Add-Type -AssemblyName System.Windows.Forms
1414
Add-Type -AssemblyName System.Drawing
15-
Add-Type -AssemblyName System.IO.Compression.FileSystem
15+
Add-Type -AssemblyName System.IO.Compression
1616

1717
# Variables to hold file paths for zipping
1818
$OutPath = ""

diagnostics/script.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,22 @@ The script automates collection of commonly requested WebView2 diagnostic data
1212
.\log_collection_script.ps1
1313
```
1414

15-
The script will collect some registry keys and directory listings, start a WPR trace, and display a window similar to the image below.
15+
The script will collect some registry keys and directory listings, start a WPR trace, and display a window similar to the image below.
1616

1717
![img](resources/stop_wpr.png)
1818

1919
4. Reproduce the issue you are experiencing.
20-
5. In the window, click the `Stop WPR Trace` button to end tracing. The script will finalize the collection and create a compressed archive in your TEMP directory.
21-
6. Provide the resulting ZIP file to the WebView2 support team for analysis.
20+
5. In the window, click the `Stop WPR Trace` button to end tracing. The script will then complete the data collection and create a compressed archive in the directory where the script was run.
21+
6. The resulting zip would contain following
22+
- EdgeUpdate_Registry.txt
23+
- EdgeWebView_Directory.txt
24+
- WebView2_Trace.etl
25+
- MicrosoftEdgeUpdate.log (*optional*)
26+
- MicrosoftEdgeUpdate_LocalAppData.log (*optional*)
27+
- msedge_installer_Temp.log (*optional*)
28+
- msedge_installer_SystemTemp.log (*optional*)
29+
- msedge_installer_SystemTemp2.log (*optional*)
30+
7. Provide the resulting ZIP file to the WebView2 support team for analysis.
2231

2332
**Optional**
2433

0 commit comments

Comments
 (0)