Finding Installed Versions

Discussion in 'AutoCAD' started by mr_nick, Jun 2, 2004.

  1. mr_nick

    mr_nick Guest

    What would people recommend as the best way to detect all instances of
    AutoCAD installed on a machine?

    I have written a series of add-on utilities which we use at our company but
    we know exactly what version we are dealing with as all machines have the
    same software. Trouble is, I now have people wanting to use it on personal
    machines and outside agencies want to use it as well. As they could be
    running any incarnation and in some cases more than 1 version, I want to be
    able to pick out all instances.

    I have looked into
    HKLM/Software/Microsoft/Windows/CurrentVersion/Uninstall/<app name or GUID>
    but Autodesk seem to use GUIDs which are more than a little perplexing
    (unless someone can provide a list of all Autodesk GUIDs)
     
    mr_nick, Jun 2, 2004
    #1
  2. mr_nick

    ECCAD Guest

    Question:
    What is code-base of you application ? ..e.g. Lisp, VLisp, VBA, Object Arx..
    IF it is Lisp or Vlisp..then you can sense the version of ACAD with (setq acad_rel (substr (getvar "acadver") 1 2))..
    Then (if (= acad_rel "14"...(if (= acad_rel "15"...etc.

    If the question is for 'installation', you could search for acad.exe ... and try to determine which version from sub-dir name.

    Bob

    Bob
     
    ECCAD, Jun 2, 2004
    #2
  3. mr_nick

    mr_nick Guest

    I'm using Wise Installer to create the installation. If I search for the exe
    and there are numerous autocad installations on the same machine, I need to
    do a lot of string parsing etc to crop directory names and it also relies on
    people using the generic install directory naming which I know from
    experience some people do change.

    I was hoping there may be a reg key somewhere which lists all Autodesk
    software rather than manually checking to find the existence of a whole
    bunch of keys which may or may not be present. As I can't say for sure what
    versions of AutoCAD some people will be using, I want a foolproof method of
    detecting EVERY version of AutoCAD.
     
    mr_nick, Jun 2, 2004
    #3
  4. mr_nick

    mr_nick Guest

    I'm using Wise Installer to create the installation. If I search for the exe
    and there are numerous autocad installations on the same machine, I need to
    do a lot of string parsing etc to crop directory names and it also relies on
    people using the generic install directory naming which I know from
    experience some people do change.

    I was hoping there may be a reg key somewhere which lists all Autodesk
    software rather than manually checking to find the existence of a whole
    bunch of keys which may or may not be present. As I can't say for sure what
    versions of AutoCAD some people will be using, I want a foolproof method of
    detecting EVERY version of AutoCAD.
     
    mr_nick, Jun 2, 2004
    #4
  5. mr_nick

    jmodglin Guest

    The versions are the subfolders that exist under HKLM\\Software\\Autodesk\\.

    If you want to get more specific of any vertical applications just go one more folder deep into each version folder. Granted the folder names are not easy to read (i.e., ACAD-208:409) but with a little help from here you could probably get a list of all the VertApps that you need.

    The simplest way is to find out the current version. This is saved under:
    HKCU\\Software\\Autodesk\\AutoCAD
    Value = CurVer

    I hope this helps.

    Josh
     
    jmodglin, Jun 2, 2004
    #5
  6. mr_nick

    mr_nick Guest

    Looks like I need to get people dumping version details into this post so I
    can cover all bases. I've only got a beta copy of ABS 2005 on this machine
    and that is falling into R16.1 ACAD-306:409. I'll have a look at one of our
    ADT2004 machines and get that code but it's all the many any varied
    possibilities that I need to trace. Had a shufty on Google but not been very
    successful tracking down any kind of definitve list.
     
    mr_nick, Jun 2, 2004
    #6
  7. mr_nick

    jmodglin Guest

    ACAD-208:409 is LDT 2004
     
    jmodglin, Jun 2, 2004
    #7
  8. mr_nick

    randy benson Guest

    ACAD-308:409 is LDT2005.
     
    randy benson, Jun 3, 2004
    #8
  9. mr_nick

    Littlerubarb Guest

    ACAD-301:409 = ADT 2005
     
    Littlerubarb, Aug 10, 2004
    #9
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.