-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downloading OneDriveSetup.exe with the WebClient doesn't work correctly #71
Comments
Some additional information is that we are behind a proxy, because of this "Save-OSDBuilderDownload.ps1" will try to use the WebClient to download the OneDrive setup. And like I said in my original post the variables for the WebClient download of the OneDrive setup are empty. |
I’m looking into this, standby
…On Thu, Mar 10, 2022 at 10:09 PM NKK80 ***@***.***> wrote:
Just tried to Download OneDriveEnterprise again, and the script still uses
the same empty variables.
[image: image]
<https://user-images.githubusercontent.com/97504932/157800119-ed88e55a-4a46-4809-b625-ce5011bd21c1.png>
—
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADC6QFURRESODEKWMY7KASLU7LBNVANCNFSM5LV7GRKQ>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Seeing this as well when running from Server 2016 v1607. Works fine when I run the same from my Windows 10 20H2 Workstation. |
The variables on row 280 of Save-OSDBuilderDownload.ps1 are empty when PowerShell tries to download OneDriveSetup.exe with the WebClient.
When those variables are changed to the same variables used by WebRequest (row 283) and Curl (row 288 & 293), "
$DownloadUrl
" & "$DownloadPath\$DownloadFile
", the Download does work correctly.The text was updated successfully, but these errors were encountered: