Page 1 of 1
Running InstallAware from cmd line
Posted: Thu May 07, 2009 1:14 am
by aevanne
Hi,
I need to be able to create a .msi file from the cmd line (or from a script). Is this possible using InstallAware?
Thanks!
Posted: Thu May 07, 2009 1:38 am
by bokkie
Yes.
Posted: Thu May 07, 2009 10:08 am
by aevanne
Great thanks. Is there example code or documantation somewhere on how to do this?
Posted: Thu May 07, 2009 1:37 pm
by aevanne
Also, I need to be able to modify the script (update variables/paths on the fly) before running Installaware to create the msi file. Is this doable? I can't find any documentation regarding creating .msi from cmd line ....
Thanks.
Posted: Thu May 07, 2009 2:13 pm
by CandiceJones
You want to use compiler variables. Read up on the help.
Posted: Thu May 07, 2009 2:48 pm
by aevanne
OK, thanks. will do.
So my other question, where can I find help on generating msi (unattended) from the cmd line using IA?
Thanks,
Posted: Thu May 07, 2009 3:16 pm
by bokkie
When you install IA it installs the build utility called miabuild. Run that from a command window without parameters and it will display the command line options.
Posted: Thu May 07, 2009 3:34 pm
by aevanne
Aha, thank you. That's what I was looking for. I'm just looking at the eval copy for now - it doesn't seem to be there. What package will it be part of?
Posted: Thu May 07, 2009 4:14 pm
by bokkie
On my machine it's in C:\\Program Files\\InstallAware\\InstallAware 9. I don't know if it is version specific however. I have Studio Admin version which has everything. I recall it was also in the Studio version. I've never installed just the Express version so I can't say for sure if it is truly universally available or not.
Posted: Thu May 07, 2009 4:45 pm
by aevanne
Thanks for your help. I appreciate it.
Posted: Thu May 07, 2009 6:08 pm
by CandiceJones
Uninstall Express, then run the same setup file you downloaded and choose Developer or a higher edition. The setup file for all editions is the same and you choose your edition in the setup wizard.