Page 1 of 1

Error during build: List index out of bounds

Posted: Wed May 27, 2015 1:45 am
by Dandaman
Hi I just installed InstallAware trail and converted my InstallShield 2014 project.
I had to fix up variables from "xxx" to $xxx$ in the script which was fine.
But then when building i get the error message

....
....
Copied file C:\V7 Installer\Application exe Professional\Benchmark.exe
Error during build: List index out of bounds (2)

I can't see anywhere near the Benchmark.exe file in the script where there is a list that could be out of bounds.

Anyone had experience with this issue when converting form InstallShield?

Re: Error during build: List index out of bounds

Posted: Wed May 27, 2015 11:23 am
by FrancescoT
Dear Dandaman,

please check in your script code that all conditional statements are correctly handled (If/End, While/end ... and so on).

You may have inadvertently altered one or more of the conditional statement blocks in your code.

Hope this helps you.

Regards

Re: Error during build: List index out of bounds

Posted: Wed May 27, 2015 8:22 pm
by Dandaman
Hi FrancescoT,
It looks like the issue was with the conversion of the file extensions from InstallShield.
I had two entrys for file extensions after I removed them the error did not come up any more.
When I removed them from my script it starting building.

On a side note, it has been building for a while now and the progress bar does not give me adequate feedback on how long it is going to take.
I am starting to think that its gone into an infinite loop. How long should the build process take?

Re: Error during build: List index out of bounds

Posted: Wed May 27, 2015 10:47 pm
by Dandaman
I had to cancel the build as it sat there for over 30 minutes.
After cancelling it still just sat there. I had to end its task.
Any ideas what would cause it to go inifi? Should I just reduce the compression?

Re: Error during build: List index out of bounds

Posted: Thu May 28, 2015 10:38 am
by FrancescoT
Dear Dandaman,

would it be possible for you to send me your project?

If you prefer, you can send the whole IA project folder as compressed archive to; support@installaware.com

Regards

Re: Error during build: List index out of bounds

Posted: Thu May 28, 2015 6:33 pm
by Dandaman
I sent over the project zipped up. Let me know if you need anything else from me.

Re: Error during build: List index out of bounds

Posted: Fri May 29, 2015 12:20 pm
by FrancescoT
Received and replied to you this morning.

Regards