# 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 This opens 7-zip and displays the contents of the archive. Right-click the file, point to the 7-Zip submenu, and then click the Open Archive command. After downloading and installing 7-Zip, navigate to the file you want to open. $repoUsername = '' # this must be empty is NOT using authentication Opening a file using 7-Zip is extremely easy and can be completed in as little as two steps. Otherwise these leave these as empty strings. # 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. |