MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: Can MAKEMSI be used without installing it on the machine?[Next]: Repackaging - Converting an EXE to MSI
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Building or Updating MSIs->Unattended MSI Builds->Unattended MSI Builds using ANT

Unattended MSI Builds using ANT

This example invokes the MM Batch File however you could also invoke the correct PPWIZARD command directly (see the debug file in the "out" directory):

<target name="makeMSI">
       <echo message="Building Windows Installer..." />

       <!-- Put your installation directory and project directories here -->
       <property name="msi.source.dir" value="c:\Projects\MyProject" />
       <property name="makemsi.dir" value="c:\Program Files\MakeMSI" />
       <property name="targetMM" value="myproject.MM" />

       <echo message="MakeMSI at ${makemsi.dir}\mm.cmd" />
       <exec executable="cmd"  dir="${msi.source.dir}" failifexecutionfails="true" >
           <arg value="/c"/>
               <arg value="${makemsi.dir}\mm.cmd" />
               <arg value="${targetMM}"/>
       </exec>
</target>


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: Can MAKEMSI be used without installing it on the machine?[Next]: Repackaging - Converting an EXE to MSI


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Friday October 13 2017 at 2:08pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.