This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF Connect for Desktop installation, Choco installation issues

Hi

Tring to setup development environment using nRF Connect for Desktop ( nrfconnectsetup342ia32.exe), in Windows 7 host.

Used tool manager to  complete all necessary necessary dependencies., but it fails to install Choco.

I tried installing choco by command prompt, but i am getting following errors.

--------------------------------

PS C:\Windows\system32> Get-ExecutionPolicy
Bypass
PS C:\Windows\system32> Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProt
ocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadStri
ng('chocolatey.org/install.ps1'))
Exception setting "SecurityProtocol": "Cannot convert value "3312" to type "System.Net.SecurityProtocolType" due to inv
alid enumeration values. Specify one of the following enumeration values and try again. The possible enumeration values
 are "Ssl3, Tls"."
At line:1 char:85
+ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]:: <<<< SecurityProtocol = [System.
Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('chocolatey
.org/install.ps1'))
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyAssignmentException

Exception calling "DownloadString" with "1" argument(s): "Could not find a part of the path 'C:\Windows\system32\chocol
atey.org\install.ps1'."
At line:1 char:219
+ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.Se
rvicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString <<<< ('chocolatey
.org/install.ps1'))
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

PS C:\Windows\system32>

-------------------------------------------------

attached image for refernce:

Related