microsoft / SurfaceDeploymentAccelerator

Surface Deployment Accelerator (SDA) is a script-driven tool to create Windows images (WIM) for test or deployment that are similar in configuration to Bare Metal Recovery (BMR) images, minus certain preinstalled applications like the Surface UWP application.
MIT License
77 stars 25 forks source link

Downloads not working for office 365 and Surface laptop 4 #64

Open skamin04 opened 1 year ago

skamin04 commented 1 year ago

While creating a new SDA flash drive I keep getting Failed to find driver and office.

Downloading SurfaceLaptop4_Win10_19042_22.042.17186.0.msi to C:\SDA\Output\Enterprise\W10\10.0.19044\x64\Temp\SurfaceLaptop4intel... Start-BitsTransfer : HTTP status 404: The requested URL does not exist on the server. At C:\Temp\SurfaceDeploymentAccelerator-master\CreateSurfaceWindowsImage.ps1:446 char:9 + Start-BitsTransfer -Source $ActualURL -Destination "$global:O ... + ~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Start-BitsTransfer], Exception + FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBits TransferCommand Downloaded File: C:\SDA\Output\Enterprise\W10\10.0.19044\x64\Temp\SurfaceLaptop4intel\SurfaceLaptop4_Win10_19042_22.042.17186.0.msi Extracting file C:\SDA\Output\Enterprise\W10\10.0.19044\x64\Temp\SurfaceLaptop4intel\SurfaceLaptop4_Win10_19042_22.042.17186.0.msi to C:\SDA\Output\Enterprise\W10\10.0.19044\x64\Temp\SurfaceLaptop4intel\Extract... Downloading latest Surface Ethernet drivers for SurfaceLaptop4intel...

Downloading Office 365 ... aka.ms link: https://aka.ms/sdao365 Actual URL: https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_15928-20216.exe File name: officedeploymenttool_15928-20216.exe Using BITS to download files Downloading officedeploymenttool_15928-20216.exe to C:\SDA\Output\Enterprise\W10\10.0.19044\x64\Temp\Office365... Start-BitsTransfer : HTTP status 404: The requested URL does not exist on the server. At C:\Temp\SurfaceDeploymentAccelerator-master\CreateSurfaceWindowsImage.ps1:446 char:9

Downloaded File: C:\SDA\Output\Enterprise\W10\10.0.19044\x64\Temp\Office365\officedeploymenttool_15928-20216.exe

Extracting Office 365 offline installer... Start-Process : This command cannot be run due to the error: The system cannot find the file specified. At C:\Temp\SurfaceDeploymentAccelerator-master\CreateSurfaceWindowsImage.ps1:1536 char:5

Office offline setup file download appears to have failed. Exiting...

PS C:\Temp\SurfaceDeploymentAccelerator-master>

k0rg commented 1 year ago

This was likely due to the referenced shortlinks (aka.ms/xxx) not resolving properly. Can you still repro this?