below is check autoCAD whether install ET tool .
Code:
(if (or (member "acetutil.arx" (arx)) (and (findfile "acetutil.arx")(arxload "acetutil.arx")))  (progn
    (princ"test")
    )
  (Alert "Need install ET tool")

  )

How to check autoCAD whether install VBA?