I am a teacher engineering sciences.
I have installed Arduino software on 12 computers.
Basic options are working, but libraries are not available to students that connect with theyr specific accounts.
Each PC can be used by several students.
2 connection modes can be used :
a local session using an account called "student" - all students can use the same account (no password); rights are reduced.
a session on a server (disk k/); each student has his own session/account (the name is different for each student), has limited storage volume; these students can find the same desk whatever the computer they use to connect to theyr account.
To install Arduino software on the 12 PCs, I connected myself on each PC using an "administrator" account.
I did 2 things :
run "arduino-1.6.4windows.exe" (installation on "Program files(x86)"
put some specific libraries and tools in a specific directory :
"Users/Administrator/Documents/Arduino" ==> libraries, tools (Ardublock) ...
The problem is : when students open Arduino (clic on Arduino.exe), they do have the Arduino application, but they cannot access to the libraries and to the tools (like Ardubock) that I put in a specific directory.
My questions are :
1/ where (which directory) should I put the Arduino directorey (w/ sub-directories called "libraries", "Tools", Sketch) and permit students to access it (not only administrator...).
2/ Should I modify preferences to help Arduino software to find the way to access additional libraries?
"You can either grant them access from that directory" :
=> where can "hard code" the link to that directory, in order for the students to not rewrite it each time they open Arduino software?
"move the libraries to the install/libraries folder"
=> what is this "install/libraries folder"?
if the name is : "Users/#userid# /Documents/Arduino"
then, I have a problem because : each student is supposed to connect using his own userid.
APil:
"You can either grant them access from that directory" :
=> where can "hard code" the link to that directory, in order for the students to not rewrite it each time they open Arduino software?
"move the libraries to the install/libraries folder"
=> what is this "install/libraries folder"?
if the name is : "Users/#userid# /Documents/Arduino"
then, I have a problem because : each student is supposed to connect using his own userid.
Tks for your help, APil
install/libraries - in other words, the library in whatever location you have installed Arduino to, for example, C:/Program Files/Arduino/libraries
You can put libraries there, and they will be available to all users on the system .
Libraries installed through library manager go into app data (eg, C:\Users(username)\AppData\Local\Arduino15) ) - this is a location where the user can write to without special privileges, that way the students could install libraries without admin help.
DrAzzy:
Libraries installed through library manager go into app data (eg, C:\Users(username)\AppData\Local\Arduino15) ) - this is a location where the user can write to without special privileges, that way the students could install libraries without admin help.
You're thinking of Boards Manager, Library Manager installs to the libraries folder inside of the sketchbook.
Thank you all, and specialy DcAzzy.
I understand now that I can add libraries and tools directly in C:/Program Files/Arduino - this way, any student connecting with his own account will have access to them.
That was quite simple... but not for me...
Still 1 question : how could I build my own "exe file" that would include my specific additional files to the standard package contained in « arduino-1.6.7-windows.exe » ?
APil:
Still 1 question : how could I build my own "exe file" that would include my specific additional files to the standard package contained in « arduino-1.6.7-windows.exe » ?