Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create a self-installing package

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
779 Views, 2 Replies

Create a self-installing package

Hello to all,
until now I've always used ACADINST.exe to realize my self-installing setup packages for my application lisp:
http://www.afralisp.net/archive/lisp/acadinst1.htm

 

Now there AutoCAD2014 which introduced some variables that affect proper operation completely automatic: TRUSTEDPATHS and SECURELOAD.

 

How do you?
Is there a way to add search paths, modify variables, load menu, set the automatic start of a *.Lsp or *.Fas, during installation of the application, without opening AutoCAD?

 

Thanks in advance.

2 REPLIES 2
Message 2 of 3
owenwengerd
in reply to: Anonymous

In my opinion you should never add an application folder to the user's support path. Your application installer knows where the application is installed, and it can write that in your application's registry key. Your application's code can use what the installer wrote in the registry to find it's files.

 

I'm not familiar with ACADINST.exe, but the most robust way to load your application is via registry demand loading. This can also be setup by your installer, but it requires some work to enumerate all installed AutoCAD instances in the registry and setup demand load registry keys for all of them. If your application is only AutoLISP, you can use LspLoad.zip from my Freebies page.

--
Owen Wengerd
ManuSoft
Message 3 of 3
fenton.webb
in reply to: owenwengerd

As you mention SECURELOAD in this thread, I'm posting this white paper for you guys to checkout http://adndevblog.typepad.com/autocad/2013/07/all-you-need-to-know-about-autocad-secureload-au.html




Fenton Webb
AutoCAD Engineering
Autodesk

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost