Deploying AutoDesk AutoCAD with Intune

AutoDesk’s AutoCAD is the next piece of software I’m deploying via Intune that was clearly never designed to be. It took a few tries, but I believe I’ve got the process down. I hope this makes your life much easier!

The directions here are for AutoCAD, but they should apply to any of the AutoDesk products (Architect, etc.).

Update: AutoDesk has changed how their packaging works for AutoDesk 2022 products. You must create a deployment from their website rather than the downloaded installer. I’ll have an updated guide for AutoCAD 2022 over the summer! https://knowledge.autodesk.com/customer-service/network-license-administration/network-deployment/creating-deployment/create-deployment

Create the Custom Installation Package

Log into the AudoDesk management site at https://manage.autodesk.com

Download the AutoCAD 2019 x64 installer.

Installer from the AutoDesk website

There’s 4 levels of installer we’ll be dealing with.
1) The installer you download AutoDesk’s website. This is just a self-extracting, compressed version of the actual installer. I’ll call this “the downloaded installer.”
2) The actual installation files that get extracted. I’ll call this “the extracted installer.”
3) The installation package you’ll create from the extracted installer. I’ll call this the “installation package.”
4) The intunewin file you’ll generate that actually gets uploaded to Intune.

Run the downloaded installer to extract the installation files.

Go to the extracted installer folder and run setup.exe .

Choose “Create Deployment.”

The AutoCAD 2019 Installer

Give your deployment a name without any spaces. This name will automatically be used to create the installation .ini file that will contain the setup information such as your serial key. You’ll need to know this name later.

You can only create a deployment to a network share. Since we’re using Intune, this isn’t relevant, so we’ll pick the hidden C: drive share to specify your local computer. Choose \\localhost\c$\users\[your username]\Desktop\autocad .

Disable the “Create a network log file” since this won’t be running off your LAN.

The AutoCAD 2019 Installation Packager Creator

Choose which components you’d like to install. If your users are not administrators on their machines, I’d recommend disabling AutoDesk Desktop since they won’t be able to use any of its functionality.

If you’re using a license key and serial, enter it.

Wait for the installation package to be created.

Package the Installer

If you haven’t already, download a copy of the Microsoft Win32 Content Prep Tool to your Downloads folder from https://github.com/Microsoft/Microsoft-Win32-Content-Prep-Tool

Open Windows Terminal or PowerShell. Change directory into the directory just above the autocad folder you create for the network installation.

For me that’s:

cd ~/Desktop

Tell the Intune prep tool to create a package from the autocad directory, use the Setup.exe located in the img folder, and save the package to your current directory:

~/Downloads/intuneapputil.exe -c .\autocad\ -s img\Setup.exe -o .

The package will be named setup.intunewin . Since that’s not very helpful, rename it to something that is.

mv setup.intunewin autocad2019.intunewin

Create & Deploy in Intune

Log in to Intune device management at: https://endpoint.microsoft.com

Choose Apps->All Apps

Click the Add Button

Choose the App Type “Windows app (Win32) then click Select at the bottom of the screen.

Choose the autocad2019.intunewin file you created.

On the Program step change the install command to:

Img\Setup.exe /W /q /I Img\[deployment name].ini /language en-us

In my case, it’s:

Img\Setup.exe /W /q /I Img\autocad2019.ini /language en-us

(you can double check the name of your ini file by looking in the autocad\img folder)

For the uninstaller, this is a bit of a kludge since it only uninstalls the main component, not the rest. For me, this is sufficient. You can customize yours by checking out all of the options in the autocad\sms_sccm scripts\[deployment name]_Uninstall.txt file.

msiexec /uninstall {28B89EEF-2001-0409-2102-CF3F3A09B77D}

Choose 64bit Windows 10 under the Requirements

Under Detection Rules choose “Manually configure detection rules”

Click + Add

Choose MSI for rule type and enter the product code for AutoCAD 2019: {28B89EEF-2001-0409-2102-CF3F3A09B77D}

No Dependencies are needed.

Finally, assign it to whatever device groups you need. Devices in those groups will automatically download and install AutoCAD 2019. Alternatively, you can assign it to user groups and those users can install AutoCAD from the Company Portal app.

That’s it; good luck!

-Adam

13 thoughts on “Deploying AutoDesk AutoCAD with Intune”

  1. HI, when I enter the install command to: Img\Setup.exe /W /q /I Img\autocad.ini /language en-us and deploy the package in Intune, I receive an error code 0x80070002 when installing the software.. Looking it up the error it tells me I have a bad command. I double checked the .ini and it is autocad.ini. Has anyone else had this issue?

  2. Pete,
    Sorry for the delay in getting back to you. Usually I’ll get that if I have a typo or my paths are wrong. Have you tried running the command on a test machine?
    Thanks,
    Adam

    1. Johan,
      It looks like with AutoDesk 2022 they’ve moved the package builder into their website instead of the installer: https://knowledge.autodesk.com/customer-service/network-license-administration/network-deployment/creating-deployment/create-deployment#Account

      The steps should be similar but I’ll post a new guide when I package up AutoDesk 2022 (probably this summer).

      Let me know if it gives you any trouble, I’d love to know what I’m in for.

      Thanks,
      -Adam

  3. Adam.
    I already looked into that but my custom install page is still empty and refers to the Create Deployment in the installer, which is no longer in there.
    2022 is still very new, might have to wait a bit longer.
    Keep you posted.

    Thanks
    Johan

    1. Johan,
      I just tried and I’m seeing exactly what you’re seeing. (Screenshot attached for others)
      autodesk online custom unavailable
      It seems that for now you can only do custom deployments for AutoCAD 2019 until they finish their custom deployments website.
      Let me know if you have any trouble with depoloying 2019.
      Thanks,
      -Adam

  4. Hi Adam, we are tying to use also Intune for the Autocad 2021 deployment.
    But for us this isnt running. Idont know anymore what else we could try.

    When we run the installation out of the company portal, the installation is running for hours.
    Till Intune give back an failed installation, but we cant see any error message or .log files.
    Hour deployment is running fine whe we start it with powershell manualy, just when we create the intune file its not working.

    We even gave the user admin rights to be able to see any error messages, in that case Autocad give us an error and say Acadmui.dll couldnt be find. But the dll is included in the \temp folder Intune is downloading. When we have a look into the Taskmanager we see 2 setup.exe running. This makes us thinking a bit. Why there are 2 setup.exe of Autocad?

    Iknow thats not much info but maybe you could help us out, the Autodesk helpline just answered with Intune is not supported.

    Many thanks

    ….

  5. Nice Guide! Wish I had found this back in Aug when I basically learned the same thing for ACAD 2021.

    You might want to note that this won’t work for larger apps like Inventor & Revit. win32app/intunewin only supports 8 GB

    I’m looking forward to them hopefully improving things for 2022

  6. Hei,
    i have tested 2022 Revit/Autocad installations and can help you create guides for others who have issues with new Autodesk Deployment tool.
    Ping me if you want to hear more 😉

    1. Varis, thanks for the offer! Sorry for the delay in my response, it’s been crazy over here. If you have screenshots and details I’d be happy to post them here with credit to you!
      Thanks,
      -Adam

    2. Hello Varis,

      Do you have a guide on how to update Revit or AutoCAD with the latest updates using Intune to deploy the updates?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.