Open lmb opened 1 month ago
setup-ebpf.ps1 is not able to uninstall arbitrary efW .msi package. It can only uninstall the identical .msi.
setup-ebpf.ps1
No response
setup-ebpf.ps1 -Uninstall
setup-ebpf.ps1 -Uninstall should succeed even if the source code was recompiled.
setup-ebpf.ps1 -Uninstall fails with:
.\x64\Debug\setup-ebpf.ps1 -Uninstall PSScriptRoot is C:\Users\lmbauer\ebpf-for-windows\x64\Debug WorkingDirectory is C:\Users\lmbauer\ebpf-for-windows\x64\Debug Uninstalling eBPF MSI package at 'msiexec.exe /x C:\Users\lmbauer\ebpf-for-windows\x64\Debug\ebpf-for-windows.msi /qn /norestart /l*v msi-uninstall.log'... Uninstallation FAILED. Exit code: 1638 MSI uninstallation FAILED. Exit code: 1638. At C:\Users\lmbauer\ebpf-for-windows\x64\Debug\setup-ebpf.ps1:45 char:9 + throw ("MSI uninstallation FAILED. Exit code: $($process.Exit ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (MSI uninstallat...xit code: 1638.:String) [], RuntimeException + FullyQualifiedErrorId : MSI uninstallation FAILED. Exit code: 1638.
The setup script should try to uninstall using the cached MSI.
Describe the bug
setup-ebpf.ps1
is not able to uninstall arbitrary efW .msi package. It can only uninstall the identical .msi.OS information
No response
Steps taken to reproduce bug
setup-ebpf.ps1
setup-ebpf.ps1 -Uninstall
Expected behavior
setup-ebpf.ps1 -Uninstall
should succeed even if the source code was recompiled.Actual outcome
setup-ebpf.ps1 -Uninstall
fails with:Additional details
No response