My Chocolatey Notes for Windows

From rdiez's Personal Wiki

Installing Packages

This is the command to install my favourite Chocolatey packages on Windows. Remember to run it with elevated privileges:

choco install -y chocolateygui jre8 sysinternals 7zip.install zip unzip winmerge ConEmu gimp notepadplusplus.install vlc windirstat winscp.install InkScape KiTTY && choco install libreoffice-still -y -ia "QUICKSTART=0" && choco install tightvnc -y -ia "SERVER_REGISTER_AS_SERVICE=0 SET_ACCEPTRFBCONNECTIONS=1 VALUE_OF_ACCEPTRFBCONNECTIONS=0"

Unfortunately, some of those applications will add desktop icons during installation, which you may want to manually remove afterwards. I haven't found the time yet to try and disable desktop icon creation.

By default, Chocolatey installs all packages to %ProgramData%\chocolatey\lib (aka %ChocolateyInstall%\lib). It then copies all executables to %ProgramData%\chocolatey\bin (aka %ChocolateyInstall%\bin) , which is normally on your PATH.

Notes about the packages above:

  • TightVNC is not installed as a service. The application-mode server does not accept any incoming connections by default. The user is expected to manually start the TightVNC server and manually connect a listening client.
  • LibreOffice is installed without the start-up loading option. This is equivalent to manually clearing this setting: Settings/Einstellungen -> Memory/Speicher -> "Load LibreOffice during system start-up"/"LibreOffice beim Systemstart laden".

Packages for Development PCs Only

choco install -y wireshark jdk8

Upgrading Packages

You should set an automatic reminder in your calendar, so that you do not forget to upgrade all packages every now and then.

The Chocolatey GUI is the most comfortable way to upgrade any installed packages, especially for non-technical users.

Apparently, the Chocolatey GUI can upgrade itself, which is generally problematic. I could not actually find any documentation about how it does that, but it seems to work.

Otherwise, this is how to upgrade all packages from the command line. Beware not to run this command inside a ConEmu terminal, because ConEmu itself gets upgraded too:

 choco upgrade all -y