Skip to content

Run installer as regular user - #68

Open
hborchardt wants to merge 1 commit into
qmk:mainfrom
hborchardt:run_installer_as_current_user
Open

Run installer as regular user#68
hborchardt wants to merge 1 commit into
qmk:mainfrom
hborchardt:run_installer_as_current_user

Conversation

@hborchardt

Copy link
Copy Markdown

Hi, thanks for this great project!

Running the installer as admin means that the default installation folder is the admin's appdata folder. Even when installing into a user-owned location, I can only run the WSL shortcut as Admin.

As I understand it, the required admin privileges were introduced to allow the qmk_driver_installer.exe to run.

This change runs the installer as a regular user and run qmk_driver_installer.exe using shellexec to get a UAC prompt only when it is needed.

Running the installer as admin means that the default installation
folder is the admin's appdata folder, where the user that started the
installation cannot access it. The required admin privileges were
introduced to allow the qmk_driver_installer.exe to run.

Run the installer as a regular user and run qmk_driver_installer.exe
using shellexec to get a UAC prompt only when it is needed.
@zvecr zvecr added the enhancement New feature or request label Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants