Bootstrap AutoCAD Deployments for Customizations (6)

CAD Management

By R. Robert Bell

That was quite the post last week, I know (Bootstrap AutoCAD Deployments for Customizations Part 5). Now I can take it down a notch or two (grin). I’ll show you how to skip the bootstrap process, and how to give IT what it needs to set up the deployment.

When and how to prevent the bootstrap from executing

Wondering if you have to run the bootstrap whenever you launch AutoCAD® software? Answer: Not if you start AutoCAD with the correct profile.

Skipping the bootstrap is easy:

  1. Place your network customization folders in first position in the AutoCAD search path
  2. Put your real* autocad.lsp file inside
  3. Done

* Note: Your “real” acad.lsp file has code to load .net files and configure AutoCAD in specific ways. It is not the acad.lsp that starts the bootstrap process.

The reason this simple process works? AutoCAD executes only the first acad.lsp file it finds. It first searches the open drawing’s location, and then the Support file search path in the order shown in the Options dialog.

Just place your network location before %ProgramFiles%AutodeskAutoCAD 2016Support and your real acad.lsp file will be executed by your desired profile, skipping the bootstrap.

To illustrate: Last week I put the network code in the p:autocadcode folder, and placed it first in the search path. Then I put my real acad.lsp file in that folder. See Figure 1.

Location of the "real" acad.lsp file. Bootstrapping Your AutoCAD Deployments for Customizations Part 6.

Figure 1: Location of the “real” acad.lsp file.

The IT department modifies the deployment

Remember I told you IT needs to modify only one thing when creating the deployment? Here it comes!

  1. Give IT the bootstrap autocad.lsp file to add to the deployment.

Steps 2 – 7 are for IT.

  1. Run the deployment wizard and click the drop-down button to open and configure the AutoCAD deployment. See Figure 2.
The AutoCAD deployment wizard. Bootstrapping Your AutoCAD Deployments for Customizations Part 6

Figure 2: The AutoCAD deployment wizard. Configure with autocad.lsp.

  1. Scroll to the Additional Files section.
  2. Select the Support folder (it’s there by default) and click the Browse… button.
  3. Add the bootstrap autocad.lsp to the folder. See Figure 3.
Where to add the bootstrap version of autocad.lsp. Bootstrapping Your AutoCAD Deployments for Customizations Part 6.

Figure 3: Add the bootstrap version of autocad.lsp.

  1. Close the Configuration section.
  2. Proceed with the deployment.

That’s all IT needs to do to create a deployment package that lets you control your customizations. That wasn’t so bad, was it?

Wait! We’re not done! Almost! But not quite!

Because we’ve been having such a good time, I’ve decided to append two additional posts concerning AutoCAD-based products, such as AutoCAD Civil 3D and AutoCAD MEP. Many of these products include a Content Browser feature, which is where you’ll support custom catalogs. Intrigued?

Up next: Bootstrap AutoCAD Deployments for Customizations Part 7

See you next week for Bootstrap AutoCAD Deployments for Customizations Part 7!

Here’re all the previous installments:

Bootstrap AutoCAD Deployments for Customizations Part 1

Bootstrap AutoCAD Deployments for Customizations Part 2

Bootstrap AutoCAD Deployments for Customizations Part 3

Bootstrap AutoCAD Deployments for Customizations Part 4

Bootstrap AutoCAD Deployments for Customizations Part 5

Try AutoCAD free for 30 days

Related Articles

Comments Closed

2 comments

  1. shawn@initialaec.com

    Hi Robert, I'm trying to use your bootstrap method of creating a Civil 3D deployment and I have a question or two. First, I'm not at all clear on where the customized acad.lsp (the one that starts the bootstrap process) is supposed to live, and therefore how it gets triggered. I'm having trouble making it working. Are you available for a call?

    1. Avatar
      R. Robert Bell

      The location for the acad.lsp that starts the process would be in application's support folder. For example, for the default install for AutoCAD 2018 this location would be: C:\Program Files\Autodesk\AutoCAD 2018\Support. And yes, you can call me with further questions.

The AutoCAD Blog is all about helping you get the most out of AutoCAD. It's also the best way for you to connect with the makers of AutoCAD.

Subscribe to keep up with AutoCAD