In environments where Autodesk Desktop Application is not supported, it can be removed from the deployment image by modifying the app.RVT.xml and deleting the installation files from the deployment image.
Example:
Revit deployment image named Revit2021-custom has been downloaded and I want to remove Autodesk Desktop Application from the deployment image.
Stop Autodesk Desktop Application from installing with Revit.
Browse to image\{GUID}\manifest folder within the Revit2022-custom deployment image location.
Edit app.RVT.xml
Delete line:
<Package installAs="essential" name="Autodesk Desktop App" path="x86/ADSKAPP/pkg.adskapp.xml" upi2="{A2CF6124-4663-4AC9-8120-1672DCD2DAEF}" upgradeCode="{020B6DCC-9D1D-39FA-9EC0-41FB6F163F39}"/>
Save and close app.RVT.xml
WARNING: Modifying the installer xml files may cause the deployment installation to fail.
WARNING: Removing files or folders referenced within installer xml files may cause the installation to fail.
WARNING: Removing core components from app.RVT.xml may result in functionality errors within Revit.