A common task for Intune administrators is to create Win32 automated application installation. Some are easier than others. We recently documented the process for Adobe Photoshop and the New Microsoft Teams. Packaging Autodesk products isn’t that complex but is still worth documenting the process. In this blog post, we will detail how to create a Win32 Application to deploy Intune Autocad package.

Prerequisites for Intune Autocad package

  • Have administrator or secondary admin access to Autodesk portal
  • Products that are to be packaged must be purchased already.
  • Intune access to create Win32 Applications

Create the Autocad source from Intune

Intune Autocad package
  • Select the Product, Version, and additional Customization. By default, those options aren’t important to distribute the application with Intune. Click Next.
Intune Autocad package
  • Enter the Name for the package. Select Deploy option. This will create an offline installer, which is what we need with Intune.
Intune Autocad package
  • The Deployment image path is where the actual download of the offline installer will happen.
Intune Autocad package
  • Installation path will be the install path when running the offline installer on destination devices, from Intune.
Intune Autocad package
  • Once you hit Download, it will download a small EXE that will create all the folders and installation files.
  • Execute the AutocadLT. EXE just downloaded. This will create a local folder, specified as the Deployment path, with the complete offline installer. This will take some time to complete.
  • Once completed, the folder should have all those files.
Intune Autocad package

Edit installation batch file

  • Browse to the Temp folder where the package was created from the execution. Edit the Install Autocad LT.bat
    • 3 command lines are available, only one is enabled, as the silent and uninstall command lines are in comment.
Intune Autocad package
  • By default, the run path will be where it was downloaded. This will not work with Intune.
    • add REM to the line under the Basic UI install.
    • Remove the REM from the deployment silently.
    • Adjust the path to use the variable %~dp0 which essentially equal current path. When ran from Intune, it will find the path.

Command line should look like this: “%~dp0image\Installer.exe” -i deploy –offline_mode -q -o “%~dp0image\Collection.xml” –installer_version “2.7.0.10”. Notice that there are no \ after %~dp0, as it automatically add it.

Intune Autocad package
  • Once this is modified, we can create the Intune Win32 Application.
  • Duplicate the script, and rename to UninstallAutoCAD
  • Edit the script, to ensure the only command line is the Uninstall one.
    • add REM to the line under the deployment silently
    • Remove the REM from the Uninstall command line
    • Adjust the command line with %~dp0

Uninstall command line : “%~dp0image\Installer.exe” -i uninstall -q –manifest “%~dp0image\ACDLT_2025_en-US\setup.xml” –extension_manifest “%~dp0image\ACDLT_2025_en-US\setup_ext.xml”

Intune Autocad package

Create Autodesk AutoCAD LT Intune package source

With the folder structure and the adjusted script, we can create the source content for the Intune Win32 App.

  • To create the source file for the Intune Win32 app, use the IntuneAppUtil in a command prompt.
  • The source folder must contain files and the folder included under the build subfolder downloaded.
  • The setup file should be the Batch file name .
  • Output folder is where to save the Intune package

Create AutoCAD Intune Win32 Application

We will now head to the Intune portal and prepare the AutoCAD Intune package

  • Select Windows App(Win32)
  • Select the .intuneWin file created previously
  • Input the details for Autodesk AutoCAD LT.
Intune Autocad package
  • Review command lines for Install and Uninstall.
    • Install command line: cmd /c “Install AutoCAD.bat”
    • Uninstall command line: cmd /c “Uninstall AutoCAD.bat”
  • Select the requirements.
  • Add a Manual detection rule for MSI.
    • The MSI ID is available from the Registry under HKLM\\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
  • Another option is to check for Acadlt.exe under the installation path.
  • Once complete, the upload will take a little while. Closely monitor the status making sure it uploads successfully.

For more details about Intune’s Win32 Application, see Microsoft docs.

Results

For more details about packaging Autodesk products, see Autodesk documentation.

Comments (2)

jrng

10.18.2024 AT 09:59 PM
i tried this method to create and package in intune and deploy but it does not install everything. it only installed autocad, autodesk access, autodesk geniune service, autodesk identity manager. components such as autodesk featured apps, autodesk app manager, autodesk save to web and mobile and autocad open in desktop are not installed. however, if i manually run locally, it installed everything. do you encounter the same? thanks.

nicecube

11.06.2024 AT 09:53 AM
Thanks its working ! I got this installed 2024-11-06T09:29:37.724 [Deployment: 4532, single] Deployment started... 2024-11-06T09:30:09.333 [Deployment: 4532, single] Deployment started... 2024-11-06T09:30:20.215 [Deployment: 4532, single] Installing: ADP Desktop SDK 2024-11-06T09:30:20.217 [Deployment: 4532, single] Installing: AutoCAD LT Shared 2025 2024-11-06T09:30:20.219 [Deployment: 4532, single] Installing: AutoCAD LT 2025 2024-11-06T09:30:20.222 [Deployment: 4532, single] Installing: Autodesk Material Library Base Resolution Image Library 4 2024-11-06T09:30:20.227 [Deployment: 4532, single] Installing: AutoCAD Activity Insights 2024-11-06T09:30:20.229 [Deployment: 4532, single] Installing: Autodesk Material Library 4 2024-11-06T09:30:20.232 [Deployment: 4532, single] Installing: Autodesk Installer 2024-11-06T09:30:20.235 [Deployment: 4532, single] Installing: .NET Windows Desktop Runtime 8.0.0 (x64) 2024-11-06T09:30:20.237 [Deployment: 4532, single] Installing: Microsoft ASP.NET Core Runtime 8.0.0 (x64) 2024-11-06T09:30:20.331 [Deployment: 4532, single] Installing: Geospatial Coordinate Systems 2024-11-06T09:30:20.333 [Deployment: 4532, single] Installing: Autodesk CER Service 7.0.1 2024-11-06T09:30:20.335 [Deployment: 4532, single] Installing: Autodesk AutoCAD LT Shared 2025 - English 2024-11-06T09:30:20.337 [Deployment: 4532, single] Installing: Autodesk AutoCAD LT 2025 - English 2024-11-06T09:30:30.465 [Deployment: 4532, single] Installing: Autodesk Licensing Service - 14.4.0.11537 - Win - Update 2024-11-06T09:30:30.469 [Deployment: 4532, single] Installing: Identity Manager 1.0 1.12.0 English-US 64-bit (Windows) 2024-11-06T09:37:23.331 [Deployment: 4532, single] Installing: AutoCAD LT Private 2024-11-06T09:37:39.419 [Deployment: 4532, single] Installing: AutoCAD LT 2025 - English 2024-11-06T09:38:17.023 [Deployment: 4532, single] Installing: Autodesk Access 2024-11-06T09:38:17.023 [Deployment: 4532, single] Installing: AutoCAD Open in Desktop 2024-11-06T09:38:17.067 [Deployment: 4532, single] Installing: Autodesk Save to Web and Mobile 2024-11-06T09:39:04.360 [Deployment: 4532, single] Installing: Autodesk Genuine Service 2024-11-06T09:40:13.620 [Deployment: 4532, single] Installing: AutoCAD LT 2025.1.1 Update 64-Bit 2024-11-06T09:41:38.964 [Deployment: 4532, single] Installing: AutoCAD LT 2025 2024-11-06T09:41:38.967 [Deployment: 4532, single] Installing: Autodesk AutoCAD LT 2025 - English 2024-11-06T09:41:38.969 [Deployment: 4532, single] Installing: Autodesk AutoCAD LT Shared 2025 - English 2024-11-06T09:41:38.971 [Deployment: 4532, single] Installing: AutoCAD LT Shared 2025 2024-11-06T09:41:38.973 [Deployment: 4532, single] Installing: AutoCAD Activity Insights 2024-11-06T09:43:09.876 [Deployment: 4532, single] Deployment succeeded: Autodesk AutoCAD LT 2025 - English 2024-11-06T09:43:22.489 [Deployment: 4532, single] Deployment exits