Tweak extraction of boot.zip

This commit is contained in:
MrMeeb 2024-08-06 18:28:06 +01:00
parent d5e4f29963
commit 4e6bad8ebe
Signed by: MrMeeb
GPG Key ID: 3864A01CC606E310

View File

@ -10,7 +10,7 @@ $ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri $RemoteURL/boot.zip -OutFile $StagingDir\boot.zip
# Expand boot.zip to C:\Boot
Expand-Archive -Path $StagingDir\boot.zip -DestinationPath C:\boot -Force
Expand-Archive -Path $StagingDir\boot.zip -DestinationPath C:\ -Force
# Download WinPE wim to C:\Sources\boot.wim
New-Item -ItemType "Directory" -Path C:\Sources -Force