Is there a way to use more descriptive names with the InstallOptions .ini file?
Rather than "Field 1", "Field 2", etc., is it possible to use "Support_X", "Support_Y", etc.?
<edit>:
The purpose is to be able to use the meaningful field name in the .nsi file .... something such as
ReadINIStr $0 "$PLUGINSDIR\test.ini" "Field Support_X" "State"
or
ReadINIStr $0 "$PLUGINSDIR\test.ini" "Support_X" "State"
rather than the cryptic
ReadINIStr $0 "$PLUGINSDIR\test.ini" "Field 2" "State"
</edit>
From the test.ini example:
Rather than "Field 1", "Field 2", etc., is it possible to use "Support_X", "Support_Y", etc.?
<edit>:
The purpose is to be able to use the meaningful field name in the .nsi file .... something such as
ReadINIStr $0 "$PLUGINSDIR\test.ini" "Field Support_X" "State"
or
ReadINIStr $0 "$PLUGINSDIR\test.ini" "Support_X" "State"
rather than the cryptic
ReadINIStr $0 "$PLUGINSDIR\test.ini" "Field 2" "State"
</edit>
From the test.ini example:
code:
[Settings]
NumFields=2
[Field 1]
Type=radiobutton
Text=Install support for X
Left=10
Right=-10
Top=17
Bottom=25
State=0
Flags=GROUP
[Field 2]
Type=radiobutton
Text=Install support for Y
Left=10
Right=-10
Top=30
Bottom=38
State=1
Flags=NOTABSTOP
Comment