• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Rich Kubota <email@hidden>
  • Date: Fri, 23 Mar 2007 14:01:39 -0700

I received the following.

Q1 - Is there an undocumented command line packagemaker option to manipulate the file permissions as he asks below. Seems like he should be able to do this himself with a script better than packagemaker could do.

Q2. To preserve Resource forks, what about using the -s option.

thanks
rich

As part of our daily development routine, I have a machine that, once a day, builds my application using the most recently available source from my repository. This is all accomplished automatically using shell scripts triggered from a launchd task, and this has worked well.

I now need to take my built application, and automate the production of an installer package into this daily routine. I have a .pmproj file that I have used periodically to build the package. Using the PackageMaker UI, everything works fine.

But,

I want to invoke PackageMaker from the command line. The issues I face are:

1: I cannot set the recommended file permissions for the installer sources from the command line via PackageMaker.
2: I cannot preserve resource forks without authorizing, which can only be done via the UI.


I do not want to work my way through each file/directory individually for step 1, my app contains 2738 items. This is subject to change daily and would be a major headache to maintain a matching script.

Is there a way to accomplish my goals? Are there some undocumented command line switches for Package Maker to achieve this result? Is there a shell script you can share that will set the permissions?

If necessary I can convert my resources to data fork based files, so (2) has a workaround, but I hope you have a better one.

--
Sincerely,
Rich Kubota
email@hidden
(408) 974-6212
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Fixing file permissions pre-build
      • From: Gary Pederson <email@hidden>
    • Fixing file permissions pre-build
      • From: Gary Pederson <email@hidden>
  • Prev by Date: Re: Postgres within installer sometimes does not work
  • Next by Date: Fixing file permissions pre-build
  • Previous by thread: Re: Postgres within installer sometimes does not work
  • Next by thread: Fixing file permissions pre-build
  • Index(es):
    • Date
    • Thread