Archive: InstallOptions and Ini Files


InstallOptions and Ini Files
Hello guys,

I have a little question regarding InstallOptions.dll and Ini files. I'm using an ini file to display a custom installation page. I have a field 1 meant to display a groupbox. It looks like this :

[Field 1]
Type=groupbox
Text=Select a configuration
Left=0
Right=-1
Top=0
Bottom=-1

I have a localized global variable declared in my nsi script file :
LangString IO_FIELD_01_TEXT ${LANG_ENGLISH} "Select a configuration"

I would like to know if it's possible to reference it directly in the ini file. In final, it would give something like this :

[Field 1]
...
Text="$(IO_FIELD_01_TEXT)"
...

Is there a way to do this ?

Thanks a lot.


you can write the string to the ini before you display the page(after you have extracted the ini ofcourse) using the normal nsis ini functions


I'll try this. Thanks a lot Anders !


please give me an example about .Thanks


thanks find.discover