• 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
Re: Creating Installer Package from Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating Installer Package from Cocoa


  • Subject: Re: Creating Installer Package from Cocoa
  • From: Ryan Harter <email@hidden>
  • Date: Wed, 25 Jun 2008 15:59:09 -0500

That sounds like exactly what I would like to do, but I'm not quite sure how to copy the plist into the package. I was looking at using pax, but since I'm targeting Leopard, and developing on Leopard, package maker keeps making metapackages, which pax doesn't seem to understand, and I can't find out the equivelent of the old "Show Package Contents."

So far it seems o be the metapackages screwing me up.  Any thoughts?

Ryan

On Jun 25, 2008, at 1:18 PM, Wayne Packard wrote:

If the only thing that changes about the pkg is that one plist file, you could create the pkg manually and store it as a resource. When you want to write out the custom installer, write a copy of your pkg template to disk and then copy in your newly-created plist file.

wp

Sent from my iPhone

On Jun 25, 2008, at 12:41 PM, Ryan Harter <email@hidden> wrote:

Thanks for the response Thomas.

What I want to do is create the pkg on the fly by the code. The setup program has text fields for the user (in this case the lab administrator) to set the custom preferences which my program pulls from the plist. Now I just need to be able to construct a plist from those textfields (not too difficult with NSUserDefaults) and create an installer pkg on the fly that includes that custom plist. This way the user will be able to deploy their customized version of my software without ever having to manually edit the plist and then copy it down to all the machines.

Is this something you have done before and might know how to do.

Thanks again.

Ryan


On Jun 24, 2008, at 3:24 PM, Thomas Bartelmess wrote:

Hi Ryan,
i have not unterstand your question completely.
Do you what to create a Installer pkg on the fly by code or do you what to create a InstallerPackage with some custom pages and settings.
Both is possible.
I would like to help you


Thomas


Am 24.06.2008 um 01:17 schrieb Ryan Harter:

Hey all-

I have a helper program that essentially only needs to create a plist for a different gui-less program. This can be done manually, but I want a gui to aid users. What I would like, is for the user to open this setup program, set some custom strings and other preferences, and have the setup program make a pkg including the plist that can then be deployed to all the macs.

Any thoughts,

Ryan
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com


Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Creating Installer Package from Cocoa
      • From: Wayne Packard <email@hidden>
    • Re: Creating Installer Package from Cocoa
      • From: Stéphane Sudre <email@hidden>
References: 
 >Creating Installer Package from Cocoa (From: Ryan Harter <email@hidden>)
 >Re: Creating Installer Package from Cocoa (From: Thomas Bartelmess <email@hidden>)
 >Re: Creating Installer Package from Cocoa (From: Ryan Harter <email@hidden>)
 >Re: Creating Installer Package from Cocoa (From: Wayne Packard <email@hidden>)

  • Prev by Date: Re: How to use .a in XCode?
  • Next by Date: SSH Wrapper
  • Previous by thread: Re: Creating Installer Package from Cocoa
  • Next by thread: Re: Creating Installer Package from Cocoa
  • Index(es):
    • Date
    • Thread