I am not happy with the new version,
again a strange error where I have no idea what is the cause. I get "List index out of bounds (174)" error when I start an IA 16 generated setup. I have not changed anything in script, with IA 15 the setup was working fine.
I got this error also for line 12 at the beginng where the native engine is activated, so I copy and pasted this line again and commented it out. This was working but now I get this error for line 17 and here copy and past does not help...very strange
What to do now? Downgrad to IA 15?
list index out of bounds after IA 16 upgrade
list index out of bounds after IA 16 upgrade
- Attachments
-
- list_index.PNG (134.52 KiB) Viewed 13059 times
Re: list index out of bounds after IA 16 upgrade
Again I had to re-localize to solv this problem.
So guys, before implementing new features, just fix this buggy translation process, it is just a nightmare for me....
So guys, before implementing new features, just fix this buggy translation process, it is just a nightmare for me....
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: list index out of bounds after IA 16 upgrade
Dear Alibaba,
... if I haven't missed anything ... probably, it has been caused due the ANSI vs UNICODE resource strings, originally used by your project.
I am supposing this due the re-localization you used to solve the problem.
Regards
... if I haven't missed anything ... probably, it has been caused due the ANSI vs UNICODE resource strings, originally used by your project.
I am supposing this due the re-localization you used to solve the problem.
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
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
Re: list index out of bounds after IA 16 upgrade
Dear Francesco,
there are no UNICODE strings in line 17 so I don't understand why this is happening. Anyway this error is solved, but I still have other issues that block my work, see my other threads.
there are no UNICODE strings in line 17 so I don't understand why this is happening. Anyway this error is solved, but I still have other issues that block my work, see my other threads.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: list index out of bounds after IA 16 upgrade
... I have Just replied to your other threads.
Regards
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
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
Re: list index out of bounds after IA 16 upgrade
Hi there,
I have a similar problem in my project. When I export my translation files and the translator appears it seams for me there is Encoding-Error. We are from Germany and use many characters like öüäß in many dialogs and messageboxes all over the project. How can i prevent the translator to destroy my translations?
Change my Windows-Setting or something? Not using these Charakters is not a way for us to make Setup.
It goes that far that i could build my setup but when starting it i got a Index-out-Of-Range-Exception from the installer...
Hope you can help me in this and i am at the right place to post it?
Thanks,
Martin
I have a similar problem in my project. When I export my translation files and the translator appears it seams for me there is Encoding-Error. We are from Germany and use many characters like öüäß in many dialogs and messageboxes all over the project. How can i prevent the translator to destroy my translations?
Change my Windows-Setting or something? Not using these Charakters is not a way for us to make Setup.
It goes that far that i could build my setup but when starting it i got a Index-out-Of-Range-Exception from the installer...
Hope you can help me in this and i am at the right place to post it?
Thanks,
Martin
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: list index out of bounds after IA 16 upgrade
Dear Martin,
did you used the Unicode Upgrade tool?
Regards
did you used the Unicode Upgrade tool?
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
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
Re: list index out of bounds after IA 16 upgrade
I didnt use any Upgrade Tool. Our latest setup was build in 2009 R2 so i decided to start all over with a new one because so many changes in the prerequisite-packages. I made a new setup and changed all messageboxes in all scripts manually. But now i am at the point to open each dialog and change the text by hand...
and thats not realy smart to do. So I exported my translations with the localize-button inside Stuidio Admin and startet the translator after that. But there i can see that all german chars are shown criptical and i decided not to import again... Where can i find the UNICODO-Upgrade-Tool and how may this help me?
Thanks,
Martin
and thats not realy smart to do. So I exported my translations with the localize-button inside Stuidio Admin and startet the translator after that. But there i can see that all german chars are shown criptical and i decided not to import again... Where can i find the UNICODO-Upgrade-Tool and how may this help me?
Thanks,
Martin
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: list index out of bounds after IA 16 upgrade
Dear Martin,
Regards
Upgrading setups created in InstallAware 15 to InstallAware 16 is automatic, unless your setup contains localizations, or it contains hard-coded strings in your MSIcode script that are in a different language from your system locale for non-Unicode programs. If you qualify for the automatic upgrade process, simply open your project in the new IDE as before and continue working normally. If you must manually upgrade, run the new Unicode Upgrade Tool that is included with InstallAware 16. Then, you may open your project in the new IDE as before, and continue working normally.
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
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
Re: list index out of bounds after IA 16 upgrade
Dear Francesco,
thanks for the fast answer. I did like you said and tried the Unicode Upgrade Tool. After that i startet my project with installAware 16 and the first thing i saw was all my characters in all messageboxes and dialog look like this:
After that i tried to export the translations with the Localize-Button. But there it doesnt look good at all...
If I try to replace the wrong characters by hand, import the translations for "German" into my setup. Build my setup and start it - I will get the following error:
What can I do?
Thanks for any help,
Martin
thanks for the fast answer. I did like you said and tried the Unicode Upgrade Tool. After that i startet my project with installAware 16 and the first thing i saw was all my characters in all messageboxes and dialog look like this:
After that i tried to export the translations with the Localize-Button. But there it doesnt look good at all...
If I try to replace the wrong characters by hand, import the translations for "German" into my setup. Build my setup and start it - I will get the following error:
What can I do?
Thanks for any help,
Martin
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: list index out of bounds after IA 16 upgrade
Dear Martin,
I have just tried and by my test;
- if you re-localize your resource strings with preserving existing translations and then importing them back to the project, the localized strings are handled correctly (no garbage characters found). Of course if you prefer, you can completely replace any existing translation.
I have used a localized German language project and before to do the above operations, I used the Unicode Upgrade tool with specifying German as project language.
I found the same "list index out of bounds" error if I don't re-localize the resource strings, but after project re-localization the generated build works fine at runtime.
However, I believe that you should correct manually the German Text you used with your script directly ( ...as with the MessageBox code you posted). Unfortunately the approach you originally used, it is not the most correct. You should have used localized string variables within the script.
This obviously is valid only with past IA ANSI versions ... currently, due UNICODE support with IA 16, this not required anymore even if it still not recommended.
Regards
I have just tried and by my test;
- if you re-localize your resource strings with preserving existing translations and then importing them back to the project, the localized strings are handled correctly (no garbage characters found). Of course if you prefer, you can completely replace any existing translation.
I have used a localized German language project and before to do the above operations, I used the Unicode Upgrade tool with specifying German as project language.
I found the same "list index out of bounds" error if I don't re-localize the resource strings, but after project re-localization the generated build works fine at runtime.
However, I believe that you should correct manually the German Text you used with your script directly ( ...as with the MessageBox code you posted). Unfortunately the approach you originally used, it is not the most correct. You should have used localized string variables within the script.
This obviously is valid only with past IA ANSI versions ... currently, due UNICODE support with IA 16, this not required anymore even if it still not recommended.
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
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
Re: list index out of bounds after IA 16 upgrade
Hi Francesco,
thanks for the answer again. I see the problem now. I dont have to use such characters inside the installer MSI directly.
But what i am wondering is that the Translator Tool doesnt work with them too. I now had changed my setup this far that i use variables at the beginning of my msi-script to put all the messageboxes together. that way i have full control at only one place. I also had to replace the "Shared Strings" in the installaware programfolder with the original ones from new installed IA 16 and then it works.
For me its not neccessary make a multilingual setup, we only deliver our setup in german.
Thanks for the help anyway
Martin
thanks for the answer again. I see the problem now. I dont have to use such characters inside the installer MSI directly.
But what i am wondering is that the Translator Tool doesnt work with them too. I now had changed my setup this far that i use variables at the beginning of my msi-script to put all the messageboxes together. that way i have full control at only one place. I also had to replace the "Shared Strings" in the installaware programfolder with the original ones from new installed IA 16 and then it works.
For me its not neccessary make a multilingual setup, we only deliver our setup in german.
Thanks for the help anyway
Martin
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: list index out of bounds after IA 16 upgrade
Happy you solved!
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
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
Who is online
Users browsing this forum: No registered users and 78 guests