Bugfix to hopefully address non-english iso bug

This commit is contained in:
James Stringer 2022-01-15 20:47:11 +01:00
parent 0d41cdfbd5
commit ef70de4332

View File

@ -1987,7 +1987,7 @@ You can use the fields below to configure the VHD or VHDX that you want to creat
####################################################################################################
Write-W2VInfo "Looking for the requested Windows image in the WIM file"
$WindowsImage = Get-WindowsImage -ImagePath $SourcePath
$WindowsImage = Get-WindowsImage -ImagePath "$($driveLetter):\sources\install.wim"
if (-not $WindowsImage -or ($WindowsImage -is [System.Array]))
{