Page 1 of 1
Read from Text File buggy on CN Systems
Posted: Wed Jun 02, 2010 4:33 am
by alibaba
Hello,
one customer gets an error message (Runtime error in script - RichEdit line insertion error), see attached image. At the named line I only have an "end" statement (closing an if statement).
Error message attached .
Has anybody a hint what could be the reason for the error message?
Thank you,
Alibaba
Re: Runtime error in setup script
Posted: Thu Jun 03, 2010 1:38 am
by alibaba
I get this error on chinese systems only. Has InstallAware any restriction for chinese systems?
I now removed the RichEdit Control from license dialog and now I get the following error (see attachment).
This error message comes right after I selected english from the language selection, but not if I select german.

Re: Runtime error in setup script
Posted: Thu Jun 03, 2010 4:04 am
by MichaelNesmith
A minimum reproducing project will help R&D track the issue down and develop a fix, we'll test it for you exclusively on Chinese systems.
Re: Runtime error in setup script
Posted: Thu Jun 03, 2010 4:10 am
by alibaba
OK I will try to make a new project where you can reproduce this.
Re: Runtime error in setup script
Posted: Thu Jun 03, 2010 6:21 am
by alibaba
Ok seems that I found a workaround in using two different Memo Box dialogs, depending on language (german, other) and then reassign translations. If you want I can sent you my original project.
Re: Runtime error in setup script
Posted: Fri Jun 04, 2010 6:11 am
by alibaba
You simply has to make a Dialog with a RichEdit field and then fill the field by reading from a text file using ReadFromTextFile Function.
Code: Select all
Read from Text File #READALL\$SUPPORTDIR$\license.English.txt into Variable LICENSETEXT
Run this on a chinese system and you get the error message from first post.
I made a sample project, where can I send/email it to?
Re: Runtime error in setup script
Posted: Fri Jun 04, 2010 3:25 pm
by MichaelNesmith
Please send it to support at our domain name dot com. Thanks for taking the time!
Any news on this
Posted: Tue Jan 11, 2011 4:06 am
by alibaba
Hi,
I still have the problem with IA10 generated setups. They always stuck if they were run on special chinese systems. I had attached a nfo file of two relevant computers. Please try to fix this problem, otherwise I will always have problems with this computers and have to try to find workarounds...
THX
Re: Read from Text File buggy on CN Systems
Posted: Tue Jan 11, 2011 12:39 pm
by giaviv
Hi,
Does this happen on a traditional or non-traditional Chinese system?
Thanks
Re: Read from Text File buggy on CN Systems
Posted: Wed Jan 12, 2011 3:23 am
by alibaba
I had attached the system informations in last thread. But I also asked customer now. He told me that they use Windows XP English version. In .nfo file you can also see that locale is set to "People's Republic of china". I will try to reproduce it here. Is there a known problem with read from text file function. May be this is related to non unicode support of this function?
Re: Read from Text File buggy on CN Systems
Posted: Wed Jan 12, 2011 5:24 am
by giaviv
Dear alibaba,
Theoretically, Read from Text File does not support Unicode.
Thanks
Re: Read from Text File buggy on CN Systems
Posted: Wed Jan 12, 2011 7:52 am
by alibaba
Yes I will try to make a small project, but in fact I already sent an email on June 07, 2010 to your support team and never get an answer than "Thank you". So maybe it is enough to look in your database and search this email. The problem still occurs in IA10.

So I am tired of sending again a project with the same problem reported a half year ago.