Navigation: Part II - Enhanced Features > Executables (exe file) > Read Configuration Data |
![]() ![]() ![]() |
If the main application is an EXE file, the application should work without any modifications. Only if the EXE files writes configuration files, which should be available after the next program start, a modification could be necessary.
Test your application. If the application writes configuration files typically on the installation folder, this folder is not visible any more to the EXE file while it is running. The folder name can be retrieved reading a text or XML file.
The Multimedia Player provides a file mp-config.xml and mp-config.txt. Both files have the same content. Just read the file with the format your application can handle.
The files provide the following information.
It is an XML file.
<Install-Path-MMF> - path where the mmf file (database) can be found |
It is standard Windows INI file.
[Default] - Section Name you have to specify if you read an parameter Install-Path-MMF - path where the mmf file (database) can be found |
The variable Install-Path-Player provides you with the installation path of the application. This would be the folder where your application previously stored configuration files.
It is possible that the protected EXE file (variable Player-Name) has a different name like your original EXE file (variable StartExe.)
Use the name of the EXE file you want to protect as project filename. Then the name of the protected EXE file has the same filename like your original application.