Text box and set value
I know how to set a value for a text box in my INI but how can you do it in your nsi script file?
[INI]
[Field 4]
type=text
Left=0
Right=-1
Top=80
Bottom=92
minlen=5
state=
[CODE]
!insertmacro MUI_INSTALLOPTIONS_READ $1 "install.ini" "Field 4" "state"
I want the value of the text box to be:
ExpandEnvStrings $1 "%USERDOMAIN%"