Issue:
How can the deployment created online in the Autodesk Account be installed or uninstalled in silent mode?
Solution:
Note: To perform the below steps, the use of an advanced text editor is recommended, e.g., Notepad++.
Silent Install
To deploy silently, you will need to change the BAT file inside the deployment folder (If you haven't created the deployment yet, create it by following the steps in Create deployments from Autodesk Account):
- Open the folder where the deployment is stored.
- Open the Install_yourDeploymentName.bat file in a text editor.
- By default, the option "Install the deployment with basic UI" is enabled.
chcp 65001 rem ========== Install the deployment with basic UI ========== "E:\Deployments\revit2023\image\Installer.exe" -i deploy --offline_mode --ui_mode basic -o "E:\Deployments\revit2023\image\Collection.xml" --installer_version "1.39.0.174" rem ========== Install the deployment silently ========== rem "E:\Deployments\revit2023\image\Installer.exe" -i deploy --offline_mode -q -o "E:\Deployments\revit2023\image\Collection.xml" --installer_version "1.39.0.174" rem ========== Uninstall the individual product ========== rem ========== Uninstall Autodesk Revit 2023 rem "E:\Deployments\revit2023\image\Installer.exe" -i uninstall -q --manifest "E:\Deployments\revit2023\image\RVT_2023_en-US\setup.xml"
- To enable the Fully Silent install, move rem from line 7 to line 4:
chcp 65001 rem ========== Install the deployment with basic UI ========== rem "E:\Deployments\revit2023\image\Installer.exe" -i deploy --offline_mode --ui_mode basic -o "E:\Deployments\revit2023\image\Collection.xml" --installer_version "1.39.0.174" rem ========== Install the deployment silently ========== "E:\Deployments\revit2023\image\Installer.exe" -i deploy --offline_mode -q -o "E:\Deployments\revit2023\image\Collection.xml" --installer_version "1.39.0.174" rem ========== Uninstall the individual product ========== rem ========== Uninstall Autodesk Revit 2023 rem "E:\Deployments\revit2023\image\Installer.exe" -i uninstall -q --manifest "E:\Deployments\revit2023\image\RVT_2023_en-US\setup.xml"
- Save the file.
- Double-click it to launch the silent install.
Silent Uninstall
- Open the folder where the deployment is stored.
- Open the Install_yourDeploymentName.bat file in a text editor.
- By default, the option "Install the deployment with basic UI" is enabled.
- To enable the Silent Uninstall, move "rem" from line 12 to line 4.
chcp 65001 rem ========== Install the deployment with basic UI ========== rem "E:\Deployments\revit2023\image\Installer.exe" -i deploy --offline_mode --ui_mode basic -o "E:\Deployments\revit2023\image\Collection.xml" --installer_version "1.39.0.174" rem ========== Install the deployment silently ========== rem "E:\Deployments\revit2023\image\Installer.exe" -i deploy --offline_mode -q -o "E:\Deployments\revit2023\image\Collection.xml" --installer_version "1.39.0.174" rem ========== Uninstall the individual product ========== rem ========== Uninstall Autodesk Revit 2023 "E:\Deployments\revit2023\image\Installer.exe" -i uninstall -q --manifest "E:\Deployments\revit2023\image\RVT_2023_en-US\setup.xml"
Notes: In some cases, not all components that were originally included in the deployment will be uninstalled. In such a scenario, follow the instructions in the "Silent Uninstall" section in How to silent install and uninstall Autodesk install packages to uninstall any residual packages.