Take into account the following features on autoupdate:
To update, the update source must contain:
MSI files. Update files. The set of files differs for different software packages (FP9Full, FP9Standard).
Version.xml. The file that contains the number of Foresight Analytics Platform version.
Directories with MST files. These files contain translations required for correct representation of the installer and text labels created during the update. The set of files differs for different software packages kits.
Cfg.exe. This file is optional and is used to ensure that this cfg.exe is used during the update but not the file installed in the system.
Help System MSI Installer.
FP9Help_RU.msi. Help system in Russian.
FP9Help_EN.msi. Help system in English.
Cfgconfig.xml. This file is optional. It is used to manage update using an additional set of commands:
On updating within the same release, value of the Check Control Sums Every Time Platform Runs option specified at the first installation of this release. On updating between releases, the integrity check option is not inherited. To change the option status, use the CheckControlSums attribute in the cfgconfig.xml file during the update.
If on updating within the same release the update source contains installers of previously installed help systems, the help is also updated. To view the information about installed help systems, open Control Panel > Add or Remove Programs.
In the registry after the update in the branch:
In 32-bit Windows: [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Foresight\Foresight Analytics Platform\9.0\AutoUpdate\Profiles\9.2].
In 64-bit Windows: [HKEY_CURRENT_USER\SOFTWARE\Foresight\Foresight Analytics Platform\9.0\AutoUpdate\Profiles\9.2].
the keys are created:
CurrentVersion = 9.2.25098 - version of Foresight Analytics Platform.
InstallDir = C:\Program Files\Foresight\ - folder with installed Foresight Analytics Platform.
Package = FP9Full.msi - package of installed Foresight Analytics Platform. For further updates the source requires the specified package.
Dest = C:\Program Files\Foresight\Foresight Analytics Platform 9.2\Studio.exe - name of executable file on starting cfg.exe (PP.exe for Standard, Studio.exe for Full).
Additional commands to manage the update are set up using the cfgconfig.xml file. To execute the set of commands, place the file to the update source. Available operations:
Setting values of system environment variables and user environment variables. This may be required to set the name of the license server (system environment variable LSFORCEHOST). To do this, in the cfgconfig.xml file create the <Var> chapter.
NOTE. All the system environment variables are added to the custom environment variables.
Installing MSI file and getting log file. To do this, in the cfgconfig.xml file create the <Log> chapter.
Copying files using the specific path to use the #INSTALLDIR# substitution that returns a path with installed Foresight Analytics Platform. The example of cfgconfig.xml file structure is given in description of the <File> chapter.
Canceling deletion of previous versions or setting up deletion parameters for a specific release or help system. To do this, specify the appropriate settings using cfgconfig.xml.
Specifying file installation settings, according to the platform and operating system, or depending on availability of the key and its value in the registry. To do this, use the <FileCondition>, <OsCondition>, and <RegistryCondition> elements in cfgconfig.xml.
See also:
Structure of cfgconfig.xml | Updating Foresight Analytics Platform