wpilibsuite / allwpilib

Official Repository of WPILibJ and WPILibC
https://wpilib.org/
Other
1.08k stars 611 forks source link

CTRE installer doesn't work on non-admin accounts #449

Closed PeterJohnson closed 7 years ago

PeterJohnson commented 7 years ago

When run as a non-admin user, the CTRE installer requests admin rights. However, when admin rights are granted (at the windows privilege elevation screen), the CTRE wpilib files are installed in the home folder of the admin user, not the user who ran the program, and so can't actually be found in Eclipse. It's quite difficult to work around this, particularly on school computers.

In addition to fixing this, ideally the CTRE installer would be able to be run completely non-admin if all you were installing was the wpilib bits (not the drivers or LabView bits which require admin).

@JCaporuscio @ozrien

JCaporuscio commented 7 years ago

With the CTRE Toolsuite Installer version 4.4.1.9-nonadmin, the library files should now correctly be placed in the folder of the user who ran the program instead of the administrator who granted privileges.