Index out of bounds error with wizard generated script

Got a problem you cannot solve? Try here.
Dame1701
Posts: 29
Joined: Tue Jan 05, 2016 10:33 am

Index out of bounds error with wizard generated script

Postby Dame1701 » Mon Aug 08, 2016 8:47 am

I'm currently trying to add QuickTime as a prerequisit to our installer however, I'm having problems opening the setup script that was generated by the InstallAware wizard. Each time I try to open the script, I get a "List index out of bounds (1)" error. I also get the same error when I try to compile the project. I think it might be a problem with the generated script. Which I have attached.
Setup for QuickTime.txt
(2.93 KiB) Downloaded 309 times

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

Re: Index out of bounds error with wizard generated script

Postby bokkie » Mon Aug 08, 2016 11:45 am

I'm just surfacing for a moment but the index out of bounds error has sometimes been reported. I can't remember the exact problem (there may have been several that fit) but you might try searching for other "index..." errors. One thing does come to mind (hope it's not a red herring) but have you regenerated your licence to match the version of IA you're running? In other words have you upgraded recently but perhaps used an older licence from an older version?

Otherwise, Francesco might have an idea but it usually helps him if you can produce a project containing the minimum MSIcode only to replicate the problem. If you can post one I can try it on my recent X5 download and see what happens.
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: Index out of bounds error with wizard generated script

Postby FrancescoT » Mon Aug 08, 2016 12:49 pm

Dame1701,

for what I see your script file appears corrupted.

If still exist a backup copy of it within your project folder (IA automatically creates a backup of the script files ... see same file name with BAK extension), you may try to replace it with this.

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

Dame1701
Posts: 29
Joined: Tue Jan 05, 2016 10:33 am

Re: Index out of bounds error with wizard generated script

Postby Dame1701 » Tue Aug 09, 2016 3:37 am

Hi FrancescoT,

Unfortunately there wasn't a backup, I think it's because the script file had just been generated by the wizard. I deleted everything and tried again. This time it appears to have worked without issue, so something strange must have happened the first time around.

Thanks for the tips,

Cheers,

Damien


Return to “Technical Support”

Who is online

Users browsing this forum: Bing [Bot] and 155 guests