Are there any (preferably free) components or libraries that handle ISO files?
In particular I would like to be able to add files and save to ISO, as well as extract the files from an ISO.
I do not require advanced features or bells and whistles, just something to do what I mentioned above.
I tried to find some but came up with nothing really.
Perhaps this can be done without the need of such a library? If so what approach would you recommend?
Did you try the TIsoLib component and the FreeBurner library which is a fork of the first, and seems more complete?
Otherwise, I know about the Binary Magic component, which is not free, but handles ISO file creation... and burning to CD.
Addition:
You may take a look at the mkisofs
command line tool. It's part of the cdrtools project, and is the root component of .iso creation in the Linux world. You can call this tool from command line, add and delete files from an .iso file. I've seen several commercial programs which use it to create boot CDs on the fly, from Windows. Be aware of the GPL license: you'll have to make a clear distinction between your software and the GPL software.
I dont know if this will be of help to someone... (hopefully it will save them some time) but I know that using WinRAR at the moment does NOT seem to give the desired result in at least one encounter. I used it to extract an installation media, which resulted in a file not being found, during using the extracted files. I would like to see others trying out the extraction and let the problem re-occur, so that the cause of this can be found, fixed, at thus WinRAR become a better tool in doing what you asked for. Note: If someone feel this is not appropriate, I am really sorry, I am just trying to help, please close my answer in this case.
see ISO-Extraction
来源:https://stackoverflow.com/questions/6322532/how-can-i-add-and-remove-files-from-an-iso-image