Runtime error after update to V18

Got a problem you cannot solve? Try here.
tosch
Posts: 63
Joined: Thu May 27, 2010 8:44 am

Runtime error after update to V18

Postby tosch » Fri Oct 25, 2013 7:38 am

After updating from an old version to 18 I have rebuilt my script.
On this line (number 16(:

'if Variable CMDLINE Contains /qb'

I get this error:
'Line Number 16
List index out of bounds (359)'

I have not changed anything in my script. The error occurs even if I run my script with an option of /qb

Thomas

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Runtime error after update to V18

Postby bokkie » Fri Oct 25, 2013 9:30 am

Thomas, did you regenerate your licence file and run it? If so, Francesco (if I recall) might once have asked someone to uninstall and reinstall but not to run the licence. That is, does it run ok without the licence file?
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

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

Re: Runtime error after update to V18

Postby FrancescoT » Fri Oct 25, 2013 12:00 pm

Dear Thomas,

... in your case I believe that probably exist some conditional statements (IF - END) not correctly closed.

The current InstallAware script engine uses more strong routines, if compared with older IA versions ... so, it is possible that the error was not reported when compiled with a previous IA version.

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

tosch
Posts: 63
Joined: Thu May 27, 2010 8:44 am

Re: Runtime error after update to V18

Postby tosch » Mon Oct 28, 2013 1:20 am

I checked the IF/END statements. It's kind of hard to check this in a 1000 line script but it seems like they are ok.
Then I uninstalled IA and reinstalled the trial version with applying my license.

The problem still exists.

I'll try a few other things but please let me know if you have any ideas what to do

Tried all sorts of stuff including this:
copied a few lines from an other script before the line where the error occurs --> all new lines run fine, error occurs still on the same line
remarked the lines causing the problem --> error occurs on the line after the remarked lines (error occurs on this line: DEFINE COMPONENT:...)

We previously ran IA11. Could this be a problem?

Done some more testing: when I re-enter the line where the problem occurs exactly the same and delete the 'old' line the error goes away for this line only and the error occurs on the next line which is normally a IF or SET VARIABLE line.


Thomas

tosch
Posts: 63
Joined: Thu May 27, 2010 8:44 am

Re: Runtime error after update to V18

Postby tosch » Mon Oct 28, 2013 9:29 am

After I read another thread with a similar problem I ran the Unicode upgrade tool and all problems disappeared.
Thanks for helping anyway.

Thomas

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

Re: Runtime error after update to V18

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

Happy you solved!

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: Baidu [Spider] and 135 guests