Using Advanced Installer 11.3, I am building a single exe installer that supports multiple languages. I would like to persist the installation language into a setting that my application will use to perform runtime localization.
My localized application contains a folder for each language, where the satellite assemblies are stored. In the subfolders, I have a configuration file, which has a parameter (amongst others) that specifies the language.
i.e.
[APPDIR]\de
[APPDIR]\en
[APPDIR]\es
[APPDIR]\fr
[APPDIR]\it
[APPDIR]\ja
I would like to copy the configuration file into the root directory at some point in the installation after the language has been selected.
I have tried to perform a File Operation > File Copy/Move based on the installation condition, but that didn't work because the files all contained the same name. The File Copy/Move was also failing to actually copy the file. It's possible that I did not enter the correct parameters in the dialog. Is the Name field (under Source File or Destination File group box) supposed to be a Property? I would have thought that you would allow directly selecting the source file, but there is only a folder selector, and not a file selector. Makes me think I was doing something wrong.
I've also looked into Custom Actions but I couldn't find one that allowed conditionally copying files (post installation).
Help would be appreciated. Thanks in advanced.