mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 00:44:55 -06:00
Add logic to detect msix installation errors (#11496)
This commit is contained in:
parent
9b84b560a6
commit
b79d1d5ab9
@ -135,7 +135,6 @@ rules:
|
||||
capture:
|
||||
field3: error
|
||||
|
||||
|
||||
- logline:
|
||||
provider: Microsoft.Windows.Hyper.V.NetMgmt
|
||||
task: NetMgmt::CreateVirtualSwitch
|
||||
@ -174,6 +173,15 @@ rules:
|
||||
set: wsl-client-logs
|
||||
oneshot: true
|
||||
|
||||
- logline:
|
||||
provider: Microsoft.Windows.Subsystem.Lxss
|
||||
field8: {regex: ".*InstallMsix\\(.*"}
|
||||
set:
|
||||
name: msix-install-error
|
||||
capture:
|
||||
field7: error
|
||||
oneshot: true
|
||||
|
||||
actions:
|
||||
- foreach:
|
||||
var: user-visible-error
|
||||
@ -258,3 +266,8 @@ actions:
|
||||
user_message: 'It appears that the VirtualMachinePlatform optional component is not enabled. Please try running: `dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart`, then reboot and see if that solves the issue.'
|
||||
skip_similar_issues: false
|
||||
tag: 'needs-author-feedback'
|
||||
|
||||
- when:
|
||||
condition: msix-install-error
|
||||
debug_message: 'Found evidence of MSIX install error: $error, adding msix tag'
|
||||
tag: 'msix'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user