Wireshark-bugs: [Wireshark-bugs] [Bug 11151] Powershell does not extract libraries
Date: Tue, 28 Apr 2015 07:21:29 +0000

Comment # 2 on bug 11151 from
(In reply to Gerald Combs from comment #1)
> Are you running Server Core by any chance? If so trying to use
> shell.application to extract files won't work:
> 
> http://serverfault.com/questions/446884/unzip-file-with-powershell-in-server-
> 2012-core
> 
> We can try using System.IO.Compression as suggested above, but in our case
> it might make more sense to download a small extractor such as MinGW's
> unzip, busybox-w32, or the DotNetZip DLL when the script starts up. This
> would ensure that we're in a known good state on all platforms.

You are correct in that assumption, although I am on a Windows Server 2008
system as build system. For know I am extracting all utilities by hand, but for
the future, there should be a better system.

btw, also I have some issues with the script, if I used WIRESHARK_LIB_DIR. The
script seemed to ignore that setting completely, although the cmake scripts
accepted it, leading to a situation, where the binaries where downloaded into
the main directory, and cmake searched in the wrong place. Switched to
WIRESHARK_BASE_DIR and it worked again.


You are receiving this mail because:
  • You are watching all bug changes.