I’ve never managed to find a reliable way of installing a built application on our client Macs.
Our network is 15 Macs running latest versions of 10.10 or 10.12. 4D is version 15.5 and I’m compiling an app using 4D Volume Desktop. The data is all stored in a MySQL database, accessed via the MyConnect plugin, so the 4D data file is only used to get things started. The data file is stored in Users/Shared/MyProgram. I have tried installing the compiled app by copying it directly on to the client machines, and by building a package and running installer. I’ve tried installing in the applications folder and in the Users/Shared/MyProgram folder. Always I get one of the following issues: 1. Crash immediately after selecting the data file. Extract from crash report says: > Crashed Thread: 8 Application process (id = -1) > > Exception Type: EXC_BAD_ACCESS (SIGSEGV) > Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020 > Exception Note: EXC_CORPSE_NOTIFY > > Termination Signal: Segmentation fault: 11 > Termination Reason: Namespace SIGNAL, Code 0xb > Terminating Process: exc handler [0] 2. Error on launch telling me that the error dialog could not be loaded (I haven’t seen this one recently so can’t remember the exact words). The app continues to load after dismissing the dialog. 3. Runtime error on quit - "error when executing the method sponsored (runtime) at line number 13, database is write protected” 4. Error telling me that the file is write protected I can fix all of these problems by either: a) getting info on the folder enclosing the app (when it’s not in the applications folder) and applying its privileges to the enclosed items; or b) copying the application to the desktop and then copying it back into the applications folder. This alters the owner from “system" to the logged in user. In both scenarios, I can’t see any obvious alterations to the permissions, by carrying out this instruction, but it’s the only way I can find to make the app work. But obviously this is not a sustainable solution, as I have to log into each computer (albeit using Remote Desktop) and alter the privileges on every computer, every time I deploy an update. Does any of this make any sense to anyone? TIA James ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

