Page 1 of 1

Index out of bounds error with wizard generated script

Posted: Mon Aug 08, 2016 8:47 am
by Dame1701
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

Re: Index out of bounds error with wizard generated script

Posted: Mon Aug 08, 2016 11:45 am
by bokkie
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.

Re: Index out of bounds error with wizard generated script

Posted: Mon Aug 08, 2016 12:49 pm
by FrancescoT
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

Re: Index out of bounds error with wizard generated script

Posted: Tue Aug 09, 2016 3:37 am
by Dame1701
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