chocolatey / cChoco

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

[cChocoInstaller] Do not create install dir prior to calling install.ps1 script #180

Closed xadozuk closed 10 months ago

xadozuk commented 10 months ago

Description Of Changes

Change cChocoInstaller resource to not create the install dir before calling the install.ps1 file.

Motivation and Context

Following change in the install.ps1 file, chocolatey installation will stop if the target installation path exists (even if empty); Ref: https://github.com/chocolatey/home/issues/276

Testing

Operating Systems Testing

Change Types Made

Change Checklist

Related Issue

Fixes #179

doherty100 commented 10 months ago

@vexx32 just wondering how it will take to get a new release published for those of us that consume cChoco as an Azure Automation module?

jackmtpt commented 10 months ago

Following this thread as well - can we get a new release published with this fix in it? The current 2.5.0 module is essentially unusable now since it cannot install choco anymore.

pauby commented 10 months ago

@doherty100 @jackmtpt Please see this comment for information about a release.