AddReg
AddReg is a section in Windows INF files used by the Windows setup and driver installation framework to create or modify registry entries during installation. It enables an installer to provision configuration data and component registration that applications rely on after setup.
Structure: Each entry in an [AddReg] section specifies a registry hive/root (for example, HKLM, HKCU, or HKCR),
Scope: Values written under HKLM affect all users on the machine, while HKCU writes per-user settings. The
Uninstallation: To remove registry entries added by AddReg, installers commonly provide a DelReg section that mirrors
Usage notes: AddReg is part of INF-based installers (such as those used by legacy setup programs and
See also: INF file structure, DelReg, DefaultInstall, AddSection.