Page 1 of 1

miabuild and support files

Posted: Tue May 21, 2013 7:12 am
by christ23
Hi folks,

(how) is it possible to update a supportfile with the use of miabuild via cmd?

Background: We have some installations with many files and a complex structure. The way i do it is:
- 7zip our complete setup files & folder structure (lets name it Bugfix2.7z)
- In IA GUI delete the existing support file (Bugfix1.7z) and
- add the new Bufgix2.7z to the support files
- At runtime, the complete supportfile BugfixX.7z is extracted to C:\Temp\BugfixX\...
- Files to be copied or called ....
- delete/clear C:\Temp\BugfixX\...
(This is because the logic does not change, but the content of the files. I am doing it with the 7z solution, because otherwise i get thousands of "Install file....." commands in my .mpr)

Is it possible to change the supportfiles like

miabuild.exe "C:\\...\\AutoBuild_Test001\\AutoBuild_Test001.mpr" /o="C:\\...\\AutoBuild_Test001" /b=1 /r "BUILDVERSION=1.2.3" "BRANDING=Testversion 1.2.3" "Supportfile=Bugfix2.7z"

? Every idea welcome :-).

Re: miabuild and support files

Posted: Tue May 21, 2013 10:55 am
by FrancescoT
Dear christ23,

Unfortunately, this is not possible with the miabuild tool ... because in fact, it is a build tool and the included support files are managed by the project.

The only possible alternative, it is with using InstallAware Automation Interface.

InstallAware automation interface can be used to programmatically emit and build a complete setup projects.
For more info, please have a look at IA documentation along with the available samples.

Hope this helps you.

Regards