[webkit-dev] Auto-launch installer after download dmg

Rob Napier 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.

-Rob

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!
> Kevin
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20071210/18a282ed/attachment.html


More information about the webkit-dev mailing list