Problems with IA17, List index out of bounds, Reconcile ?

Got a problem you cannot solve? Try here.
QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Problems with IA17, List index out of bounds, Reconcile ?

Postby QooScho » Tue Aug 06, 2013 4:31 am

Hello,
I have installed new IA17.01 (build 8.4.13). Then I copied my old IA11 project to IA17 PC.
I did a new build which was ok.
But then if I tried to setup and install I got the error message
"List index out of bounds (361) Line 59"

Another problem:
I tried to re-localize the translation. After selectinmg the existing translation folder and click on OK
I got the error message
"Unable to reconclie translations. Be sure to use the correct folder...."

Any idea what can I do?
I do not want to translate all strings again new.

best regards
Hans

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Problems with IA17, List index out of bounds, Reconcile

Postby FrancescoT » Tue Aug 06, 2013 9:51 am

Dear Hans,

I suppose to have already replied to you by email.

Anyway because this information could be useful to ther users as well....

this problem could be caused by the presence of NON LATIN characters with the script code.
This usually happens with Messageboxes or any other command where it is possible to enter literal text.

In reality due UNICODE support, currently you could also use NON LATIN characters with your code statements directly.
But for sure, this could be a problem with projects released using past IA versions.

It is HIGHLY recommended (always) to use LOCALIZED VARIABLE with MSI script, instead of using literal text with it.

The Localization Variable command declares a variable, and initializes it to a particular value. It is similar to the Set Variable command in most respects, but intended for use in aiding localization.

I may suggest to initialize these variables to an English default value ( ... in your script) and then, to localize them to each language that you may need as you normally do with the translation tool.

Please Note, with the Translation tool these values are available under a specific node called "localized Variable commands" (... for each available language with the Translator).

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Re: Problems with IA17, List index out of bounds, Reconcile

Postby QooScho » Wed Aug 07, 2013 1:48 am

Dear Francesco
thank you for help.

if this matter is of interest to you and prevent same error, I have tested the following.

-- Old IA11 project with some comments in German language and with umlauts like (ä,ü..)
-- This project was now importef to new IA17, did a new build. After build I got the "Error index out of bound"
-- Also it is not possible to re localize translation to an existing translation folder. (I got errors like "Unable to reconclie translations. Be sure to use the correct folder...."

What you have to do:

1.Copy the old IA project to new IA17 installation
2.Call the tool "Unicode upgrade tool" from windows startmenu (IA 17 section)
3. Select the complete project folder , check "subfolder" and select "German" as project language, then click on OK

After that I had no more problems and also can re-localize to an existing translation folder.

regards
Hans

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Problems with IA17, List index out of bounds, Reconcile

Postby FrancescoT » Wed Aug 07, 2013 2:49 am

Thanks Hans :D !
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

AlejandroNehring
Posts: 26
Joined: Tue Aug 10, 2010 8:07 am

Re: Problems with IA17, List index out of bounds, Reconcile

Postby AlejandroNehring » Mon Oct 28, 2013 7:01 am

I used the "Unicode upgrade tool" from windows startmenu but no success.
I still get the "Unable to reconcile ..." message and also the ""List index out of bounds... message.

The out of bound error could be solved by removing every line in the script via ctrl-x and reinserting it with ctrl-v. Puh, that needs a long time.

Can we hope on a solution for this mess with version 18?

AlejandroNehring
Posts: 26
Joined: Tue Aug 10, 2010 8:07 am

Re: Problems with IA17, List index out of bounds, Reconcile

Postby AlejandroNehring » Mon Oct 28, 2013 7:08 am

I have an IA project whose name contains umlauts. I run the "Unicode upgrade tool".
When I try to load the project, i get the message: "Script for project missing:" follwoed by the script name with really funny characters instead of the original umlauts.
What can I do ?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Problems with IA17, List index out of bounds, Reconcile

Postby FrancescoT » Mon Oct 28, 2013 11:20 am

Dear AlejandroNehring,

what should it be the correct name of the missing script?

Probably, this is caused by some NON LATIN characters present with your script file name (... Unicode has been introduced with IA 16).

If this is the case, you can also try to solve by your self the problem just using a Text file editor.

To proceed, use NOTEPAD to edit the InstallAware Project file (the one that as "MPR" extension) and to manually update the incorrect file name.
Once done, please don't forget to save the file using the "UTF-8" coding.

PLEASE NOTE!
Make a full project backup before to proceed.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 93 guests