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

Error: Unable to extract the zip archive! #6

Open
WayUltimateKoolDude921 opened this issue Mar 31, 2022 · 1 comment
Open

Error: Unable to extract the zip archive! #6

WayUltimateKoolDude921 opened this issue Mar 31, 2022 · 1 comment

Comments

@WayUltimateKoolDude921
Copy link

"System.UnauthorizedAccessException: Access to the path 'C:\Program Files\HaloModding\Assembly\Assembly.exe' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry source, String destinationFileName, Boolean overwrite)
at Downloader.ViewModels.ExtractViewModel.ExtractArchive(ZipArchive archive)
at Downloader.ViewModels.ExtractViewModel.WorkerOnDoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)"

That's the stuff I'm missing, think/ I'm assuming that's the case.

@Lord-Zedd
Copy link
Member

Program Files might not be the best location for Assembly. Windows typically wants admin privileges for interacting with that directory so it isn't recommended.

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