Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Driver is registered in the wrong place or not at all when the installing user it not an administrator #10

Open
HimbeersaftLP opened this issue Oct 29, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@HimbeersaftLP
Copy link
Member

HimbeersaftLP commented Oct 29, 2021

If the installing user is not an administrator account, the installer has to be launched from an administrator account (Windows asks for the login details of the admin account when launching an admin executable from a standard account).
This also means, that vrpathreg will try to edit the openvrpaths.vrpath file of the admin user the installer is running as instead of the standard user that is logged in.
The "SteamVR installation folder not found!" error also originates from the issue sometimes, because if the admin account never launched SteamVR, it doesn't have that file.

Either we need to find out the username of the regular user and then manually write to the AppData path of that user, we need to find a way to launch vrpathreg as the standard user or we launch the installer non-admin by default and only elevate when needed.

@HimbeersaftLP HimbeersaftLP added the bug Something isn't working label Oct 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant