How to build a CD ISO image file from the windows command line?

Peter picture Peter · Oct 21, 2008 · Viewed 72.8k times · Source

In an effort to satisfy "The Joel Test" question #2 "Can you make a build in one step?", I'm trying to complete a release candidate build script with the creation of a CD iso from the collection of files gathered and generated by the installer creator.

There seem to be many good tools (many free) out there that will create ISOs, but I need to find one that can be run at the windows command line so I can integrate it into the NAnt build script that's fired off by Cruise Control.

Build environment is:

  • Windows Server 2003
  • .NET 1.1 - 3.5 (application we're creating is built on 2.0)
  • NullSoft installer (NSIS)
  • CruiseControl.net
  • NAnt

I've been googling around, but no luck yet.

Anyone have a recommendation?

Answer

Andrew picture Andrew · Oct 21, 2008

Try mkisofs. It's part of the cdrecord project.