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

Not working with .wim archives #98

Closed
aleksey-hoffman opened this issue Jun 9, 2021 · 2 comments
Closed

Not working with .wim archives #98

aleksey-hoffman opened this issue Jun 9, 2021 · 2 comments

Comments

@aleksey-hoffman
Copy link

Good day @quentinrossetti

When trying to extract wim archive, nothing happens:

const binExtractStream = node7z.extractFull(
  'E:/test/1.wim',
  'E:/test/output',
  {
    $bin: pathTo7ZipBin,
    $progress: true
  }
)

binExtractStream .on('error', (error) => {
  console.log(error)
})

binExtractStream .on('end', () => {
  console.log('success')
})

The error handler is not showing anything. The end handler runs successfully.

I'm specifying 7zip binary that supports wim archives. I tested it with node and it's extracting the file successfully:

childProcess.execSync(`${pathTo7ZipBin} x "E:/test/1.wim" -o"E:/test/output" -bsp1 -y`)
@q2s2t
Copy link
Owner

q2s2t commented Jul 13, 2021

Hi @aleksey-hoffman
I'm a bit late to the party sorry :)
For future reference do you remember how you fix it?

@aleksey-hoffman
Copy link
Author

Hi @quentinrossetti I think it was a mistake on my part. I'm not sure why it wasn't working when I was testing it in my app.
The module seems to be working with all supported formats now.

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