Read from Text File buggy on CN Systems

Got a problem you cannot solve? Try here.
Post Reply
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Read from Text File buggy on CN Systems

Post 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
Attachments
Screenshot Error Message
Screenshot Error Message
runtimeError.png (44.86 KiB) Viewed 8577 times
Last edited by alibaba on Tue Jan 11, 2011 4:07 am, edited 1 time in total.
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Runtime error in setup script

Post 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. :?:
Attachments
Screenshot after removing RichEdit from dialog.
Screenshot after removing RichEdit from dialog.
ia-error.png (13.96 KiB) Viewed 8567 times
Last edited by alibaba on Thu Jun 03, 2010 4:07 am, edited 1 time in total.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: Runtime error in setup script

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Runtime error in setup script

Post by alibaba »

OK I will try to make a new project where you can reproduce this.
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Runtime error in setup script

Post 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.
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Runtime error in setup script

Post 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?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: Runtime error in setup script

Post by MichaelNesmith »

Please send it to support at our domain name dot com. Thanks for taking the time!
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Any news on this

Post 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
Attachments
two_cn_computers.zip
(130.53 KiB) Downloaded 378 times
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Read from Text File buggy on CN Systems

Post by giaviv »

Hi,

Does this happen on a traditional or non-traditional Chinese system?

Thanks
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Read from Text File buggy on CN Systems

Post 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?
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Read from Text File buggy on CN Systems

Post by giaviv »

Dear alibaba,

Theoretically, Read from Text File does not support Unicode.

Thanks
Last edited by giaviv on Wed Jan 12, 2011 2:01 pm, edited 1 time in total.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Read from Text File buggy on CN Systems

Post 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. :wink: So I am tired of sending again a project with the same problem reported a half year ago.
Post Reply