Hi,
I need to make installers which include several languages, manually selectable.
This can be done by using the "Display language selection dialog (for multi-language packages)" option in the
Bootstrapper tab of the "Media" page. Note that this option affects only the installation package (the files in it are not affected).
It should be possible to select only one "set" of language dependent files at the same time.
We have on our TODO list an improvement which will address this scenario and it will be available in a future version.
When I try to add the files in the "Files and folders" section, it detects the files with the same name and refuses to add them, despite the fact that I assigned them to a different feature.
Advanced Installer does not support duplicate files in the same folder. Therefore, you can try this approach:
- in "Application Folder" add the files and folders of your default language
- under "Application Folder" create a subfolder for another language
- use the "Feature" combo on the toolbar to select the feature which corresponds to that language
- in the sub-folder add the files and folders of the other language, just like you would have added them in "Application Folder"
- double-click this subfolder
- in the
Properties tab of the "Edit Folder" dialog check the "Install folder content into the parent folder" option
With this approach you should obtain multiple features (one for each language) which contain the files for each language. Since the features are mutually exclusive, only the files in one feature will be installed. Also, the "Install folder content into the parent folder" option will make the files and folders in the language subfolder install in "Application Folder".
DO you maybe have an example project for this?
Unfortunately we don't have a sample project for this. However, if you need one we will try to provide it.
Regards,
Cosmin