I just finished the installation of KiCad stable (4.0.4) to two 25 seat classrooms and a 12 seat classroom
KiCad is offered as an alternative to the education edition of NI Multisim/Ultiboard that is currenty in use. Weāll see how the students pick it up.
All machines are running Windows 7 64 Bit, hereās what I did:
The cumbersome library management of KiCad does not yet allow the use of our git server for schematic and pcb libraries so I chose a path-to-files-only solution.
One machine got a full install of KiCad and the libraries then were moved to a āread onlyā network share. Using the registry editor, the environment variables were modified to point to the folders on the network share. The registry keys were also put into a .reg file for import on the other machines:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment]
"KICAD_PTEMPLATES"="P:\\CAE\\KiCad\\share\\templates"
"KISYS3DMOD"="P:\\CAE\\KiCad\\share\\packages3d"
"KISYSMOD"="P:\\CAE\\KiCad\\share\\modules"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"KICAD_PTEMPLATES"="P:\\CAE\\KiCad\\share\\templates"
"KISYS3DMOD"="P:\\CAE\\KiCad\\share\\packages3d"
"KISYSMOD"="P:\\CAE\\KiCad\\share\\modules"
Note: For purely personal preferences, I pulled the 3D models folder out from the modules folder when I moved the libraries to the network share. Iāll see how that plays out (fingers crossed).
Next, the two files āfp-lib-tableā and ākicad.proā from the folder āC:\Program Files\KiCad\share\kicad\templateā need to be modified, as these are pulled in when a user starts KiCad for the first time or when a new project is created.
In the file āfp-lib-tableā all entries
(type Github)
need to be replaced with
(type KiCad)
and the variable
${KIGITHUB}
needs to be replaced with
${KISYSMOD}
In the file ākicad.proā the following additions were made:
In sections [eeschema] and [eeschema/libraries]
LibDir=P:/CAE/KiCad/share/library
was added. I donāt know why this double definition is necessary, but without it, the library paths are not correct.
In sections [pcbnew] and [pcbnew/libraries]
LibDir=P:/CAE/KiCad/share/modules
was added. This was done ājust to be sureā although pcbnew uses the ānewā library management and reads the environment variables.
To automate the install process, the necessary files (installer, file with registry keys, fp-lib-table and kicad.pro) were put into a folder on a network share and a batch file was created that was run with administrator rights:
P:\CAE\KiCad\kicad-product-4.0.4-x86_64.exe copy /y P:\CAE\KiCad\kicad.pro "C:\Program Files\KiCad\share\kicad\template" copy /y P:\CAE\KiCad\fp-lib-table "C:\Program Files\KiCad\share\kicad\template" regedit /S P:\CAE\KiCad\KICAD_env_vars.reg
In the installation dialog of KiCad, the installation of schematic and pcb libraries was then deselected.
Fingers are crossed. As far as Iām concerned, it is duck-and-cover for now