Skip to content

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

Open
@AndreyApalkov

Description

@AndreyApalkov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions