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
Runtime error after update to V18
Re: Runtime error after update to V18
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
InstallAware MVP
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Runtime error after update to V18
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
... 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
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: Runtime error after update to V18
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
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
Re: Runtime error after update to V18
After I read another thread with a similar problem I ran the Unicode upgrade tool and all problems disappeared.
Thanks for helping anyway.
Thomas
Thanks for helping anyway.
Thomas
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Runtime error after update to V18
Happy you solved!
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
Who is online
Users browsing this forum: No registered users and 73 guests