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 PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/thomas.bartelmess%40yahoo.de

This email sent to [EMAIL PROTECTED]



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/wpackard%40mac.com

This email sent to [EMAIL PROTECTED]
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to