Skip to content

Feature Request: Preserve Installation Scope During Auto-Updates #19

Description

@stormastor

Hi. I noticed an update/install behavior that may be worth (and also easy?) considering.

The current Windows installer seems to install per-user, under:

%LOCALAPPDATA%\Programs\LocalPDF Studio

I rebuilt the installer myself with Electron Builder / NSIS using perMachine: true, and it correctly installed under:

C:\Program Files\LocalPDF Studio

The issue is that, after auto-update, the app downloads the official per-user installer again.
This creates a second installation instead of updating the existing per-machine one.

I understand this is partly caused by my custom rebuild, since the official installer may not currently support or expect a per-machine installation. Still, it would be useful if the installer/updater could handle this case more safely.

Possible improvements:

Add an installer option to choose between “current user” and “all users”, like many Windows installers do.
Or simply make the updater preserve the original installation scope. If the app was installed per-machine, future updates should remain per-machine avoiding the creation of a separate per-user install.

This would avoid duplicated installations on Windows.

THANK YOU for YOUR Time, effort and sharing this app !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions