Page 1 of 1

Unable to get a command line build to work

Posted: Tue Oct 10, 2006 4:23 am
by matthewj
What might cause all command line builds to be failing? This is related to my question where my compiled script gives an error "Runtime error in setup script: Line 28: List index out of bounds (27)". If I build in the IDE, then all is fine. If I build using the command line, every script, no matter what the options, gives this error. Tested on two test VMs (XP and Win2k). This is with build 6.03, though the command line version doesn't output a version number. I tried creating a new script with pretty much all default options and only one file, and it too suffers the same problem.

I guess my next step is to remove the 6.03 build and see if 6.0 works. Is 6.02 still available?

Matthew

Posted: Tue Oct 10, 2006 4:31 am
by matthewj
I note that the miabuild.exe has no version info in its resources either. This would be worth fixing for all such files so that it is easy to check that they are the right versions.

Matthew

Posted: Tue Oct 10, 2006 5:59 am
by MichaelNesmith
Nothing is broken (or changed) in the latest version - we use it here daily for our own internal builds.

Check your privileges, make sure miabuild is running with admin rights, make sure it has full access to all build folders, make sure all your plug-ins are installed.

Posted: Tue Oct 10, 2006 6:18 am
by matthewj
Many thanks for that re-assurance. I have now found the problem. In the upgrade, I used the existing "license" application installer. I just did a download of the licenser again, and it has a different version number, so I re-did the whole install and it now works. Seems I'd been installing older files over the top, but nothing had detected that. As I said, it would be nice to have a build number in all of the utilities and miabuild exe so that it could be verified. (If IA is still delphi based, I know that the default for a command line app is no version resource, but you can do it, and I did this in my FB script for an app. Reduced support hassle for me!)

Matthew