You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repeated calls to choco.exe are slow even if things are fast after it starts up. It would be nice if there were a way to provide a script to choco that would do lots of these things at once. For example, desired would be to write a script like myinstallscript.choco:
and run with choco script myinstallscript.choco. It would also be useful to be able to combine some of the above lines. For example, one could enable multiple features at once, pin multiple packages at once, or specify pins at the same time as installation. The top script could then become
I like the .choco format idea. I don't see it as a replacement for full PowerShell scripts, but this could be really beneficial for starting a choco shell and then running everything in order. Should also note how things should exit when there are errors, continue, etc.
A script that I use to configure my system has to make multiple calls to
choco.exe
.The repeated calls to
choco.exe
are slow even if things are fast after it starts up. It would be nice if there were a way to provide a script to choco that would do lots of these things at once. For example, desired would be to write a script likemyinstallscript.choco
:and run with
choco script myinstallscript.choco
. It would also be useful to be able to combine some of the above lines. For example, one could enable multiple features at once, pin multiple packages at once, or specify pins at the same time as installation. The top script could then becomeThe text was updated successfully, but these errors were encountered: