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
Labels
bug
Something isn't working
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 theopenvrpaths.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.The text was updated successfully, but these errors were encountered: