kmudrovcic
2nd June 2009 14:20 UTC
Cannot change ini fileds from installation
I wanna have language specific strings in the installation. I already have .ini files, but i want to change it during the installation, depending of language chosen.
I've tried with:
!insertmacro MUI_INSTALLOPTIONS_WRITE "register.ini" "Field 1" "Text" "$(first_name)"
Also I've tried with WriteIniStr before and after:
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "register.ini"
But with no success.
What am i doing wrong?
Is there any other way to change fields in .ini files depending on the language chosen.
Thanks
Afrow UK
2nd June 2009 20:25 UTC
Using the INSTALLOPTIONS_WRITE macro is the correct way. Make sure you are using it after the ini file has been extracted though of course.
kmudrovcic
2nd June 2009 22:17 UTC
Originally posted by Afrow UK
Using the INSTALLOPTIONS_WRITE macro is the correct way. Make sure you are using it after the ini file has been extracted though of course.
Thanks, but I've already tried to use INSTALLOPTIONS_WRITE after EXTRACT and nothing has changed. Is there something more i should do?
Afrow UK
3rd June 2009 17:16 UTC
Check what's in the ini file?
Stu