[webkit-dev] Auto-launch installer after download dmg
rnapier at employees.org
Mon Dec 10 15:41:11 PST 2007
You may want to look especially at the "internet-enable" option, which
provides some of the magic you're describing.
On Dec 10, 2007 5:11 PM, Kevin Decker <kdecker at apple.com> wrote:
> On Dec 10, 2007, at 2:07 AM, Bill Patterson wrote:
> > I've got a installer on a dmg, that when downloaded by Safari 3.04,
> > automatically mounts the dmg and launches the installer.
> > I'd like to reproduce this in my WebKit based application. Are
> > there functions that do this?
> Hey Bill. You probably want to investigate the /usr/bin/hdiutil
> command line utility which can attach, mount, and verify disk images.
> I also recommend looking into the NSWorkspace API, specifically the -
> [NSWorkspace openFile: withApplication:] method which you'll find very
> useful for kicking off the Installer.
> Good luck!
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev