This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: i18n problem: different files inside license panel
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 16, 2008
05:27 AM
i18n problem: different files inside license panel
I have two languages to support and I have two license files.
But the license file for "en" doesn't work. The panels shows always "No file selected" inside the installer.
These are the settings inside the custom_de (de-language is default):
and these are custom_en:
As you can see, only the filename is different.
Any ideas how to make sure, that a different file for a different language will be included into the build?
thanks in advance
But the license file for "en" doesn't work. The panels shows always "No file selected" inside the installer.
These are the settings inside the custom_de (de-language is default):
# LicenseAgrAction.3e82c046b866.resourceName=license.html
LicenseAgrAction.3e82c046b866.resourceName=license.html
# LicenseAgrAction.3e82c046b866.resourcePath=/usr/local/inubit/ibisbuild/ibis-head/javadev/build/installer/licenses/
LicenseAgrAction.3e82c046b866.resourcePath=/usr/local/inubit/ibisbuild/ibis-head/javadev/build/installer/licenses/
# LicenseAgrAction.3e82c046b866.stepPrompt=Für die Installation und die Verwendung der $PRODUCT_NAME$ müssen Sie den folgenden Lizenzvertrag akzeptieren:
LicenseAgrAction.3e82c046b866.stepPrompt=Für die Installation und die Verwendung der $PRODUCT_NAME$ müssen Sie den folgenden Lizenzvertrag akzeptieren:
# LicenseAgrAction.3e82c046b866.title=Lizenzvertrag
LicenseAgrAction.3e82c046b866.title=Lizenzvertrag
and these are custom_en:
# LicenseAgrAction.3e82c046b866.resourceName=license.html
LicenseAgrAction.3e82c046b866.resourceName=license_en.html
# LicenseAgrAction.3e82c046b866.resourcePath=/usr/local/inubit/ibisbuild/ibis-head/javadev/build/installer/licenses/
LicenseAgrAction.3e82c046b866.resourcePath=/usr/local/inubit/ibisbuild/ibis-head/javadev/build/installer/licenses/
# LicenseAgrAction.3e82c046b866.stepPrompt=Für die Installation und die Verwendung der $PRODUCT_NAME$ müssen Sie den folgenden Lizenzvertrag akzeptieren:
LicenseAgrAction.3e82c046b866.stepPrompt=Installation and Use of $PRODUCT_NAME$ Requires Acceptance of the Following License Agreement:
# LicenseAgrAction.3e82c046b866.title=Lizenzvertrag
LicenseAgrAction.3e82c046b866.title=License Agreement
As you can see, only the filename is different.
Any ideas how to make sure, that a different file for a different language will be included into the build?
thanks in advance
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 16, 2008
09:37 AM
As a sanity check, are the localized license files included in the Install task (possibly with do-not-install as the dummy destination)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 17, 2008
01:44 AM
The files are included, but as SpeedDirectory.
But thats not the problem, I think IA2008 should during the build process of the installer step through the custom_* files and append possible configured ressourcen to the resources required for the wizard.
Finally it works for the default-language (the resource of license.html seems to be available for the wizard)... but not for the others...
But thats not the problem, I think IA2008 should during the build process of the installer step through the custom_* files and append possible configured ressourcen to the resources required for the wizard.
Finally it works for the default-language (the resource of license.html seems to be available for the wizard)... but not for the others...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 02, 2008
12:57 PM
Did you get anywhere with this? I'm hitting the same problem.
Thanks,
Nigel.
Thanks,
Nigel.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 02, 2008
01:25 PM
Not really, I just ATM used a second Panel, what I show when the choosen language was english (using condition).
The support told me, that its nessesary that the files are added inside file tree as special do-not-install files.
I'll investigate this at later time, atm our current release is more important than this. And I have the workaround with a second panel...
The support told me, that its nessesary that the files are added inside file tree as special do-not-install files.
I'll investigate this at later time, atm our current release is more important than this. And I have the workaround with a second panel...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 03, 2008
08:33 AM
Thanks. I tried installing the files to $DO_NOT_INSTALL$ but InstallAnywhere seems unable to locate them.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 10, 2008
05:49 AM
It seems you have to use the Extract to File plug-in to extract the "Do not Install" files to a known location on the target system which can then be used as an existign file path in other actions or panels. You have to use the build time source directory as the directory path to the source file for the "Extract to File" plugin and you have to get the case of the file (although not the directory - it seems mysteriously to be lower-cased in the execute zip file) exactly right for the plugin to work. You have to set up source paths to make this in any way managable and you have to have strict control of the case of any files used in this way (lower-case the filenames before building the installer).