问题
Just like Peter who looked for a solution to automate the creation of an ISO file, I am looking for a solution which would allow me to update the contents of a compressed DMG file, originally created on a Mac.
I am aware of several tools which allow me to open a DMG file under Windows (for instance 7-Zip or TransMac), but they don't seem to be able to update the contents of a compressed DMG file. And moreover, I really need to be able to do this from my build scripts, which have to run on Windows.
Note: I've read Michele's question (How to build a DMG Mac OS X file on a non-Mac platform) but this does not solve the updating of a compressed DMG file.
How could I fully automate my build?
If I cannot handle this on Windows, is there maybe some way to script this on a Mac, and then remotely launch the script from a Windows machine, in order to update the DMG directly on the Mac without human intervention? Running the build server on VMware or Parallels, inside a Mac, is possible for me, if this eases the remoting part...
回答1:
On my environment, I create from scratch a new DMG for every rebuild. I agree with https://stackoverflow.com/users/27631/sherm-pendley
来源:https://stackoverflow.com/questions/5576392/how-to-update-a-dmg-file-from-windows