-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Built-in 7zip doesn't behave properly #775
Comments
Now that is interesting - could be a versions difference - maybe it is time to upgrade 7za (or look at just using 7z.exe proper instead). |
i did notice the built-in version is quite a few vers behind 7z proper (actually just noticed this is shown in the log cap: |
in case anybody's wondering, the Vivaldi.portable pkg depends on this fix. |
Also seeing issues w/ 7zip and automated testing of Telerik Control Panel |
just tried |
Hey Rob, is there any resolution or workaround for this? This is also hosing me installing both NSSM and my own EventStore package (downloadable zip). These were previously working. Chocolatey is unable to locate unzipped files after bumping to latest if I use the Install-ChocolateyZipPackage. It basically says it can't find one or more files it's expecting and dies. Suppose I could just unzip via PS/.net...is that the best option right now? |
@eric-swann-q2 this is probably related to #812. |
@eric-swann-q2 We are looking to turn around a 0.9.10.3 somewhat quickly to address this. |
The workaround you can try is to put the old 7za.exe back into the tools directory. We don't recommend this because of the vulnerabilities in that version. |
The other option is to put 7z.exe and 7zip.dll into the tools directory, update all of the references to 7za.exe to 7z.exe in the scripts (and remove the authenticode signing from any you edit). This is what I've done for this issue so far but have not fully tested it yet. |
@eric-swann-q2 can you provide full log output (on #818)? I'm thinking this is an issue with what I've listed in #818, where the 7zip has signaled exit, but has not actually exited yet. I'm looking to see what version of PowerShell/Windows you are seeing this on. |
And the log output to attempt to see what may be going on there. |
Changed over to full 7z.exe so closing this. This will be released in 0.9.10.3. |
@eric-swann-q2 hope that helps |
Thanks for the help, not sure if this is the same issue. In my case it's saying that it can't find the archive to unzip (but it's in the place it's looking). In the following run I dialed back to Choco 0.9.10.0. I'm running this via a custom script in an Azure ARM template. This seems to be similar to the issue I was having installing DotNet4.6.1, for which I ended up just writing my own script. The truncated log output: Here's more complete log output from trying to install NSSM:
|
@eric-swann-q2 please comment on #818 with a FULL log. I need the config variables and environment settings and what they are evaluated to. Or you can just tell me, what version of Windows and what version of PowerShell. Again, please continue the conversation over at #818. |
K....apologies |
No worries, I have not been able to recreate this thus far. |
Rob, I'm reluctant to post the entire log file out here just in case I missed something sensitive in there. Can I send it to you somewhere more restricted? ie mail it to you etc... |
sure thing - ferventcoder at gmail |
Use the full blown 7z.exe to unzip, so there are no limitations with unzipping archives.
* use-7z-exe: (GH-775) Use 7z instead of 7za
* stable: (GH-826) SYSTEM user always uses machine TEMP (GH-808) Allow silent args as array (GH-821) ValidExitCodes not recognized return 0 (GH-818) Allow disk to catch up - sleep (GH-822) Provide pending override and file wait (GH-818) Wait for processes to exit + 2 seconds (maint) formatting (GH-819) Fix - NotSilent install failure binding (GH-775) remove 7za (GH-775) Use 7z instead of 7za
Works perfectly now with 7z in 0.9.10.3 |
I'm trying to create a new choco package. When I use
Get-ChocolateyUnzip
, I don't get the contents of the downloaded file that I expect.When I unzip the downloaded file using 7zip in Explorer (ie: 7z proper) I end up with one file, but when I use
7za
that is used by choco, I get another file (that I don't even see in 7z proper)behold:
The text was updated successfully, but these errors were encountered: