Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

Do not print PowerShell install/update scripts by default #690

Closed
christianrondeau opened this issue Mar 20, 2015 · 1 comment
Closed

Do not print PowerShell install/update scripts by default #690

christianrondeau opened this issue Mar 20, 2015 · 1 comment

Comments

@christianrondeau
Copy link

When running chocolatey without the -y flag, the script that will be run is printed by default. I suggest not doing that.

I believe that most users will skip them or trust them, regardless of whether they are printed or not. Also, it creates a very long output that is harder to read. Finally, the user is still running a script that is intended to run another executable and modify the system.

Here are some options I believe would allow more advanced users to still take advantage of this feature:

  • When asking whether the user wants to run the script or not, add an option to print it (e.g. Yes/No/Skip/Print)
  • Add a global setting to enable script printing
  • Flag non-moderated scripts (a warning saying the user should print)

For more information: https://groups.google.com/forum/#!topic/chocolatey/UVncL7PxXRg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants