Skip to content

Commit

Permalink
Fixed mikecel79#5 from .NET 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusHutchison committed Mar 17, 2022
1 parent 4dec80e commit 08c2271
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 3.5/DISM GUI/frmMain.vb
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ Public Class frmMain
If WIMMounted = False Then
MessageBox.Show("No WIM is mounted. You must mount a WIM before running this command.")
Else
strDISMArguments = "/image:" & strMountedImageLocation & " /Get-Packages"
strDISMArguments = "/image:""" & strMountedImageLocation & """" & " /Get-Packages"
BackgroundWorkerDISMCommand.RunWorkerAsync(strDISMArguments)
frmProgress.ShowDialog()
txtOutput.Text = strOutput
Expand Down Expand Up @@ -439,7 +439,7 @@ Public Class frmMain
If WIMMounted = False Then
MessageBox.Show("No WIM is mounted. You must mount a WIM before running this command.")
Else
strDISMArguments = "/image:" & strMountedImageLocation & " /Get-Features"
strDISMArguments = "/image:""" & strMountedImageLocation & """" & " /Get-Features"
BackgroundWorkerDISMCommand.RunWorkerAsync(strDISMArguments)
frmProgress.ShowDialog()
txtOutput.Text = strOutput
Expand Down Expand Up @@ -690,7 +690,7 @@ Public Class frmMain
If WIMMounted = False Then
MessageBox.Show("No WIM is mounted. You must mount a WIM before running this command.")
Else
strDISMArguments = "/image:" & strMountedImageLocation & " /Get-Apps"
strDISMArguments = "/image:""" & strMountedImageLocation & """" & " /Get-Apps"
BackgroundWorkerDISMCommand.RunWorkerAsync(strDISMArguments)
frmProgress.ShowDialog()
txtOutput.Text = strOutput
Expand Down Expand Up @@ -819,7 +819,7 @@ Public Class frmMain
'Do Nothing
End If
strMSPFileName = txtPatchLocation.Text
strDISMArguments = "/image:" & strMountedImageLocation & " /Check-AppPatch /PatchLocation:" & strMSPFileName
strDISMArguments = "/image:""" & strMountedImageLocation & """" & " /Check-AppPatch /PatchLocation:" & strMSPFileName
BackgroundWorkerDISMCommand.RunWorkerAsync(strDISMArguments)
frmProgress.ShowDialog()
txtOutput.Text = strOutput
Expand Down

0 comments on commit 08c2271

Please sign in to comment.