The path for a Chocolatey 7zip.commandline install is
$env:ChocolateyInstall\bin
and the version installed by Chocolatey for its own use is in
$env:ChocolateyInstall\tools
Change-Id: I2f1ee78e93f861075f8c06ed74d81d8173911299
Reviewed-on: https://code.wireshark.org/review/9762
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
$searchDirs = @(
"${env:ProgramFiles}\7-Zip"
"${env:ProgramFiles(x86)}\7-Zip"
- "${env:ChocolateyInstall}\chocolateyinstall\tools"
+ "${env:ChocolateyInstall}\bin"
+ "${env:ChocolateyInstall}\tools"
)
foreach ($dir in $searchDirs) {