Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Choco Install fails if IE has never been launched #93

Closed
ghost opened this issue Aug 17, 2017 · 2 comments
Closed

Choco Install fails if IE has never been launched #93

ghost opened this issue Aug 17, 2017 · 2 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Aug 17, 2017

This is the console output

PS C:\Users\phg\Desktop> choco install captura
Chocolatey v0.10.7
Installing the following packages:
captura
By installing you accept licenses for the packages.
Progress: Downloading captura 5.0.0... 100%

captura v5.0.0 [Approved]
captura package files install completed. Performing other installation steps.
The package captura wants to run 'chocolateyinstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[N]o/[P]rint): y

ERROR: The response content cannot be parsed because the Internet Explorer engine is not available, or Interne
t Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
The install of captura was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\captura\tools\chocolateyinstall.ps1'.
 See log for details.

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - captura (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\captura\tools\chocolateyinstall.ps1'.
 See log for details.

Apparently, the command Invoke-WebRequest https://api.github.com/repos/MathewSachin/Captura/releases/latest fails if IE has never run.
Either the parameter "-UseBasicParsing" should added, or user should be prompted to run IE.
Updating captura also fails under the conditions above.

@ghost ghost changed the title Captura install fails if IE is never launched Captura install fails if IE has never been launched Aug 17, 2017
@ghost ghost changed the title Captura install fails if IE has never been launched Choco Install fails if IE has never been launched Aug 17, 2017
@MathewSachin MathewSachin self-assigned this Aug 17, 2017
@MathewSachin
Copy link
Owner

Thank you for reporting the error 👍

It is strange that Powershell depends on IE.
I will check -UseBasicParsing and other possible options.

@MathewSachin
Copy link
Owner

Seems to be fixed in v5.0.1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant