Can I build projects using a command line tool?
for example using:
> miabuild.exe -single "C:\\My Projects Folder\\project1\\MyProject.mia"
or something else?
Regards
Build project with command line
-
CandiceJones
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Great !
But I have an error when I launch it.
My command lines looks like:
that gives:
Program returned code : 3
Do you have an idea ?
Thanks
But I have an error when I launch it.
My command lines looks like:
Code: Select all
>miabuild.exe "Path to project file\\MyProject.mia"Code: Select all
InstallAware
Command Line Build Utility
ERROR: '' is not a valid integer value
Do you have an idea ?
Thanks
-
CandiceJones
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
-
chintanpatel7
- Posts: 21
- Joined: Thu Feb 16, 2012 11:02 pm
Re: Build project with command line
Hi
I cannot pass variables as parameters during build.
I have following code in script:
And this is my command line:
This does not pass version with value 10. I have tried for variable watch on both variables CMDLINE and COMMANDLINE but both variables are blank. And the VERSION variable is set to the value I have given in wizard. Please let me know where I have done the mistake.
Thanks.
I cannot pass variables as parameters during build.
I have following code in script:
Code: Select all
Set Variable COMMANDLINE to $CMDLINE$
if Variable COMMANDLINE Contains (Ignore Case) VERSION
Set Variable VERSION to $VERSION$
EndCode: Select all
miabuild.exe "Demo1.mpr" VERSION=10Thanks.
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Build project with command line
Dear User,
first of all I suggest to you to have a look to InstallAware Docs regarding "Building from the Command Line" (as usual press F1 in IA IDE).
By the way, You're trying to build from the command line passing a script variable but the command line build options accepts COMPILER VARIABLE.
For example:
passing: miabuild.exe "MyTest.mpr" MYCOMPILERVAR=1234
In your script should have:
[compiler if Variable MYCOMPILERVAR Equals 1234]
MessageBox: debug, Test Compiler Variable
[compiler end]
Regards
first of all I suggest to you to have a look to InstallAware Docs regarding "Building from the Command Line" (as usual press F1 in IA IDE).
By the way, You're trying to build from the command line passing a script variable but the command line build options accepts COMPILER VARIABLE.
For example:
passing: miabuild.exe "MyTest.mpr" MYCOMPILERVAR=1234
In your script should have:
[compiler if Variable MYCOMPILERVAR Equals 1234]
MessageBox: debug, Test Compiler Variable
[compiler end]
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

