-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Were there recent changes to install.ps1 file? #3
Comments
@artisticcheese yes, a new version of the install.ps1 file was released today, which addressed a number of issues which were identified. Are you seeing a problem with it? |
Yes, it's not throwing terminating issue when it thinks chocolatey is already installed which causing DSC cChocolatey to proceed with creation of environment variables etc thinking installation successfully proceeded when it did not. |
Yeah, currently it just writes a warning. From what I remember, I think @ferventcoder wanted it as a warning rather than an error, but perhaps it's better if this is a terminating error? |
Adding @vexx32 for visibility. |
As of right now (with current logic) all cChoco DSC module users will have problems since it's different behavior which was before when I assume it was terminating issue or logic itself was different. |
Sounds like there is an issue with the script - this is covering a security issue where Chocolatey should not install into a pre-created folder (what becomes C:\ProgramData\chocolatey). |
Might it be better for cChoco to place the script either in a temp directory or just add the script after running the install.ps1 to install chocolatey itself, if the script really needs to be in the Chocolatey directory? |
Yeppers, cChoco should place the script elsewhere. chocolatey/cChoco#151 (comment) is the biggest part of why this change needed to occur. With security changes, we do what we can to minimize impact, but unfortunately it doesn't mean we'll catch everything ahead of time.
|
Also seeing issues (around proxies) with the recent changes in the install script. Couldn't find the source repository for it, so filed an issue on the main repo: https://github.com/chocolatey/choco/issues/2195. |
@artisticcheese a new version of cChoco has been released which addresses the issue that was raised here. You can find information about this release here: https://github.com/chocolatey/cChoco/releases/tag/v2.5.0 I am going to go ahead and close out this issue. |
Please see the issue which was not there a day ago
chocolatey/cChoco#151
┆Issue is synchronized with this GitLab issue by Unito
The text was updated successfully, but these errors were encountered: