chocolatey / cChoco

Community resource to manage Chocolatey
Apache License 2.0
154 stars 99 forks source link

(GH-151) Download install.ps1 to temp folder. #153

Closed pauby closed 3 years ago

pauby commented 3 years ago

Description

Changes to the Chocolatey install.ps1 means that the script can no longer be downloaded to the same folder as Chocolatey is to be installed in.

This changes downloads the Chocolatey install.ps1 to a temp folder before execution.

Related Issue

Fixes #151

Motivation and Context

Fixes the bug in issue #151 where Chocolatey will fail to install.

How Has This Been Tested?

Tested on a Windows 2019 server using the Examples directory code.

Types of changes

Checklist: