Re: Database locked in merged application

2017-12-27 Thread Chip Scheide via 4D_Tech
IMHO, I feel that this is a bad idea. I have not worked with built applications, so there may not be a away to avoid this situation, BUT... with the datafile inside the app package(Mac) you run the significant risk of deleting the datafile during an update. I always keep the datafile outside the

Re: Database locked in merged application

2017-12-21 Thread Keisuke Miyako via 4D_Tech
one thing to keep in mind is that Default.4DD is always opened in R/O mode in a built application. the main objective of this feature is to suppress the "select or create data file" dialog on startup. I understand your app is meant to be R/O, but normally, there should be code to find and switch

Re: Database locked in merged application

2017-12-21 Thread Keith Culotta via 4D_Tech
Re: So it looks like the data file which is wrapped up inside the application can’t be used After opening the app's package, doing a "Get Info" on the contents, making permissions R/W, and then building the app, that message went away in the built application. I had set the DB preference to

RE: Database locked in merged application

2017-12-21 Thread Timothy Penner via 4D_Tech
My assumption is that the application is falling victim to Gatekeeper and being translocated to a read-only location. Apple documents how to get around this; they suggest signing the app and placing it on a dmg and then signing the dmg. Quote from Apple: "For distribution outside of the Mac App

Re: Database locked in merged application

2017-12-21 Thread James Knight via 4D_Tech
Can anyone help me with this? Thanks James Thanks to those who’ve replied so far with this. I’m using 4D 15.5 build 15.216758 on Mac OS X 10.13.1 I think that I’ve followed the instructions for creating a default data file - I have a Default Data folder next to my .4db file, and this contain

Re: Database locked in merged application

2017-12-20 Thread James Knight via 4D_Tech
Thanks to those who’ve replied so far with this. I’m using 4D 15.5 build 15.216758 on Mac OS X 10.13.1 I think that I’ve followed the instructions for creating a default data file - I have a Default Data folder next to my .4db file, and this contains the default data file (Default.4dd, Default.

RE: Database locked in merged application

2017-12-19 Thread Timothy Penner via 4D_Tech
...@lists.4d.com] On Behalf Of James Knight via 4D_Tech Sent: Tuesday, December 19, 2017 2:41 PM To: 4d_tech@lists.4d.com Cc: James Knight Subject: Database locked in merged application Hi I’ve recently upgraded our database to v15 and see that I should be able to set a default data file in a

Re: Database locked in merged application

2017-12-19 Thread Keisuke Miyako via 4D_Tech
I don't have a solution but to better understand the situation: are you actually using the v15 default.4dd system, or simply placing a {name}.4dd adjacent to the compiled structure file? http://doc.4d.com/4Dv15/4D/15/Default-data-file-in-merged-applications.300-2018649.en.html did you code sign (

Database locked in merged application

2017-12-19 Thread James Knight via 4D_Tech
Hi I’ve recently upgraded our database to v15 and see that I should be able to set a default data file in a merged application. We use the data file only to get the merged application running - all data is stored in a remote MySQL database (not 4D SQL) using MyConnect. Therefore the data file