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


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)
  • NAnt

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

Anyone have a recommendation?

Best Answer

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