PE Builder v3 plugin

Registry Expander


This plugin is used to Expand some registry values containing environment variables at runtime, for applications that ignore REG_EXPAND_SZ keys
You need to add needed values in these keys:
[Software.AddReg]
0x0,"Sherpya\RegExpander","HKLM"
0x0,"Sherpya\RegExpander","HKCR"
0x0,"Sherpya\RegExpander","HKCU"
An example for this:
0x7,"Sherpya\RegExpander\HKLM","Software\Sherpya\Test1","(Default)","Value1","Value2"
0x2,"Sherpya\Test1","","%SystemRoot%\System32\shell32.dll"
0x2,"Sherpya\Test1","Value1","%SystemRoot%\System32\shell32.dll"
0x2,"Sherpya\Test1","Value2","%SystemDrive%\i386"
This will expand HKEY_LOCAL_MACHINE\Sherpya\Test1 -> Value1 and Value2 contents
Note: Since REG_MULTI_SZ doesn't support null string you must use (Default) to tell regexpander the default value
Copyright (c) 2004 Gianluigi Tiesi [Sherpya]