You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Unatteneded Servicing to apply unattended.xml file, dism throws error :
Command line that ran is dism.exe /image:F:\WIM\MOUNT /Apply-Unattend:
Error: 87
The /Apply-Unattend: option is missing a required argument.
For more information, refer to the help for the /Apply-Unattend: option.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Apparently DISMGUI forgot to append full path of xml to /Apply-Unattend: , causing dism to fail.
Found a problem, but can't test it (also can't create PR, no VB IDE installed):
In file DISMGUI\4.0\DISM GUI\frmMain.vb line 697 reads :
strXMLFileName = txtPatchLocation.Text
but to me it looks it needs to be
strXMLFileName = txtUnattend.Text
Looks like copy/paste error, no big deal :)
The text was updated successfully, but these errors were encountered:
Private Sub btnChooseUnAttend_Click(sender As System.Object, e As System.EventArgs) Handles btnChooseUnAttend.Click
dlgOpenXML.InitialDirectory = "c:"
dlgOpenXML.Title = "Choose Unattend XML file to Open"
dlgOpenXML.Filter = ("XML Files(.xml)|.xml|All Files (.)|.")
Dim DidWork As Integer = dlgOpenXML.ShowDialog
If DidWork = DialogResult.Cancel Then
'Do Nothing
Else
' Dim strXMLFileName As String = dlgOpenXML.FileName
strXMLFileName = dlgOpenXML.FileName
txtUnattend.Text = strXMLFileName
End If
End Sub
Second step:
Private Sub btnApplyUnattend_Click(sender As System.Object, e As System.EventArgs) Handles btnApplyUnattend.Click
If WIMMounted = False Then
MessageBox.Show("No WIM is mounted. You must mount a WIM before running this command.")
Else
'Do Nothing
End If
If txtUnattend.Text = "" Then
MessageBox.Show("You must enter an XML file.")
Exit Sub
Else
'Do Nothing
End If
' strXMLFileName = txtPatchLocation.Text
strDISMArguments = "/image:" & strMountedImageLocation & " /Apply-Unattend:" & strXMLFileName
BackgroundWorkerDISMCommand.RunWorkerAsync(strDISMArguments)
frmProgress.ShowDialog()
txtOutput.Text = strOutput
End Sub
When using Unatteneded Servicing to apply unattended.xml file, dism throws error :
Apparently DISMGUI forgot to append full path of xml to
/Apply-Unattend:
, causing dism to fail.Found a problem, but can't test it (also can't create PR, no VB IDE installed):
In file
DISMGUI\4.0\DISM GUI\frmMain.vb
line 697 reads :strXMLFileName = txtPatchLocation.Text
but to me it looks it needs to be
strXMLFileName = txtUnattend.Text
Looks like copy/paste error, no big deal :)
The text was updated successfully, but these errors were encountered: