I've been trying unsuccessfully to create an ISO9660 CD image programmatically that has customized views, so when it opens in the finder it can have a nifty background, icons positioned how I want, etc. I can get it to work if I make a DMG, mount it, drop the files in, customize the view options (with command-J), umount, then burn that, but this solution is not workable for me.
Here's the background:
Basically, the program that will be doing the actual disk image creation and burning is a windows app (gotta pay the bills). We have a "lite" version of our app that we can put on CDs that runs on Windows and Mac. So as to not confuse the users (and because I want it to be pretty), I want to hide my autorun.inf and EXE when viewing on the Mac, as well as rearrange icons and such. I'm using the windows version mkisofs to create the .iso, but the mkisofs version shouldn't matter too much.
The approach I've tried so far is to customize a folder on my mac, and copy the .DS_Store from that to the folder I'm burning, and then make an ISO using mkisofs. I can see that the .DS_Store is on the CD, but the Finder appears to be ignoring it. I've looked at CDs burned from .dmgs with customized views, and they have a .DS_Store that is *not* ignored. Does anyone have an idea of how to do it?