Open aimar115 opened 2 years ago
i think i found it.
in Allfunctions.ps1
$MountedWindowsImage = Get-WindowsImage -Mounted | Where-Object {$_.Path -eq $MountDirectory}
$MountDirectory
does not equal $_.Path
cause
$MountDirectory = "C:\Users\OD42B~1.BOR\AppData\Local\Temp\mount4356"
Windows shortened it!
$_.Path = "c:\users\o.borolongprofilename\AppData\Local\Temp\mount4356"
you should not use $env:Temp
good alternative is $((Get-Item $env:Temp).fullname)
so I replaced $env:Temp
with $((Get-Item $env:Temp).fullname)
in New-OSBuildMultiLang.ps1 and all works fine ;)
Never had that problem with older versions.
what could it be?