Controlling the \"Debug\" flag with miabuild.exe

Got a problem you cannot solve? Try here.
Post Reply
cgrill
Posts: 3
Joined: Tue Nov 15, 2005 11:10 am

Controlling the \"Debug\" flag with miabuild.exe

Post by cgrill »

Hi,
I just discovered a major source of errors when building a compressed install with miabuild.exe. When the "Debug" flag is set in the project's options, e.g. files are not compressed after build. So if the setup developer incidentally leaved the flag set, I get other build results than expected.
So, is there a way to override this flag from the command line?
Thanks
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Hi

This behavior is as designed. The debug flag enables debugging builds. Files must be uncompressed for this. You should never use the debug flag for outside of debugging.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
cgrill
Posts: 3
Joined: Tue Nov 15, 2005 11:10 am

Post by cgrill »

I understand that this is as it should be. So this is why I would like to have a possibility to force non-debug builds when building with miabuild, in case the setup author forgot to reset the debug flag after the last debug session.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

I don't believe this is possible, the project should always be taken out of the debug mode after development, this is really the responsibility of the developer (just like it is his/her responsibility to make sure that the setup works during its development). I apologize for the inconvenience.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply