Инструменты пользователя

Инструменты сайта


faq:windows:choco

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слеваПредыдущая версия
Последняя версияСледующая версия справа и слева
faq:windows:choco [2019-02-22 13:06] – [Download error] nikolayfaq:windows:choco [2021-11-23 20:01] – [Powershell error] nikolay
Строка 1: Строка 1:
 ====== Choco ====== ====== Choco ======
 ===== On Windows XP ===== ===== On Windows XP =====
- 
 To install on Windows XP install Powershell 2.0 first: To install on Windows XP install Powershell 2.0 first:
- 
   - install system updates (and .Net updates)   - install system updates (and .Net updates)
   - uninstall Powershell 1.0 (show updates in Add or Remove programs)   - uninstall Powershell 1.0 (show updates in Add or Remove programs)
Строка 18: Строка 16:
 </file> </file>
 Error caused by TLS 1.1 and TLS 1.2 not enabled by defult in older .Net packages so in Powershell. ((https://github.com/chocolatey/chocolatey-coreteampackages/issues/366))((https://stackoverflow.com/questions/52345109/how-to-get-filename-returned-by-a-download-link)) To enable support of newer TLS install updates for .Net and [[https://support.microsoft.com/en-us/help/4009440|KB3172605]] Error caused by TLS 1.1 and TLS 1.2 not enabled by defult in older .Net packages so in Powershell. ((https://github.com/chocolatey/chocolatey-coreteampackages/issues/366))((https://stackoverflow.com/questions/52345109/how-to-get-filename-returned-by-a-download-link)) To enable support of newer TLS install updates for .Net and [[https://support.microsoft.com/en-us/help/4009440|KB3172605]]
 +
 +==== Powershell error ====
 +Ошибка ''You must provide a value expression on the right-hand side of the '-' operator.'' означает, что установлена версия //Powershell v2// (идёт в комплекте с Windows 7 и Windows 2008). Нужно установить более свежую версию Powershell. Для этого:
 +  * убедиться что стоит DotNet версии не ниже 4.5.2 (скачать [[https://www.microsoft.com/ru-RU/download/details.aspx?id=42642|DotNet 4.5.2]])
 +  * скачать обновление [[https://go.microsoft.com/fwlink/?linkid=839523|WMF5.1]] и установить ((https://docs.microsoft.com/ru-ru/powershell/scripting/windows-powershell/wmf/setup/install-configure?view=powershell-7.2#install-wmf-51-for-windows-server-2012-r2-windows-server-2012-and-windows-81))
 +  * перезагрузить компьютер
faq/windows/choco.txt · Последнее изменение: 2022-02-19 18:16 — 127.0.0.1