by pavlov · 3mo ago · 0 comments
So, you download a file, and it's something called an "image" which opens in Finder like you'd inserted an external thumb drive. Fine. You open the image, and inside is... Your own Applications folder? Wait, how can the file I downloaded contain all of my apps?
This kind of indirection is natural to developers and other advanced users: the file you got from the internet doesn't really know about your Applications, it's a link to a generic system location that gets resolved by Finder. But for less advanced users it's oddly circular: this virtual disk that came from the internet has my data in it. It's something that never happens with an actual thumb drive.
They just see “oh, I drag the app to applications”. The main issue I’ve seen is that people try to run the .app from the disk image, or forget to eject the image after moving the app.
Well designed dmg drag-drop style deployments will actually put some background artwork with arrows and text instructions telling the user to drag and drop into Applications.
Still, I think .pkg package style installers are the most intuitive process for non-techies, especially those coming from windows where MSI and install wizard style exes are common.
Nope. It's an app that is simply the .app bundle, skipping the whole historical footnote of a .dmg completely. Once you first run it, it asks if you want to move it to Applications, and promptly restarts from its new location.
The disk image could put a background image with instruction visual, decide the visual placement of icons. Applications could include folders with brush packs, example documents, user manuals and such.
The fact that it was a disk image could be seen as confusing if you read that closely, but if you ignore the file type it was simply an icon that you could double click to open a piece of installer UI.
(The biggest issue I'm aware of is that if you have an old version of the app indexed anywhere on your root drive - for example in ~/qa/app-v1.02-DO-NOT-DELETE - it will literally stomp over that instead of installing the app to /Applications, even if the developer manually specified the install location as /Applications in the manifest.)
But for uninstallation, not a chance. There's no Mac equivalent to Add or Remove Programs on Windows - once you install a PKG good luck uninstalling it.
But this really confused me when I first started using macOS as well. You're just expected to know that the applications folder in the disk image you just downloaded isn't actually inside of the disk image.
When I first opened a .dmg, I thought the arrow symbolised some kind of progress bar and waited for a moment to let it do its installation. That didn't work, so I copy-pasted the folder into my Applications folder manually. When I later opened a different .dmg that had instructions about how I needed to drag and drop myself, I actually realised what I needed to do.
i mean its neat from a minimalism perspective, but the decision to not ship with a regular installation UI in OG macOS X came with the tradeoff of not cleanly _uninstalling_ software either. config files etc were always left over.
but i guess - as Apple keeps locking down good old macOS X in favour of forcing software to go through the Apple Store this is going away as a sideeffect?
That's no different than windows or linux. The uninstallers leave configuration bits all over the place be it in the registry or config folders.
But they have regular installers, they are called .pkg and look like a wizard. Programs distributed as a single .app don’t really need them though.