We're not targeting Mac entirely--only a small subset of users are on
the mac. We have an app that runs in ASP.NET on a Windows server and
would like to be able to serve up some files packaged together as a
dmg.
The spec for DMG is not available/public, so a custom writer is not
really feasible.
The only thing I've found is MagicISO which has a command line tool
that can create dmg's. However, they don't have a redistribution or
even volume license listed on their site so it may not be an option to
include that in an application.
Thanks,
Sam
On Thu, 14 Aug 2008 09:31:14 -0700, 'Peter Duniho'
<Np*********@nnowslpianmk.comwrote:
>On Thu, 14 Aug 2008 09:27:59 -0700, Samuel R. Neff <sa********@nomail.com>
wrote:
>Does anyone have a suggestion for how to create a Mac OSX .DMG file
from a C# app running on Windows? Searching online is not turning up
a lot of options.
There wouldn't be any built-in support for that. But assuming you can
manage writing the format explicitly yourself, of course .NET has the
FileStream and BinaryWriter classes that would be useful in doing that.
Of course, it begs the question: if you're targeting the Mac OS, why not
write your tool in Cocoa and run it on the Mac. But since you're here in
the C# newsgroup, I suppose you've already been through that and have
decided against it. :)
Pete
------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.