Open scout208 opened 4 years ago
The problem is that the returned object is not a path, which can be easily fixed by modifying the injection of the cumulative upgrades with this code, as now you have cumulative updates that require there one to be installed first:
Get-ChildItem -Path "$builddir\Cumulative Updates\*.msu" -Recurse -File | ForEach-Object { Add-WindowsPackage -PackagePath $_.FullName -Path $mount }
Following the instructions under "Adding the latest cumulative update to the build process" in the README, I downloaded my MSU file and placed it in builddir\Cumulative Updates. When running builddir\scripts\CreateProductionMedia.ps1 I get the following output
Everything worked fine when I ran the script without including the MSU file.