

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
- Go to Autodesk portal, select Custom Install and click on Create Package

- Select the Product, Version, and additional Customization. By default, those options aren’t important to distribute the application with Intune. Click Next.

- Enter the Name for the package. Select Deploy option. This will create an offline installer, which is what we need with Intune.

- The Deployment image path is where the actual download of the offline installer will happen.

- Installation path will be the install path when running the offline installer on destination devices, from Intune.

- 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.

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.

- 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.

- 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”

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
- Log in the Intune admin portal, go to Apps and select Add

- Select Windows App(Win32)

- Select the .intuneWin file created previously

- Input the details for Autodesk AutoCAD LT.

- 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.
jrng
10.18.2024 AT 09:59 PMnicecube
11.06.2024 AT 09:53 AM