w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How can I change the "Temp" directory that Chocolatey uses when Installing itself or packages?

Wow, this is interesting. I'm guessing we need to be able to make it settable. That's pretty insane that something would limit the use of the TEMP folder like that, but I can definitely see why someone would want to do that.

What I think I would do is to just go into the scripts for chocolatey and change everything not to use temp folder. There are probably 2 or 3 places where this is. You will need to out of band the install for chocolatey though as it attempts to do the same. Use nuget to install chocolatey, and then open a powershell session and run that installer - Check on the wiki for specific instructions on that https://github.com/chocolatey/chocolatey/wiki/Installation#wiki-nugetexe--powershell-method





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.