Folders and files of the PROMOTIC system
Folder structure of the PROMOTIC system:
\Promotic -
Main folder of the PROMOTIC system.
\PmVXXYY -
Folder containing current PROMOTIC version (for example
Pm90028,
Pm80332,
Pm70507).
There can be multiple such folders here (i.e. multiple versions can be here simultaneously).
See
Folders and files of the PROMOTIC application.
\Bin32
PromoticRt32.exe -
Program for 32-bit
runtime of the corresponding version.
\Bin64
PromoticRt64.exe -
Program for 64-bit
runtime of the corresponding version.
\Resource
\Anim -
Files of the
gif type to be used for the
PmgAnimImage object.
\Img -
Files of the
svg / png type to be used for the
PmgRasterImage object.
\Old - Old images (bmp files) used only for old applications compatibility reasons.
\Report -
Files of the
htm type to be used for the
PmaReport object.
\Sound -
Files of the
wav type used for sound configuration. For example:
...
\GCfg -
Folder of of the PROMOTIC system configuration files (for example PmManager.ini, PromoticDt.ini, etc.). Path to this folder can be set in the
PmCfg.ini file.
\GTemp -
Folder of of the PROMOTIC system temporary files (for example PmManager.log, LicServer.log, etc.). Path to this folder can be set in the
PmCfg.ini file.
\Licences -
Folder of
SWK licence files. Path to this folder can be set in the
PmCfg.ini file.
\Tools -
Folder containing additional software utilities of the PROMOTIC system. Path to this folder can be set in the
PmCfg.ini file.
\PmHttpConfig -
Configuration of
HTTP/HTTPS Windows service. See
PmHttpConfig.exe.
\PmRtManager -
Manager of running applications. See
PmRtManager.
\PmSignal -
Component enabling event detection from another application. See
onAppSignal.
\SafeOper -
Additional tools for securing applications against unauthorized actions of the user. See
SafeOper.
\Apps -
Folder containing various PROMOTIC applications. This folder can also be placed outside
\Promotic. Path to this folder can be set in the
PmCfg.ini file.
...
PmManager.exe -
PROMOTIC system main program. See
PmManager.
PmCfg.ini -
Main configuration file of the PROMOTIC system. Contains for example settings of the paths to folders
\GCfg,
\GTemp,
\Apps,
\Tools and
\Licences.
Protection of of the PROMOTIC system folders
During the installation of the PROMOTIC system, the folders are protected as follows:
- The protection of the PROMOTIC main folder, the licence server folder (
\Promotic\LicServer), the tools folder PROMOTIC (
\Promotic\Tools) and the versions folder (Since version
Pm9.0.2) is set so only the users with administrator rights can make modifications. Based on the fact that deleting, renaming, inserting or other modifications to these folders and subfolders can be done only by administrators, these folders are protected against unauthorized access. Therefore it is not possible to replace the executable or binary files of the PROMOTIC system by other files containing malicious code.
- The protection of other foders is set to allow any logged-in user do changes.
This way all users and running programs can access:
- If the main folder of the of the PROMOTIC system is not located in the root of the drive or in the Program Files folder of the Windows OS then the protection of the parent folders of the PROMOTIC main folder is not set during the installation. Therefore it is necessary to manually set the permissions of all folders located between the root of the drive and the PROMOTIC main folder. This can be done e.g. on the "Security" tab of the folder properties in the Windows File explorer.
- The protection settings of the of the PROMOTIC system or the selected subfolder in the main folder can be changed on the "
Tools and settings >
Security" tab of the
PmManager program. If the protection of the of the PROMOTIC system is disabled then the installation of following versions of PROMOTIC will not activate the protection of the folders.
Caution:
This folder structure is valid since version
Pm9.0.0.
In versions
PROMOTIC 8 and lower the current PROMOTIC version was stored e.g. in the "
C:\Pm" folder and the applications in another folder (e.g.
C:\PmProj).
Such structure had certain disadvantages:
- It was complicated to work with multiple PROMOTIC versions. Other versions had to be located in individual folders (e.g. C:\Pm75) and the versions had to be switched by means of the PmReg.bat file.
- This caused that the PROMOTIC system including the applications were scattered into multiple folders on the disk.