This repository has been archived by the owner on Oct 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
Troubleshooting
Miodrag Milić edited this page Oct 22, 2016
·
10 revisions
This function is buggy (see https://github.com/majkinetor/chocolatey/issues/12) and if updater blocks it's usually enough to add or remove UseBasicParsing
parameter. This always manifest when calling updateall
and not individual update.ps1
package updaters.
When you use iwr
without UseBasicParsing
option if you never run Internet Explorer before this is what you might encoutner:
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.
Quick Fix:
sp 'HKLM:\SOFTWARE\Policies\Microsoft\Internet Explorer\Main\' DisableFirstRunCustomize 1
If this message appears when updating the package:
> .\update.ps1
ant-renamer - checking updates using au version 2016.10.7.130154
Vector smash protection is enabled. <----------- HERE
nuspec version: 2.12.0.20161011
remote version: 2.12.0
No new version found
the package will get updated on its own but not when using updateall
. Adding or removing UseBasicParsing
to Invoke-WebRequest
seems to solve it.