September 4, 200718 yr The application component of a runtime solution apparently has some high-level protection that prevents it from being overwritten during a copy or install operation. When deploying new releases of my software, I want to be able to replace the current application file on the users computer to assure they have the latest update of FM as well as the latest database structure/scripts/layouts etc. When copying the new application folder over the old one in a MAC environment, an error occurs preventing the copy from completing. The message "The operation cannot be completed because the item 'FMStrs.dls islocked'" is displayed. (This also occurs when trying to empty trash containing the application folder, but holding down the 'option' key when emptying trash solves that part of the problem) How can I overcome the 'locked' issue when deploying a new copy of the application folder at a users site?
September 4, 200718 yr Unlock 'FMStrs.dls'. I have it unlocked in the base-file: MacHD/Applications/FileMaker Pro 8.5 Advanced/FMI Runtime Resources/Internal Runtime Libraries/Runtime.app/Contents/Resources/English.lproj/FMStrs.dls (and any other language folder), so that my runtimes don't give this problems. This has until now never caused any problem. Edited September 4, 200718 yr by Guest
September 4, 200718 yr Author When I use the finder and open the 'Internal Runtime Libraries', I find a file name 'Runtime' which is an application, but when I try to open it (double click) to get to the next directory level, it tries to run. Any tips on how to get inside 'Runtime' to find FMStrs.dls? Thanks
September 4, 200718 yr Right click (or Ctrl-click) the file 'Runtime' and choose 'Show Package Contents'. Be careful what you do there. Maybe you should first look for some documentation about Mac OS X applications and the way they're built. Edited September 4, 200718 yr by Guest typo
September 6, 200718 yr Author Thanks. Unlocking the file does permit overwriting/trashing. I unlocked the file in the FM folder in 'applications' thinking that it would remain unocked when a runtime solution is created, but each time the runtime solution is built, the file occurs in the 'locked' state in the runtime. So it appears I have to remember to unlock it each time a new runtime solution is created. Is that correct?
September 6, 200718 yr Not if you unlock 'FMStrs.dls' in the file 'Runtime' in the location 'Internal Runtime libraries'. This file is the source for all the runtimes that you create.
September 7, 200718 yr Author That is where I have unlocked it, and it still insists on re-locking it in the runtime when the runtime is created. After the runtime creation, it is re-locked in :Contents:Resources:English.lproj:FMStrs.dls but remains unlocked in the 'Internal Runtime Libraries' folder in the FileMaker Pro Advanced application folder.
September 7, 200718 yr If you 'recompile' your runtime solution to the same location, the application file might not be overwritten. Try to trash your earlier file, or 'compile' to a new location.
January 12, 200818 yr Could you explain how to "unlock" the file. I am not sure what this means. Thanks bob
January 12, 200818 yr To unlock any file (in Mac OS X) Select the file in Finder Press Cmd-I or choose menu-item 'Get Info' Uncheck 'Locked' HTH
January 13, 200818 yr Thanks, Facing a learning experience with runtime applications distribution issues, especially Vista. Bob
Create an account or sign in to comment