Installers

Jul. 26th, 2007 03:23 pm
pphaneuf: (Default)
[personal profile] pphaneuf
I was reading What's Wrong With Setup.exe?, and so was Avery, apparently.

I pretty much agree with Avery (and commented so on Jeff's blog), but I'd like to comment on how tricky the part about the DMG files is. The problem is that Mac OS X bundles aren't a single file (that could therefore be downloaded "just like that" and would be very intuitive), but is really a directory full of files (that thus can't be fetched off a web server as a single unit).

I guess Apple was focusing more on the shrink-wrap software publisher's point of view (normally shipping an actual CD-ROM), and kind of provided a virtual equivalent, but it does feel a bit weird.

One solution could be to ZIP the bundle, and give the operating system the ability to run them directly. You could then just download an application, and run it, no weird installation, nothing. It'd be a challenge, for sure. For example, the fault handler in the kernel would have to be able to find the page inside of a compressed ZIP file, if you "do it right". You could cheat and decompress it silently, but that'd could make launching a big application with lots of resources very slow, which is exactly what using a bundle is supposed to help with in the first place (by demand-loading resources). I know about the "stuff the resources inside the EXE" trick, but bundles can (and often do) have multiple binaries.

But they could certainly bite the bullet and find a way, I'm sure.

Note that the Apple approach also follows Avery's first advice. Preference files are created as they are needed, while running the application. It also means that a system administrator can simply put up a read-only file share on the network with the applications used in the office, and it'll Just Work (tm).

Date: 2007-07-26 09:44 pm (UTC)
metawidget: A platypus looking pensive. (Default)
From: [personal profile] metawidget
Another nice thing about dropping a packaged app in your Applications folder over traditional installers is that it rarely, if ever, requires you to override OS X's traditional paranoia by typing in an admin password.

It makes trying new stuff out a little less hair-raising. It's probably as much of an effect as a cause of the package system, though: only the writer an app that needs to muck with your system (or one that would want you to sit there and watch "Adobe makes your life better" ads for an hour) would consider an installer.

Date: 2007-07-26 11:51 pm (UTC)
From: [identity profile] pphaneuf.livejournal.com
Will Adobe really make my life better?

Date: 2007-07-27 12:04 am (UTC)
metawidget: A platypus looking pensive. (bugs)
From: [personal profile] metawidget
You have a 30-day free demo to find out.

Date: 2007-07-27 02:37 am (UTC)
From: [identity profile] lautreamax.livejournal.com
Hi. I'm commenting on something I don't usually comment on, as a non-techie person. But honestly, I find this whole complaint about the .dmg installations rather silly. "...all these manual steps..." WTF? It takes me on average about 15 seconds to install new software on my Mac. (Excluding big applications like Photoshop, etc.) Have we really gotten to the point where people have nothing better to complain about than having to drag an drop a couple of icons?

This isn't even a pro-Mac comment. I'm just kind of half-amused, half-annoyed by the total geekiness of the complaint.

Date: 2007-07-27 03:13 am (UTC)
From: [identity profile] pphaneuf.livejournal.com
Seems like this guy got rather unlucky. I've had some rather weirdly packaged Mac apps from the web too. Being zipped made it so that I couldn't just click on them. Sometimes, they unpacked the DMG in a weirdly named directory that didn't match the name of the ZIP file, so I had to look around.

And while Avery and I are basically saying the same thing you are, it's true that the whole disk image thing is a bit strange. It's not much effort in terms of time or clicks, but it's just conceptually odd, compared to how intuitively simple the rest of the process is. Note that mounting and unmounting devices is something that the Linux people had to work hard to get rid of and make it similar to Mac OS X (plug it in or insert it, appears right away), so having brought back the "mount" operation for the disk images is a bit backward.

But that anyone would prefer Windows-style installers, or even Mac OS X .pkg files, to the simplicity of just putting your application where you want it, I don't understand.

Even a "big" application like Photoshop could (and probably should) be simply on the CD-ROM, and you'd just drag it to your Applications folder, IMHO.

February 2016

S M T W T F S
 123456
7891011 1213
14151617181920
21222324252627
2829     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 20th, 2026 04:45 am
Powered by Dreamwidth Studios