Skip to content

Commit fcbc3fd

Browse files
michaelmadellFlickdm
authored andcommitted
Remove check for existing boot.stl. Copy providing source exists. Results in only requiring 2023 Certs in DB, having 2011 in DB is required for previous script.
1 parent f75f97f commit fcbc3fd

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎scripts/windows/Make2023BootableMedia.ps1‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -909,8 +909,6 @@ function Copy-2023BootBins {
909909
$bootStlDest = $global:Temp_Media_To_Update_Path + "\EFI\Microsoft\Boot\boot.stl"
910910
if (-not (Test-Path -Path $bootStlSource)) {
911911
Write-Dbg-Host "[boot.stl] not found in mounted boot.wim at [$bootStlSource]. Skipping."
912-
} elseif (Test-Path -Path $bootStlDest) {
913-
Write-Dbg-Host "[boot.stl] already exists at [$bootStlDest]. Preserving existing file."
914912
} else {
915913
Write-Dbg-Host "Copying [$bootStlSource] to [$bootStlDest]"
916914
Copy-Item -Path $bootStlSource -Destination $bootStlDest -Force -ErrorAction stop | Out-Null

0 commit comments

Comments
 (0)