Version 8: command line compile \"bug\".
Posted: Sat Feb 14, 2009 4:11 pm
I have a sort of bug which puzzled me for a while. Following is the command line build on my test project:
miabuild "c:\\temp\\installawaretest\\installawaretest.mpr"
Here's the output:
InstallAware Command Line Build Utility
ERROR: Access violation at address 0041DC82 in module 'miabuild.exe'. Read of address 00000008
It's only when I compiled the project in the IDE that I was given this error message:
Insufficient COMPILER VARIABLE END statements
Sure enough, I was indeed missing one from this piece of MSIcode:
[compiler if Variable CVAR Equals 1]
MessageBox: ONE, The compiler variable is 1
[compiler else]
[compiler if Variable CVAR Equals 2]
MessageBox: TWO, The compiler variable is 2
[compiler else]
MessageBox: OTHER, The compiler variable is other than 1 or 2.
[compiler end]
I guess it was my bad to try and build from the command line without actually testing the build first in the IDE but all the same, the command line error message could have been a little more descriptive. I'll raise awareness of it as a bug but it's not too serious.
miabuild "c:\\temp\\installawaretest\\installawaretest.mpr"
Here's the output:
InstallAware Command Line Build Utility
ERROR: Access violation at address 0041DC82 in module 'miabuild.exe'. Read of address 00000008
It's only when I compiled the project in the IDE that I was given this error message:
Insufficient COMPILER VARIABLE END statements
Sure enough, I was indeed missing one from this piece of MSIcode:
[compiler if Variable CVAR Equals 1]
MessageBox: ONE, The compiler variable is 1
[compiler else]
[compiler if Variable CVAR Equals 2]
MessageBox: TWO, The compiler variable is 2
[compiler else]
MessageBox: OTHER, The compiler variable is other than 1 or 2.
[compiler end]
I guess it was my bad to try and build from the command line without actually testing the build first in the IDE but all the same, the command line error message could have been a little more descriptive. I'll raise awareness of it as a bug but it's not too serious.