Skip to content

Commit

Permalink
[Task] Fix capability identity identification issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWonders committed Sep 26, 2024
1 parent ae4d322 commit 3c315d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Panels/DoWork/ProgressPanel.vb
Original file line number Diff line number Diff line change
Expand Up @@ -4344,7 +4344,8 @@ Public Class ProgressPanel
' Get capability information
Dim capInfo As DismCapabilityInfo = DismApi.GetCapabilityInfo(imgSession, capAdditionIds(x))
LogView.AppendText(CrLf & CrLf & _
"- Capability identity: " & capInfo.DisplayName & CrLf & _
"- Capability identity: " & capInfo.Name & CrLf & _
"- Capability name: " & capInfo.DisplayName & CrLf & _
"- Capability description: " & capInfo.Description & CrLf)
End Using
Finally
Expand Down Expand Up @@ -4530,7 +4531,8 @@ Public Class ProgressPanel
Using imgSession As DismSession = If(OnlineMgmt, DismApi.OpenOnlineSession(), DismApi.OpenOfflineSession(mntString))
Dim capInfo As DismCapabilityInfo = DismApi.GetCapabilityInfo(imgSession, capRemovalIds(x))
LogView.AppendText(CrLf & CrLf & _
"- Capability identity: " & capInfo.DisplayName & CrLf & _
"- Capability identity: " & capInfo.Name & CrLf & _
"- Capability name: " & capInfo.DisplayName & CrLf & _
"- Capability description: " & capInfo.Description & CrLf)
End Using
Finally
Expand Down

0 comments on commit 3c315d4

Please sign in to comment.