Re: Installing from the Resources folder
Re: Installing from the Resources folder
- Subject: Re: Installing from the Resources folder
- From: Bill Coderre <email@hidden>
- Date: Tue, 14 Jan 2014 15:43:38 -0800
1) If you are using the “License” installer plugin (and you should), there’s a button to save the license wherever the user wants. Isn’t that good enough?
2) Apple adds licenses/acknowledgements to the payload, usually as part of the application itself. This makes the package bigger, but it greatly simplifies coding.
3) Please bear in mind that this is not an endorsement, and is not guaranteed to work.
You can find user language preferences here
https://developer.apple.com/library/mac/qa/qa1391/_index.html
As said below, your current working directory in a post install script is the “Resources” folder in your package.
On Jan 14, 2014, at 3:28 PM, Mitchell J Laurren-Ring <email@hidden> wrote:
> I should have mentioned my installer is localized with 8 languages. How do I get the EULA for the current language?
>
> /Mick
> On Jan 14, 2014, at 3:13 PM, Conor Schutzman wrote:
>
>> In post install, you should just be able to reference the file as ./filename (as your PWD for the post install script *should* be the same folder). You could then just use that as the source in a copy command.
>>
>>
>>
>> On Jan 14, 2014, at 2:58 PM, Mitchell J Laurren-Ring <email@hidden> wrote:
>>
>>> Is it possible to install a file from the installer package Resources folder? My overlords want to save the EULA so the user can look at it any time they like.
>>>
>>> Is there a way to do this from the postflight script? Environment variables?
>>>
>>> /Mick
>>> _______________________________________________
>>> 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
>>
>
>
> _______________________________________________
> 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
_______________________________________________
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