---
title: "Silent Install and Uninstall"
canonical: "https://documentation.chaos.com/space/CRMAX/387678227/Silent%20Install%20and%20Uninstall"
format: markdown
---
This page provides information on setting up Corona through a silent install and removing Corona through a silent uninstall.


## **Overview **

---

A silent install allows you to complete the Corona installation without user input during the process using a predefined set of options. To set up a silent install, you need to run the installer with the `-auto` argument. Optionally, you can also use other arguments and create an .xml configuration file that stores the installation parameters. 

You can remove Corona from your machine similarly through a silent uninstall.

> ⚠️ By using the Chaos installer for automatic install with the -auto argument, you accept the [Chaos End User License Agreement](https://www.chaos.com/terms) and the [Chaos Global Consumer Privacy Policy](https://www.chaos.com/privacy).


## **Installer Arguments**

---

You can run the installation file from the command prompt with the following arguments:

| Parameter | Description |
| --- | --- |
| -help | Prints available arguments for the installer executable. |
| -help=2 | Displays advanced help. |
| -unpackInstall=<directory_path> | Unpacks the installation into the specified directory. |
| -configFile | Specifies the path to an installation configuration file. |
| -gui=0/1 | Specifies whether to use the Graphical User Interface or the command-line one. (default: 1) |
| -debug=<level> | Specifies the debug logging level used by the installer. (default: 0; assumes the value of 1 if the argument is provided with no value) |
| -auto | Enables automatic installation and forces -quiet. |
| -quiet=0/1 | Specifies whether the automatic installation prints the output to the console. Defaults to 1.<br>0 – Installation prints all of its output to the console.<br>1 – Installation suppresses the console output. |
| -backup=0/1 | Specifies whether the installer should perform a backup. (default: 1) |
| -bin=<filename> | Specifies the path to the binary image containing compressed installation data to be used for the current installation run. |
| -binaryOffset=<offset> | Offset in bytes of the binary image - to be used with packed installation executables. |
| -fileTree=<directory_path> | Directory containing all installation files with relative paths corresponding to the ones in the installation XML to be used for the current installation run. |
| -log=<filename> or -uninstall=<filename> | The filename of an install log to be used for performing the uninstallation. No uninstallApp required. |
| -uninstallApp=<name_of_application> | The name of the application to be uninstalled by the installer. |
| -ignoreErrors=0/1 | The installation process ignores errors during the installation and behaves as if the process completed successfully. |


## **Silent Install **

---

1. Open Command Prompt (CMD)
2. Navigate to the folder containing the installer:

```
cd "C:\Downloads\Corona"
```


Run the silent install command:

```
.\chaos-corona-installer.exe -auto
```


## **Silent Uninstall **

---

1. Open Command Prompt (CMD)
2. Navigate to the uninstaller directory:

```
cd "C:\Program Files\Chaos\Corona\Corona Renderer for 3ds Max\uninstall"
```


Run the silent uninstall command:

```
.\installer.exe -uninstallApp="Chaos Corona for 3ds Max" -log="install.log" -gui=0
```


### **Uninstaller Arguments**

| Parameter | Description |
| --- | --- |
| -uninstallApp="Chaos Corona for 3ds Max" | Runs the uninstallation for the specified application. |
| -log="<path>" | Specifies the path for writing the uninstall log file. |
| -gui=0 | Runs the uninstaller without a GUI (silent mode). |


## **XML Configuration File**

---

The **config.xml** file configures the automated install. 

### **Common XML Configuration File Variables**

> 📝 For the full list of variables and how to use them, create the **config.xml **file by running the installer with the `-auto` parameter. The config file will be created in the same folder where the installer is located. You can then open the config file in a text editor to view or modify its contents.

| Value | Description |
| --- | --- |
| COMPONENT_20XX | Whether or not to install Corona for 3ds Max 20XX. |
| COMPONENT_CIE | Whether or not to install the Corona Image Editor. |
| COMPONENT_NVIDIA_DENOISER | Whether or not to install the NVIDIA AI denoiser. |
| COMPONENT_COSMOS | Whether or not to install Chaos Cosmos. |
| COMPONENT_STANDALONE | Whether or not to install Corona Standalone. |
| COMPONENT_DRSERVER | Whether or not to install the Corona Distributed Rendering Server. |
| MAX_20XX_ROOT | The installation path of 3ds Max 20XX. By default `C:\Program Files\Autodesk\3ds Max 20XX\` |
| CORONA_20XX_ROOT | The installation path of Corona for 3ds Max 20XX. By default `C:\Program Files\Chaos\Corona\Corona Renderer for 3ds Max\2018` |
| UNPACK_ROOT | The path used by the unpack mode of the installer. |

> ℹ️ Console mode may not work as expected when run directly from the Windows command line console. In such a case, the console will not wait for the installer to finish and will display a new prompt. It will also capture and accept user input while the installer is running and printing into the console.   
> ℹ️ **Solution: **The issue will not appear when using a .bat file or any other script, which is the intended use case. In this case, the script correctly waits for the installer to finish before proceeding.