Just another like Steven P I have an install lisp it takes advantage of using a zip file containing all the lisps etc if they need to be saved on individual pc's, using a server is much easier.
It makes correct directory, unzips the files, adds support & trusted paths, loads menu's, saves a workspace.
I will look at adding the edit registry to add autoload paths, In my install I have a check is it Bricscad or Autocad, so the registry paths will be different but similar. Will post when I have something.
This is for Bricscad so if you check first what CAD software is running.
(if (> (vl-string-search "BricsCAD" (getvar 'acadver)) 0)
(dobricscaddefun)
(doAcaddefun)
)
Working on this still
(setq ver (vl-registry-read "HKEY_CURRENT_USER\\Software\\Bricsys\\BricsCAD" "CURVER"))
(setq val (strcat "HKEY_CURRENT_USER\\Software\\Bricsys\\BricsCAD\\" ver "\\en_US\\Profiles\\Default\\Config"))
(setq suppath (vl-registry-read val "SRCHPATH"))
; input check and or add new support path newsupath
(vl-registry-write val newsupath)
Could some please post the equivalent paths for Autocad etc.