Choco: 0.9.10 breaks Install-ChocolateyZipPackage (PSWindowsUpdate)

Created on 21 Jun 2016  路  5Comments  路  Source: chocolatey/choco

What You Are Seeing?

Since 0.9.10.1 has been released this package no longer installs (even though everything is said to be working). This package seems to use Install-ChocolateyZipPackage

What is Expected?

I expected to see the the PS files to be installed to (Join-Path $PSHome "Modules\PSWindowsUpdate") but nothing gets copied

How Did You Get This To Happen? (Steps to Reproduce)

Run this script on a 2008R2 machine

Output Log

Broken log:
image

Working log from 0.9.9.12
image

3 - Done Bug

All 5 comments

This is due to #812. Since it was a security update, #775 will need to be reviewed as soon as possible. Or determine why this is not extracting properly.

Looking at this closer, it appears that the extraction doesn't wait for the exit code, which means the process is returning before it is fully closed.

Take a look at the debug output in your log file, you will see "7z exit code: " and no exit code.

@Workshop2 can you provide log output here? You will find it in c:\programdata\chocolatey\logs (just grab from where you ran the command and down to the end result). If you can paste that to a gist and then link that here, that would be helpful to know what the error was (in your case it was silent) but I can not reproduce it yet.

830 appears to be related.

I believe this is good to go with the switch to 7zip full in 0.9.10.3. As a note, I was not able to reproduce this issue exactly, so please comment if you are still seeing this issue.

Was this page helpful?
0 / 5 - 0 ratings