> For the complete documentation index, see [llms.txt](https://docs.enercalc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enercalc.com/sel-faq/setup-and-licensing/installation-activation-lice/automating-activation-processe.md).

# Automating Installation

How to automate unattended SEL installation across machines using SCCM, Intune, registry settings, and required redistributables.

## How can we automate the installation of SEL?

New installs run in an automated / unattended fashion via SCCM, MECM, Intune, or similar tools *require* the "usual" Winget-compatible command line parameters. We use InnoSetup, so you can check their documentation for any additional command line needs that your shop has.

If the installer returns a non-zero errorlevel (DOS/Windows environment variable), a problem occurred and this should be investigated by running the installer manually.

When performing automated / unattended installs on multiple machines, it is common to configure these machines to use the "Automatic Activation/Deactivation" option. This can be done in bulk by setting HKCU`\Software\ENERCALC\V20\License\ForceAutomatActivation`= 1.

When running the installer using the SYSTEM profile or as a domain admin or similar, staging files will be created and when our software starts for the first time, it will copy those staged files from the install folder to their proper place in \users\\\<username>`\Documents\ENERCALC Data Files\ and \users\public\documents\ENERCALC Common Data Files.`

Note that in situations where bulk installation is being performed, it is often helpful to run the process of automatically updating the Product Control Code. That process is detailed here: [Automating the Process of Updating the PCC on Multiple Installations](/sel-faq/setup-and-licensing/installation-activation-lice/automating-activation-processe-3.md)

At present, the following Microsoft redistributables are needed:

VS 2019 x86 <https://aka.ms/vs/17/release/vc_redist.x86.exe> (these 2 are "permanent" Microsoft links for the VS 2015-2022 RTL)

VS 2019 x64 <https://aka.ms/vs/17/release/vc_redist.x64.exe>

They can be downloaded from our site, or the IT admin can download them from Microsoft's site.

The InnoSetup install log is named "Setup Log\*`.txt`" and the log typically goes into the folder where %temp% resolves. On your PC, you can type this at a Command Prompt and it will tell you where %temp% is: echo %temp%.

Like this example from one of our computers - your %temp% folder will be different:

![](https://1076748670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBL2fEQRwrlKSM2irFL0%2Fuploads%2Fgit-blob-91152ec35e426810c72654306a5deded2d9e23e1%2Fclip0028.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.enercalc.com/sel-faq/setup-and-licensing/installation-activation-lice/automating-activation-processe.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
