timsutton / brigadier

Fetch and install Boot Camp ESDs with ease.
MIT License
1.99k stars 198 forks source link

Internet Explorer engine is not available #69

Open jamstone opened 2 years ago

jamstone commented 2 years ago

I suspect since IE has been killed in new versions of Windows, Invoke-WebRequest fails now. Running the PowerShell script give the following error message:

Invoke-WebRequest : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.

Adding the -UseBasicParsing parameter to each instance of Invoke-WebRequest and Invoke-RestMethod seems to resolve the issue.

retets commented 12 months ago

Use this command to disable first run and it will work Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Internet Explorer\Main" -Name "DisableFirstRunCustomize" -Value 2

ericohlin commented 8 months ago

Thanks @retets I confirm this reg key fixes the issue. :)