when 7-Zip installed via chocolatey it err with "7z.exe not available"
alex-mesfin opened this issue · 1 comments
alex-mesfin commented
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 6.x.x and up
- Ruby: all
- Distribution: Windows 2012 and up
- Module version: 4.6.0
How to reproduce (e.g Puppet code you use)
Allways failed to unzip *.7z
files if 7-Zip is not installed as an MSI Package
What are you seeing
Only works when 7-Zip installed from an MSI and exists in C:\\Program Files\\7-Zip\\7z.exe
If 7-zip installed with Chocolaty in C:\\ProgramData\Chocolatey\\tools\7z.exe
does not complete the extraction
What behaviour did you expect instead
An additional conditinal for the path C:\\ProgramData\Chocolatey\\tools\7z.exe
in archive.rb should be added