ScoopInstaller / scoopinstaller.github.io

ScoopInstaller homepage and search engine
https://scoop.sh
MIT License
77 stars 19 forks source link

Failure to install with suggested https://scoop.sh/ install procedure #25

Closed empjustine closed 2 years ago

empjustine commented 2 years ago

Sugested installation procedure doesn't work on recent Windows 10 installs with reduced Trident (Internet Explorer) engine footprint.

failure example

PS C:\Users\glenda> [System.Environment]::OSVersion | Format-List

Platform      : Win32NT
ServicePack   :
Version       : 10.0.19043.0
VersionString : Microsoft Windows NT 10.0.19043.0

PS C:\Users\glenda> Invoke-WebRequest get.scoop.sh | Invoke-Expression
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.
At line:1 char:1
+ Invoke-WebRequest get.scoop.sh | Invoke-Expression
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotImplemented: (:) [Invoke-WebRequest], NotSupportedException
    + FullyQualifiedErrorId : WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

success example

PS C:\Users\glenda> Invoke-WebRequest -Uri get.scoop.sh -UseBasicParsing | Invoke-Expression
Initializing...
Downloading...
Extracting...
Creating shim...
Adding ~\scoop\shims to your path.
Scoop was installed successfully!
Type 'scoop help' for instructions.
rashil2000 commented 2 years ago

$PSVersionTable?

empjustine commented 2 years ago
PS C:\Users\glenda> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.19041.1682
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.1682
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

PS C:\Users\glenda> [System.Environment]::OSVersion.Version

Major  Minor  Build  Revision
-----  -----  -----  --------
10     0      19043  0

PS C:\Users\glenda> Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Internet Explorer'                                       

Build             : 919041
IntegratedBrowser : 1
MkEnabled         : Yes
svcKBFWLink       :
svcKBNumber       :
svcUpdateVersion  : 11.0.1000
svcVersion        : 11.789.19041.0
Version           : 9.11.19041.0
W2kVersion        : 9.11.19041.0
PSPath            : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer
PSParentPath      : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
PSChildName       : Internet Explorer
PSDrive           : HKLM
PSProvider        : Microsoft.PowerShell.Core\Registry
rashil2000 commented 2 years ago

Can you try again with irm get.scoop.sh | iex?

chawyehsu commented 2 years ago