Skip to content
⌘ NSIS Forum Archive

Reg_expand_sz

3 posts

jweinraub#

Reg_expand_sz

Hello,

I need to set a reg_expand_sz value into the registry

i am setting a system wide environment varialbe under: SYSTEM\CurrentControlSet\Control\Session Manager\Environment.

how do i do this with nsis?

regards
Instructor#
WriteRegExpandStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "New" ""%WINDIR%\Fonts"