On updating by means of the cfg.exe file, please be aware of certain special features:
To update, the update source must contain:
MSI files. Update files. The set of files differs for different distribution kits (PP9Full, PP9Standard).
Version.xml. The file with Prognoz Platform 9 version number.
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 distribution 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.
MSI help system installer:
PP9Help_RU.msi. Help system in Russian.
PP9Help_EN.msi. Help system in English.
On updating within the same release, value of the Check Control Sums Every Time Prognoz Platform 9 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 OS: [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Foresight\Prognoz Platform\9.0\AutoUpdate\Profiles\9.0].
In 64-bit Windows OS: [HKEY_CURRENT_USER\SOFTWARE\Foresight\Prognoz Platform\9.0\AutoUpdate\Profiles\9.0].
the keys are created:
"CurrentVersion" = "9.0.25098" - Prognoz Platform 9 version.
"InstallDir" = "C:\Program Files\Foresight\" - folder where Prognoz Platform 9 is installed.
"Package" = "PP9Full.msi" - Prognoz Platform 9 distribution kit. For further updates the source requires the specified package.
"Dest" = "C:\Program Files\Foresight\Prognoz Platform 9\Studio.exe" - name of the executable file on starting cfg.exe (PP.exe for Standard, Studio.exe for Full).
The following operations can be executed on update:
The cfgconfig.xml file used to execute a set of commands before or after starting the installation wizard can be added to the update source. The update source is the folder that is specified in Prognoz Platform 9 autoupdate settings.
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, create the <Var> chapter in the cfgconfig.xml file.
NOTE. All the system environment variables are added to the custom environment variables.
Installing MSI file and getting log file. To do this, create the <Log> chapter in the cfgconfig.xml file.
Copying of files using the specific path to use the #INSTALLDIR# substitution that returns a path to the folder with installed Prognoz Platform 9. 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: