Cache chocolatey packages to efficiently provision multiple machines or VMs on a LAN
Apache 2.0 - see LICENSE
- Visual Studio 2010
- .NET Framewrok 4.0
- NuGet Package Manager with "Allow NuGet to download missing packages" setting enabled
ChocolateStore <directory> <url>
In this example, we will store the latest version of GoogleChrome on a network share and install it from a client on the LAN.
-
In a command prompt, browse to the ChocolateStore "bin" folder.
-
Execute the following command. Note that the first argument is a network share for which the current user has "write" permissions. This will download the GoogleChrome package, download the chrome installer and modifer the package to point to the local installer.
ChocolateStore M:\Store http://chocolatey.org/api/v2/package/GoogleChrome/
- From a computer that would like to have GoogleChrome installed and from which the current user has "read" permissions to the network share execute the following command:
cinst GoogleChrome -source M:\Store
Chocolatey now offers a similar solution to this project with a feature they call 'Package Internalizer'. This feature is available in their paid Buisness Edition.