Skip to content
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

when 7-Zip installed via chocolatey it err with "7z.exe not available" #432

Open
alex-mesfin opened this issue Jan 28, 2021 · 1 comment

Comments

@alex-mesfin
Copy link

alex-mesfin commented Jan 28, 2021

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

Output log

Any additional information you'd like to impart

@joerg16
Copy link

joerg16 commented Feb 1, 2021

Should be fixed with #428

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants