Assuming you are talking about Apple's PackageMaker, you can use a shell script 
to set read-write.  For the Package there is a Scripts tab with an entry for 
Postinstall that will run after install.  I think you are using this for 
AppleScript already.

You can create a shell script by going to Terminal and typing "pico" to run the 
text editor.

Then type a script like:
#!/bin/sh
chmod -R 777 '/Applications/MyApp'

Type control-x (shown as ^x at the bottom of the window) to eXit and follow 
prompts to save as something like "myscript".

Back in Package, Scripts, Postinstall select your script (/Users/me/myscript).  
This script just says use bourne shell (bin/sh) set all contents (-R) to 
read-write for all (777).

hth,


Spencer


> On Jul 11, 2017, at 4:12 AM, Nigel Greenlee via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Hi
> 
> I wondered if anyone else has used ‘Packages’ for creating an installer(maybe 
> you can suggest a similar product). I am creating a simple installer for an 
> in-house application-i will rather give the users a link to an installer than 
> a .zip as they have a habit of installing stuff on the desktop.(this is on 
> OSX only)
> 
> I know this is slightly ‘off topic'
> 
> I am however having two problems:-
> 
> The first is with permissions. If i zip the .4dbase up and send it to a 
> machine the installed app runs fine. However when i create an installer 
> package(with user persmissions set to Owner Root and user Admin(i also tried 
> user Wheel) The installed application does not have the correct permissions 
> and wants to open read only. I wondered if anyone has a suggestion to 
> overcome that.
> 

**********************************************************************
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:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to