-
Notifications
You must be signed in to change notification settings - Fork 905
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
Choco install doesn't expand envvars, and installation into a custom location fails #748
Comments
Especially #699 (comment) |
If you created the environment variable and saved it yourself prior to install of choco, how did you create it? You would have needed to create the expanding registry value, which I'm not sure you can do with the GUI. |
@hmemcpy ping. |
Sorry, sorry! I would like to try it with the beta, is there a way to force install choco from scratch with the beta version? |
@hmemcpy yes. Adjust your install call to use https://chocolatey.org/installabsolutelatest.ps1 instead. OR Set an environment variable right before you call install. There is a list of the variables you can pass at the top of https://chocolatey.org/install.ps1 |
If you create the environment variable yourself, it _must_ be an expanding registry value ( What I believe we are triaging here is whether Chocolatey should just give users the benefit of the doubt and expand the values (even if the values are just |
What You Are Seeing?
What is Expected?
Chocolatey expands all environment variables, so
ChocolateyInstall
pointing to%localappdata%\Chocolatey
will succeed.How Did You Get This To Happen? (Steps to Reproduce)
ChocolateyInstall
to point to%localappdata%\Chocolatey
The text was updated successfully, but these errors were encountered: