REG_DWORD: A 32bit unsigned integer (little-endian) The Path environment variable defined in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment is a good example of a REG_EXPAND_SZ value. For example if the data stored is %TEMP%\myFolder, it will be automatically expanded to C:\Users\user\AppData\Local\Temp\myFolder when accessed while a regular REG_SZ value would have been resolved to just %TEMP%\myFolder. REG_EXPAND_SZ: This value is also intended to hold string values but in addition allows them to contain environment variables, which will be expanded when reading the data. REG_SZ: Used for string values, for example paths. REG_NONE: Data without type defined, treated as binary information. HKEY_CURRENT_CONFIG: Contains information about the hardware profile used by the computer at boot time. If a value is defined in both, the one in HKCU\Software\Classes is used so per-user configuration always takes precedence. From Windows 2000, this key is a mix of the values in HKCU\Software\Classes and HKLM\Software\Classes. HKEY_CLASSES_ROOT (HKCR): Contains information about registered applications such as file associations. The same information is stored in both keys and writing in one of them automatically updates the other. It is not a real key but a link to the appropriate subkey inside HKEY_USERS. HKEY_CURRENT_USER (HKCU): This key contains information about the current logged-in user. HKEY_USERS (HKU): Contains all the user profiles configuration in the system. This makes the detection of existing installations of your product a trivial task using InstallBuilder registry actions. This subkey is especially useful to store per-application information such as the version installed and the installation directory. One of its subkeys, HKLM\SOFTWARE, contains information about the software in the machine organized by vendor (including Microsoft, for Windows itself). HKEY_LOCAL_MACHINE (HKLM): This key contains information about the configuration of the system that is common for all users.
0 Comments
Leave a Reply. |