Hello,
mnl file is a lisp file (https://www.google.de/search?q=autocad+lisp+mnl).
This is the content:
(if (not vlax-get-acad-object) (vl-load-com))
(defun c:myproduct_load (/ strFile strPath strRegPath)
(if (not c:myproduct)
(progn
(if (not (= (getenv "PROCESSOR_ARCHITECTURE") "x86"))
(setq strReg "SOFTWARE\\Wow6432Node\\Company\\MyProduct")
(setq strReg "SOFTWARE\\Company\\MyProduct")
); if
(if (setq strRegPath (vl-registry-read (strcat "HKEY_LOCAL_MACHINE\\" strReg) "InstDir"))
(if (= (substr strRegPath (strlen strRegPath)) "\\")
(setq strPath strRegPath)
(setq strPath (strcat strRegPath "\\"))
); if
(progn
(princ "\nEin wichtiger Registrierungsschlüssel fehlt. Bitte installieren Sie MyProduct neu!\n")
(setq strPath "C:\\Programme\\Company\\MyProduct\\")
); progn
); if
(if (setq strFile (findfile (strcat strPath "myproduct.vlx")))
(vl-load-all strFile)
(alert "\nIch kann die Datei myproduct.VLX nicht finden. Bitte installieren Sie MyProduct neu!\n")
); if
); progn
); if
(princ)
); c:myproduct_load
(c:myproduct_load)
The image shows the content of the install folder.
Regards, Fred