Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Automating Installation

How to automate unattended SEL installation across machines using automated install tools.

How can we automate the installation of SEL?

New installs can run in an automated / unattended fashion via Winget and similar tools. We use InnoSetup and accept their standard command line parameters 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

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)

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:

Last updated

Was this helpful?