Command Line Build - Silent
-
- Posts: 19
- Joined: Thu Nov 03, 2005 11:58 am
- Contact:
Command Line Build - Silent
Is there a way to kick-off a command line build, via a batch file, without the progress dialog displaying?
Although you cannot supress the dialog itself, you can automate the building so you don't have to watch it without having to cludge a batch file.
Here is a node you can add to a nant script to do this nice and cleanly:
This of course assumes you have miabuild in your path and are targeting a compressed single self installing exe (which is the buildtype arg 1). I use this for our automated nightly builds, and it works great. Setup a nightly Scheduled task to do a "nant installer" and be done with it.

Here is a node you can add to a nant script to do this nice and cleanly:
Code: Select all
<target name="installer" description="Build Installer">
<exec program="miabuild">
<arg value="c:\\path\\to\\YourSetup.mpr"/>
<arg value="c:\\path\\to\\YourSetupDir\\" />
<arg value="1" />
</exec>
</target>
This of course assumes you have miabuild in your path and are targeting a compressed single self installing exe (which is the buildtype arg 1). I use this for our automated nightly builds, and it works great. Setup a nightly Scheduled task to do a "nant installer" and be done with it.
---
Regards,
Dana Epp
Regards,
Dana Epp
Who is online
Users browsing this forum: No registered users and 145 guests