FROM : Ryan Harter
DATE : Wed Jun 25 22:59:09 2008
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_removed>>
> 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_removed>)
>>>>
>>>> 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.<email_removed>
>>>>
>>>> This email sent to thomas.<email_removed>
>>>
>>>
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (<email_removed>)
>>
>> 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/<email_removed>
>>
>> This email sent to <email_removed>
DATE : Wed Jun 25 22:59:09 2008
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_removed>>
> 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_removed>)
>>>>
>>>> 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.<email_removed>
>>>>
>>>> This email sent to thomas.<email_removed>
>>>
>>>
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (<email_removed>)
>>
>> 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/<email_removed>
>>
>> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Ryan Harter | Jun 24, 01:17 | |
| Thomas Bartelmess | Jun 24, 22:24 | |
| Ryan Harter | Jun 25, 18:41 | |
| Wayne Packard | Jun 25, 20:18 | |
| Ryan Harter | Jun 25, 22:59 | |
| Stéphane Sudre | Jun 25, 23:40 | |
| Wayne Packard | Jun 26, 05:45 |






Cocoa mail archive

