I'm trying to inject a key into the Windows XP's registry using nLite. I want it injected before the second stage setup (before it enters the graphical setup). I tried using addons but I discovered that it injects after the installation is complete (right before it loads into the desktop). Is there any way to manipulate the setup files so I can inject that way my registry?
EDIT: This is the addon .inf file:
[General]
builddate=01/16/2022
descripton=Adds required registry for minlogon to work out of the box
language=English
title=Minlogon Registry Hack
version=1.0
website=
forcelang=English
[registry_addreg]
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","Config",0x4,0x17