I came up with another solution.
The thing is, that my setup supports multi-language.
Therefore I had som files inside one directory like this:
MyInifile_en-GB.ini
MyInifile_en-US.ini
Myinifile_nl-NL.ini
Myinifile_fr-BE.ini
Myinifile_fr-FR.ini
now i've made a culture directory, contining the "renamed" files like so:
Root\Culture\en-GB\MyInifile.ini
Root\Culture\en-US\MyInifile.ini
Root\Culture\nl-NL\MyInifile.ini
Root\Culture\fr-FR\MyInifile.ini
Root\Culture\fr-FR\MyInifile.ini
Now, i check wich culture is chosen, ant then installs the file inside the correct culture directory.
Unfortuanally it is not possible to use variables insite the INSTALL FILE function, so i've made for each culture a install file command.
Code: Select all
if $CULTURE$ = en-GB
install file Root\Culture\en-GB\MyInifile.ini
end
if $CULTURE$ = en-US
install file Root\Culture\en-US\MyInifile.ini
end
if $CULTURE$ = nl-NL
install file Root\Culture\nl-NL\MyInifile.ini
end
.. and so on ..
Isn't there a more clever way to do this ?