-
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
Unattended installation of Chocolatey without admin rights aren't possible. #274
Comments
smspillaz
added a commit
to smspillaz/choco
that referenced
this issue
May 7, 2015
Previously, if a non-admin user attempted to install chocolatey, a message indicating that non-admin installs were for advanced users only would appear and block the installation. Advanced users know what they are doing, so allow them to set the ChocolateyEnvironmentAllowGlobalConfirmation environment variable, just like they can pass -y to any other invocation of chocolatey.
smspillaz
added a commit
to smspillaz/choco
that referenced
this issue
May 7, 2015
Previously we had an if condition on debugMode, but it is more concise to just express it as a string appended to the list of options passed to choco.
smspillaz
added a commit
to smspillaz/choco
that referenced
this issue
May 7, 2015
Previously we had an if condition on debugMode, but it is more concise to just express it as a string appended to the list of options passed to choco.
smspillaz
added a commit
to smspillaz/choco
that referenced
this issue
May 7, 2015
Previously, if a non-admin user attempted to install chocolatey, a message indicating that non-admin installs were for advanced users only would appear and block the installation. This runs contrary to chocolatey policy, so just pass -y during the unpackself command. The installation should never block.
smspillaz
added a commit
to smspillaz/choco
that referenced
this issue
May 7, 2015
Previously we had an if condition on debugMode, but it is more concise to just express it as a string appended to the list of options passed to choco.
ferventcoder
changed the title
Unattended installations without admin rights aren't possible.
Unattended installation of Chocolatey without admin rights aren't possible.
May 8, 2015
ferventcoder
pushed a commit
that referenced
this issue
May 16, 2015
Previously, if a non-admin user attempted to install chocolatey, a message indicating that non-admin installs were for advanced users only would appear and block the installation. This runs contrary to chocolatey policy, so just pass -y during the unpackself command. The installation should never block.
ferventcoder
pushed a commit
that referenced
this issue
May 16, 2015
Previously we had an if condition on debugMode, but it is more concise to just express it as a string appended to the list of options passed to choco.
Darn, there is a bug in this code somewhere. |
Reopening for now while I investigate. |
ferventcoder
added a commit
that referenced
this issue
May 17, 2015
Having the $debugModeParams touching the other items is actually causing harm. Separate the item and start it out as $null instead of empty string.
ferventcoder
added a commit
that referenced
this issue
May 17, 2015
* stable: (doc) formatting (version) 0.9.9.6 (GH-274) install - fix unpack self (doc) setting release date to today
@ferventcoder thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
chocoInstall
callschoco unpackself
which throws up a prompt if the shell is not elevated or running as an admin user.This blocks the installation on user input, which makes unattended installations without admin rights impossible at the moment (which is important for CI like environments or scripts).
The text was updated successfully, but these errors were encountered: