<< Click to Display Table of Contents >> RayPack > 7.3 u6 > User Guide > PackRecorder > Editing the Captured Project > System Resources System Variables |
This view shows the configuration of system variables that are present in the capture project. This view allows the user to edit, include or exclude system variables. The main view consists of the actual system variables, and the secondary view to the left contains actions to be carried out on the currently selected item. Items colored in red and struck through will be excluded when the capture project is built into the target project / package types.
The items that are initially red and struck through are those that have been explicitly set to be excluded using the Exclusions Editor for this profile. The view also shows information about the items in the view, namely Name, Value and the Type of system variable, Machine or User.
Variables like %SystemRoot% and %WinDir% are just plain environment variables. The only difference is where their values come from:
•The system environment variables are predefined and determined by setup.
•The configurable system wide environment variables defined in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment registry key, are effective for any user
•The configurable user specific environment variables defined in the HKEY_CURRENT_USER\Environment registry key.
The effective process environment is a merge of these three sources.
The latter two registry keys can be edited from the Control Panel -> System applet, Environment Variables button. Beware, making the changes effective may require a log off and logon so that the process starts with a fresh copy of the environment instead of a stale one it inherits from its parent process.
This is the internal descriptor for the environment variable that is valid for all users and processes on the system (system environment variable). The information regarding system environment variables is stored in the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment.
This is the internal descriptor for the environment variable that is valid for the currently active user and any processes that he / she may start. The information regarding system environment variables is stored in the registry key HKEY_CURRENT_USER\Environment.
Although the standard exclusions in RayPack are thorough, it may be required to manually exclude changes to system variables from the resulting project / package that is to be created from the capture project, depending on your own environment. Excluding an entry is accomplished by selecting the item to be excluded, opening the context menu, and then clicking the EXCLUDE option. As an alternative, exclusion may be achieved by left-clicking an item and using the key combination Control + E.
It may also come to your attention that the INCLUDE option has become active, as the selected item is marked as excluded and can now be included. The user may also select multiple items to be excluded using the standard windows mechanism for selecting multiple items from a list.
During the capture process, if an environment variable changes on the system, the user may be required to manually include a specific environment variable change in the resulting project / package that is to be created from the capture project. Excluding an entry is accomplished by selecting the item to be excluded, opening the context menu, and then clicking the INCLUDE option. As an alternative, inclusion may be achieved by left-clicking an item and using the key combination Control + I.
It may also be realized that the EXCLUDE option has become active, as the selected item is marked as included and can now be included. The user may also select multiple items to be excluded using the standard windows mechanism for selecting multiple items from a list.
To edit the value of an environment variable, select the environment variable whose value is to be edited, click in the Value field and if required, scroll using the left and right arrow keys to the position that is to be edited. Enter / Add the information desired to be edited by clicking anywhere in the view. The changes are then visible.
To edit the Type of environment variable, just select the environment variable to be edited, and in the Type column, select between Machine and User.
Warning: Please be careful when editing environment variables, as not only the captured application may not work, but also the operating system can be detrimentally effected by changes made to environment variables. |