Language selection dialog only shows when debugging
Posted: Mon Sep 26, 2011 6:41 am
In IA 12 (Moooya.8.4.11) I have a setup project with two languages, I have translated the files and the shared strings etc. and I have imported the strings back into the project.
When I run the installation program using the Debug button in IA Studio, the first thing that pops up is the language selection dialog with the two possible languages.
But when I run the installer from Windows Explorer, the language selector does not show. - Instead the "preparing installer" window is shown in my local language, and then the "Welcome page" is shown in English, and the rest of the installation process is also in English.
One thing to note is that the installation project "Product Name" is defined by a compiler variable as #PRODUCTNAME#, and is not a constant string. The compiler variable is set in the Project Options "Compiler Variables" page, and is meant to be set by a build script later on. (The reason for this is that the software is resold by partners who want to have different product names).
So the mtx file with the translation information is called #PRODUCTNAME#.mtx", and the supportfile that was added to the project is "#PRODUCTNAME#.mtx".
Installer logging did not point me in the right direction to figure out why the language selector is not shown - I can just see that it is selecting my local language code. Furthermore the LANGUAGE variable is not set.
Any help is greatly appreciated.
When I run the installation program using the Debug button in IA Studio, the first thing that pops up is the language selection dialog with the two possible languages.
But when I run the installer from Windows Explorer, the language selector does not show. - Instead the "preparing installer" window is shown in my local language, and then the "Welcome page" is shown in English, and the rest of the installation process is also in English.
One thing to note is that the installation project "Product Name" is defined by a compiler variable as #PRODUCTNAME#, and is not a constant string. The compiler variable is set in the Project Options "Compiler Variables" page, and is meant to be set by a build script later on. (The reason for this is that the software is resold by partners who want to have different product names).
So the mtx file with the translation information is called #PRODUCTNAME#.mtx", and the supportfile that was added to the project is "#PRODUCTNAME#.mtx".
Installer logging did not point me in the right direction to figure out why the language selector is not shown - I can just see that it is selecting my local language code. Furthermore the LANGUAGE variable is not set.
Any help is greatly appreciated.