Navigation:  ENERCALC SEL > Installation, Activation, Updating & Syncing >

Automating the Process of Updating Multiple Installations using SYSTEM

Previous pageReturn to chapter overviewNext page

Our update installer is now capable of running as SYSTEM.

 

When running as SYSTEM, the installer has no access to the Windows user profile for the actual user and thus, no access to that user's HKCU registry tree. This means that the installer must be explicitly told where the software is installed and where the shared ENERCALC data folder is.

 
To do this, we use system environment variables. We felt this was easier to deal with than an ini file or command line variables that might vary by machine. You can set system environment variables on the user's computer and they will only be pertinent for that computer. Unless the user changes their shared ENERCALC data folder, setting these variables is a one and done process.

 

Required SYSTEM ENVIRONMENT VARIABLES are:

 

CMDLINE_INSTALLFOLDER should be set to the ENERCALC install folder on the computer - usually this is C:\program files (x86)\ENERCALC_20

 

CMDLINE_DATABASEINSTALLFOLDER should be set to the ENERCALC shared data folder on the computer - usually this is C:\users\public\documents\ENERCALC Common Data Files

 

CMDLINE_ENERCALC_INSTALLFOLDER_X64 should be set to the ENERCALC 3D install folder on the computer - usually this is C:\Program Files\ENERCALC_SEL_3D

 

If you don't setup the environment variables on a computer, this message will be displayed and the install will exit without updating that computer:

 

clip0027