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
@ -134,8 +134,7 @@ rules:
|
|||||||
name: hns-fatal-error
|
name: hns-fatal-error
|
||||||
capture:
|
capture:
|
||||||
field3: error
|
field3: error
|
||||||
|
|
||||||
|
|
||||||
- logline:
|
- logline:
|
||||||
provider: Microsoft.Windows.Hyper.V.NetMgmt
|
provider: Microsoft.Windows.Hyper.V.NetMgmt
|
||||||
task: NetMgmt::CreateVirtualSwitch
|
task: NetMgmt::CreateVirtualSwitch
|
||||||
@ -174,6 +173,15 @@ rules:
|
|||||||
set: wsl-client-logs
|
set: wsl-client-logs
|
||||||
oneshot: true
|
oneshot: true
|
||||||
|
|
||||||
|
- logline:
|
||||||
|
provider: Microsoft.Windows.Subsystem.Lxss
|
||||||
|
field8: {regex: ".*InstallMsix\\(.*"}
|
||||||
|
set:
|
||||||
|
name: msix-install-error
|
||||||
|
capture:
|
||||||
|
field7: error
|
||||||
|
oneshot: true
|
||||||
|
|
||||||
actions:
|
actions:
|
||||||
- foreach:
|
- foreach:
|
||||||
var: user-visible-error
|
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.'
|
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
|
skip_similar_issues: false
|
||||||
tag: 'needs-author-feedback'
|
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