---
id: "T:cAlgo.API.InstallationOperation"
kind: "class"
namespace: "cAlgo.API"
url: "https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/InstallationOperation/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# InstallationOperation (class)

Provides access to the properties describing an asynchronous algo installation operation.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public class InstallationOperation
```

Available since cAlgo.API 5.1.

## Examples

C#:

```csharp
public partial class TestExample : Robot
{
    protected override void OnStart()
    {
        var operation = AlgoRegistry.InstallAsync("path/to-algo-file.algo", result =>
        {
            if (!result.Succeeded)
                Print(result.Error);
        });

        Print($"Is Executing: {operation.IsExecuting}");
    }
}
```

Python:

```python
import clr

clr.AddReference("cAlgo.API")

# Import cAlgo API types
from cAlgo.API import *

# Import trading wrapper functions
from robot_wrapper import *

from System import Action

class Test():
    def on_start(self):
        operation = api.AlgoRegistry.InstallAsync("path/to-algo-file.algo", Action[InstallationResult](self.on_installation_operation_completed))

        print(f"Is Executing: {operation.IsExecuting}")

    def on_installation_operation_completed(self, result):
        if result.Succeeded == False:
            print(result.Error)
```

config.json:

```json
{
  "AccessRights": "None"
}
```

## Properties

- `public bool IsExecuting {get;}` — True if installation operation is being executed, false if it completed. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/InstallationOperation/IsExecuting/index.md)
- `public InstallationResult Result {get;}` — The result of installation operation. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/InstallationOperation/Result/index.md)

