![]() ![]() # Make sure the version matches for the arguments as well. # 7zip is the most compatible, but you need an internally hosted 7za.exe. $repoPassword = '' # this must be empty if NOT using authentication $repoUsername = '' # this must be empty is NOT using authentication Chocolatey has the largest online registry of Windows packages. C:\> get-packageprovider -name chocolatey The provider 'chocolatey v2.8.5.130' is not installed. Therefore packages are based on the same principles. NOTE: You can also install Chocolatey explicitly with 'install-package provider bootstrap chocolatey' Now I can just 'install-package vlc' and it will get it from the Chocolatey repository. The Chocolatey Windows package manager uses the same infrastructure as NuGet, the Visual Studio package manager by Outercurve Foundation (sponsored by Microsoft). Otherwise these leave these as empty strings. The chocolateyBeforeModify.ps1 script will only be executed if using choco version 0.9.10 or later. # If the above $packageRepo repository requires authentication, add the username and password here. ![]() # If you are using Nexus, always add the trailing slash or it won't work ![]() # This is where you see the top level API - with xml to Packages - should look nearly the same as # Download and install Chocolatey nupkg from an OData (HTTP/HTTPS) url such as Artifactory, Nexus, ProGet (all of these are recommended for organizational use), or Chocolatey.Server (great for smaller organizations and POCs) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |