News for hackers. Stuff that matters.
Re:Tell HN: Cisco WebEx on OS X uses the same pre-installer ... by nathancahill on Thursday April 09, 2020 @05:58AM (#22821109)
Even worse when they don't copy it off the DMG. Just leave the DMG mounted.. forever.
Re:Tell HN: Cisco WebEx on OS X uses the same pre-installer ... by inetknght on Thursday April 09, 2020 @10:45AM (#22823012)
What's the problem with leaving the exe in the DMG instead of copying it out? As a user and a developer I don't see any problem with this whatsoever unless the application is poorly built.
Re:Tell HN: Cisco WebEx on OS X uses the same pre-installer ... by berdario on Thursday April 09, 2020 @07:12AM (#22821423)
Oh wow, I had no idea about the unintended consequences of the DMG + App bundle installation mechanism.

Maybe the issue could be ameliorated with a self-updater built-in into the app? Not a separate daemon, but something that by running inside the app, would be able to know what's the path of the old version that should be thrown away.

Re:Tell HN: Cisco WebEx on OS X uses the same pre-installer ... by lvillani on Thursday April 09, 2020 @07:57AM (#22821670)
Some apps offer to move themselves to /Applications on first launch.

Still, there's the possibility of users clicking "Cancel". Even then, it's a bit more code to write, test and pay for (from the POV of a client).

Wrapping the bundle inside a .pkg instead of a .dmg solves the problem "for free".

Re:Tell HN: Cisco WebEx on OS X uses the same pre-installer ... by ThePowerOfFuet on Thursday April 09, 2020 @07:42AM (#22821588)
The de facto standard for this is Sparkle.framework, and it's excellent.
Re:Tell HN: Cisco WebEx on OS X uses the same pre-installer ... by lonelappde on Thursday April 09, 2020 @12:32PM (#22824257)
That's good. It's called a portable app and it reduces pollution of your environment. It's a simple partial implementation of something like Docker.
Re:Tell HN: Cisco WebEx on OS X uses the same pre-installer ... by nathancahill on Friday April 10, 2020 @05:06AM (#22831248)
All fine and dandy until they accidentally eject the DMG and can't figure out where their browser went.