Skip to content

use default compression not working #3408

Answered by gep13
jondah asked this question in Q&A
Discussion options

You must be logged in to vote

@jondah said...
I still see 7z.exe under tools folder or is it just during installation you can use native unzip features?

Yes, the $env: chocolateyUseWindowsCompression environment variable only applies during the installation of the Chocolatey package. The way that Chocolatey is deployed is that the *.nupkg file (which is essentially a zip file) is downloaded, and then extracted to the required location. This extraction is done either using native compression tools, or by downloading 7zip.

However, as part of the Chocolatey package, we also ship 7zip, as it is a requirement for some of the built-in compression cmdlets that Chocolatey provides, for example Get-ChocolateyUnZip. Without …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gep13
Comment options

Answer selected by jondah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants