Chocolatey packages.config Generator
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.
Using the file
Section titled “Using the file”Install everything in the file in one unattended run:
choco feature enable -n allowGlobalConfirmationchoco install packages.config --timeout 0To find the exact ID and available versions of a package, search the Chocolatey Community Repository or run:
choco search <name> --exact --all-versionsSee Building Citrix master images with Packer for how this file fits into an automated image pipeline.