Unable to get a command line build to work

Got a problem you cannot solve? Try here.
Post Reply
matthewj
Posts: 66
Joined: Tue Dec 07, 2004 12:48 pm

Unable to get a command line build to work

Post 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
matthewj
Posts: 66
Joined: Tue Dec 07, 2004 12:48 pm

Post 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
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
matthewj
Posts: 66
Joined: Tue Dec 07, 2004 12:48 pm

Post 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
Post Reply