Interesting it works OK for you. Was it launched from the download folder? I’ve actually had some sporadic results in testing including double clicking the icon for the first time and getting simply “#@% could not be found” (or something similar) without the app even attempting to launch. Assuming that’s a Sierra beta bug
[quote] !@#$% the app wants to show me daily tips. Haven seen those on the Mac for a long long time. Other than that the app starts fine - even from the downloads folder
[/quote]
Glad that was O M G and not a curse. Yeah, the help was developed long ago. We have a swoopy new version coming out soon.
True. It’s strange that it doesn’t work some of the time. In any case, Apple seems keen on you using DMGs and not zips and I’m sure they’re will be other consequences now or later.
It’s Apple way, or the freeway. Has been like that for a very long time.
To be fair, on the other side, the installer is the only valid way to proceed. A naked executable in a zip, even signed, may trigger nasty messages from the system, or require to confirm one wants the program to modify the system, as Windows thinks it is an installer. Not to mention the not so seldom occurrence when execution is prevented on EXE out of the Program Files directory. And don’t get me started on heuristic anti viruses apps that prevent execution of non installed apps for fear they be trojans.
I tend to regard all that as “When in Rome, do like the Romans do”. On Mac, users have come to expect a DMG, and sometimes an installer, but many users balk about installers, especially for evaluation software, if there is no uninstaller.
So, macOS makes it even more difficult to stray. Is it that of a problem ? What really protected Mac against malware for years is not some magical grigri employed by Steve Potter. It is the set of very stringent rules that prevent the sort of things that happen in Windows and Android apps. If anything, I rather go for prophylactic prevention, than messy anti malware bloatware cures.
I suspect this has more to do with avoiding viruses and malware. If the user has no choice about the product being launched all kinds of bad stuff would be installed.
It was possible to autostart a program on a CD in Mac OS9 and this feature was used by a worm to infect Macs
“It was in Hong Kong, in 1998, when the next significant Mac malware outbreak was first spotted. A worm dubbed AutoStart 9805 spread rapidly in the desktop publishing community via removable media, using the CD-ROM AutoPlay feature of QuickTime 2.5+”
[quote=286414:@Greg O’Lone]I suspect this has more to do with avoiding viruses and malware. If the user has no choice about the product being launched all kinds of bad stuff would be installed.
Remember autorun.bat?[/quote]
You are right. Autorun on CDs was also host for many pests.
Autorun on Windows works with USB sticks even when logged out… the latest attack vector is to manipulate a computer without the need to login… it just installs a new network device via autorun due unknown ethernet-lan hardware… works too on Macs…
apps run from the folder they were unzipped normally work just fine. There is an extended delay as they are translocated making for a longer than usual launch time, but otherwise xojo apps should run just fine translocated after that extended launch time. The only problem is if you need to load other things via relative paths that are also in the unzipped folder. The link to those things would be broken, they will not be found because they are not translocated along with the app.
Otherwise its really a non-issue. So if your app isnt large enough that the translocation takes long enough to worry users and you dont try to load or find other things in the same folder that you zipped then yes, you can still use a zip.
in my case my users unzip and copy the app into the folder they usually run it from with its support databases and folders, or they move it into the applications folder in which case the app puts its support files where they really belong in the application support folder. This app has been around long enough to pre-date the applications folder So it will work either from there or the application folder. But you cant unzip into the application folder without a lot of extra work so its unlikely to be a problem. Or my users could copy the support files INTO the folder that results from the unzipping… and someday someone will do that and it wont work, but mostly it should be fine.
DMGs are the defacto standard as it seems. But they are a bit unlucky. Even with hints as outlined above (graphical arrows indicating to move it to the applications folder) - I see MANY average mac users running the apps from the DMG. They don’t know that they really should copy it to the applications folder (some of them being ex-win users that were used to installers, so…). Instead, they mount the DMG after every restart anew and run the app from there.
HOWEVER, a good practice is trying to detect upon application startup if it was launched from a DMG and then warn the user/offer the option to automatically copy the app to the applications folder and launch it from there again.
HOWEVER, a good practice is trying to detect upon application startup if it was launched from a DMG and then warn the user/offer the option to automatically copy the app to the applications folder and launch it from there again.[/quote]