Skip to content

Chocolatey packages.config Generator

ChocolateyPackerImage Management

Add each package with the exact version you want, then download the generated packages.config. Pinning versions is what makes an image build reproducible: the same config always installs the same software.

Install everything in the file in one unattended run:

Terminal window
choco feature enable -n allowGlobalConfirmation
choco install packages.config --timeout 0

To find the exact ID and available versions of a package, search the Chocolatey Community Repository or run:

Terminal window
choco search <name> --exact --all-versions

See Building Citrix master images with Packer for how this file fits into an automated image pipeline.