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

Add ARM CPU Support #93

Open
me1299 opened this issue Dec 24, 2024 · 0 comments
Open

Add ARM CPU Support #93

me1299 opened this issue Dec 24, 2024 · 0 comments

Comments

@me1299
Copy link

me1299 commented Dec 24, 2024

Currently, this module does not support ARM CPUs.

When attempting to use this module on an ARMv8 (64-bit) CPU, the following error occurs:

Expand-7Zip : Can not load 7-zip library or internal COM error! Message: failed to load library from "C:\Program Files\WindowsPowerShell\Modules\7Zip4Powershell\2.7.0\7z64.dll".
At line:1 char:1
+ Expand-7Zip -ArchiveFileName $LocalPath -TargetPath $TargetPath
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (SevenZip4PowerS...ip+ExpandWorker:ExpandWorker) [Expand-7Zip], SevenZipLibraryException
    + FullyQualifiedErrorId : 7Zip4PowerShellException,SevenZip4PowerShell.Expand7Zip

Replacing the file C:\Program Files\WindowsPowerShell\Modules\7Zip4Powershell\2.7.0\7z64.dll with 7z.dll from an ARM64 package resolves the issue.

This suggests that adding ARM support should be straightforward and could involve including an ARM-compatible version of the 7-zip library with the module.

Would it be possible to include ARM CPU support in a future release?

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

1 participant