<< Click to Display Table of Contents >> RayPack > 7.3 u6 > User Guide > Advanced Topics Ignoring Certain Resources When Repackaging |
Certain folders and registries are not scanned at all to improve the performance of PackRecorder scanning engine. RayPack contains an out-of-the-box list of such places, which should never be scanned regardless of what exclusion lists are defining. Most importantly, these resources are not part of the RCP project (unlike excluded ignored resources, which - although being excluded - are still copied to the project to provide an easy way to correct mistakes at later point of time).
The ignored resource list is also a way for advanced packagers to instruct RayPack which registry keys and folders should be ignored, should the exclusion of the full node/drive be not an option. To edit these resources, use any text editor and open the RayPackIgnoredResources.rpx file from the Resources folder which is located in the main installation folder (for example C:\Program Files (x86)\RayPack Studio\RayPack\Resources\RayPackIgnoredResources.rpx). The file has a following syntax (sample):
<?xml version="1.0"?>
<IgnoredResources Version="1.0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<RegistryEntries>
<!-- Registry Hives or complete keys are supported -->
<!-- Use the short form for defining the registry hives...
HKLM, HKCU,HKCR etc... -->
<Registry><![CDATA["HKLM\COMPONENTS"]]></Registry>
<Registry><![CDATA["HKLM\Schema"]]></Registry>
...
...
...
</RegistryEntries>
<!-- Only directories are supported. Any sub-directories will also be ignored...
USE WITH CAUTION! -->
<FileSystemEntries>
<FileSystem><![CDATA["%LOCALAPPDATA%\RayPack"]]></FileSystem>
<FileSystem><![CDATA["%LOCALAPPDATA%\RayNet"]]></FileSystem>
...
...
...
</FileSystemEntries>
</IgnoredResources>
Environment variables are supported to avoid hardcoded paths.
For example, if a folder C:\Sources is known to contain a data which should never be scanned, a following entry may exclude it from scanning:
<FileSystem><![CDATA["%HOMEDRIVE%\Sources"]]></FileSystem>