I’m deploying AutoCAD 2025 using PSADT. When I test the script manually using Deploy-Application.exe, everything works perfectly. However, when I deploy it through Intune, the installation fails on the first attempt every time. If I retry the installation a second time, it always succeeds. I’m using the Company Portal for testing.
Has anyone else experienced similar behavior? I’ve successfully deployed multiple other applications using PSADT and Intune without issues; it’s only this package that consistently fails on the first try. The package size is around 10GB, so it should be well within Intune’s 30GB limit.
Any insights would be greatly appreciated. Thanks in advance!
Maybe it’s a timeout issue, it’s a big package and could take time to download & install within the default time limit (at least the first time). Since you say it’s always successful the 2nd time you might get some caching benefits from DO that helps downloading and installing it within the time limit the 2nd time.
Thank you for the previous suggestions. I’m in the process of testing them right now. In the meantime, I’ve made some adjustments to my package:
Package Size Reduction: Initially, I included both English and French language packs, which increased the package size to over 4GB. I’ve since trimmed it down by including only the English language pack, bringing the total size below 4GB.
Different Deployment Methods Attempted:
First, I used a deployment package containing a .bat file for installation.
I also tried an approach I found on Silent Install HQ (link here), which included specific steps for a silent installation of AutoCAD.
Additionally, I reviewed guidance from System Center Dudes for deploying Autodesk packages via Intune (link here).
Error Code: Despite these attempts, I consistently encounter an error code 1 across different computers. I’ve verified the package, and the environment seems consistent, so I’m not sure why this error keeps recurring.
Further Testing Plans: I plan to increase the timeout to 120 minutes to see if that helps, given the package size and complexity. I’ll report back on the outcome of this adjustment.
Any insights into resolving error code 1 with PSADT for this type of package would be greatly appreciated. Thank you again for the support!
Hi Marc-Andre,
sorry that you must install a Autodesk Product (esp. AutoCAD ).
We use Empirum Software Deployment together with PSADT for better scripting experience.
I saw that Code 1 error mainly if there was an existing previous installation of AutoCAD - e.g. doing the installation a 2nd time. But not consistently. So I prefer a good uninstall of all previous AutoCAD installations prior to install the new Version.
2 hints for PSADT scripting Autodesk Products: