Multiple AutoCAD versions and junctions for application plugins

The autoloader mechanism is based on putting app files in a directory. However the mechanism is changed a bit and during testing AutoCAD 2017 combined with 2014, the apps were loaded twice in 2014 because they were both installed in %ProgramData% as well as in %Program Files (x86)%. How does one solve this problem? Use one installation of your apps under %Program Files (x86)% for 2017 and then...

We used junctions, AutoCAD 2014 expects %ProgramData% so the batch file prior to running contains something like:

makejunctions2014.bat

mklink /j "C:\ProgramData\Autodesk\ApplicationPlugins\CADchUP_Forensics.bundle" "C:\Program Files (x86)\Autodesk\ApplicationPlugins\CADchUP_Forensics.bundle"
mklink /j "C:\ProgramData\Autodesk\ApplicationPlugins\CADchUP_Profile.bundle" "C:\Program Files (x86)\Autodesk\ApplicationPlugins\CADchUP_Profile.bundle"
mklink /j "C:\ProgramData\Autodesk\ApplicationPlugins\CADchUP_Standard.bundle" "C:\Program Files (x86)\Autodesk\ApplicationPlugins\CADchUP_Standard.bundle"
rem pause

After finishing CAD the junctions need to be removed:

rmjunctions.bat

rd "C:\ProgramData\Autodesk\ApplicationPlugins\CADchUP_Forensics.bundle"
rd "C:\ProgramData\Autodesk\ApplicationPlugins\CADchUP_Profile.bundle"
rd "C:\ProgramData\Autodesk\ApplicationPlugins\CADchUP_Standard.bundle"
pause

Not very gentle and running 2014 and 2017 simultaniously is not possible but it works for our testing.

This site is hosted by NedCAD.

De inhoud van deze site wordt aangeboden zoals het is, zonder enige vorm van garantie en heeft verschillende licenties. Meer informatie over licenties staat hier.