Enable Files virtual box - an enabled Virtual Box feature for files. The Files Virtual Box allow you to embed any kind of external files that your application uses for a single executable file. After the protection, you may delete all the files listed in Virtual Box, the application will work without them. Virtual Box supports any kind of embedded files, txt, dll (dll files will be correctly processed and initializated when the application requires them, ActiveX files will be registered at the file start), avi, mp3, bpl, ocx and many others.
Warning: it is not recommended to use the Virtual Box feature for the protection of the Dynamic Link Libraries (DLL) files. Only the DLLs called once at the start of the main executable file and never freed while the application is working can be protected with Virtual Box. The DLL files called/freed multiple times per one session should not be used in Virtual Box, because it may cause application crash.
Allow loading from any folder - embedded files can be sometimes called at an additional path that might not be specified upon the protection. If you enable this option, the Enigma loader will ignore the file's path.
Delete extracted files on exit - this works only with the files that have "Always Write to Disk" or "Write if not Present" actions. When the protected module is terminated, the Enigma loader will attempt to delete the extracted files from the disk.
Compress Files - enables compression of Virtual Box files. It is not recommended to use this option because it requires more memory to execute, increases execution time and decreases the protection of the Virtual Box files. The advantage is that it allows you to decrease the size of the file protected.
Click the Add button to add the files or folders into the list. There are the following adding functions available (all functions are also available through the right-click pop-up menu):
To delete a file or a folder, select it and click the Delete button or press the Del key.
To Edit the file properties or folder name, select it and click the Edit button, or double-click the necessary item. Files Edit dialog looks like the one at the screen below and has the following options.
File Path - points to the real file that will be embedded. This file must exist. Click the Browse button to change the file.
Virtual Path - specifies the position of the file in the virtual files list. Note that a virtual path can be started from a pre-defined folder (relative path) or from a drive letter (absolute path). There are the following pre-defined folder names that can be used for a start of the Virtual Path:
Register as ActiveX (COM) component - if the option is enabled, Enigma will try to register this file as ActiveX (COM) library at the file start.
Virtualization Method - specifies how the file will be processed: it will be either extracted to the disk when the protected file starts, or fully emulated in the memory. There are the following options available :
Overwrite File Date/Time - enter the date and the time values that will be applied to the embedded file. If the option is not checked, the time settings of the real file will be used.
Overwrite File Attributes - specify the attributed file that will be applied to the protected file. If the option is not checked, attributes of the real file will be used.