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

Auto update doesn't work when building for x64 architecture #188

Open
AndreyApalkov opened this issue Jan 16, 2025 · 0 comments
Open

Auto update doesn't work when building for x64 architecture #188

AndreyApalkov opened this issue Jan 16, 2025 · 0 comments

Comments

@AndreyApalkov
Copy link

AndreyApalkov commented Jan 16, 2025

When I build the electron application for x86 architecture the auto-update works fine (my windows machine has multiple windows users). But when i build it for x64 the auto-update process fails with the error:

Couldn't open log file, trying new file:
System.UnauthorizedAccessException: 0=0904 4 00007 00 000 "C:\Program Files\MyApp\MSQ-CheckForUpdate.log".
System.IO._Error.WinlOError(Int32 errorCode, String maybeFullPath)
System.IO.FileStream.lnit(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)

Image

It doesn't seem to add user permissions to the folder

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