Re: Installing from the Resources folder
Thanks for your reply, Bill. 1) I am using the plugin. I've asked management if it's sufficient. I want to know my options should they say "no". :) 2) Assuming that my payload does not include a standard app bundle (it does not), is it possible to install only the license agreement for the user's language as part of the payload? /Mick On Jan 14, 2014, at 3:43 PM, Bill Coderre wrote:
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 <lists@rynosoft.com> 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 <lists@rynosoft.com> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/conor%40mac.com
This email sent to conor@mac.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/bc%40apple.com
This email sent to bc@apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Mitchell J Laurren-Ring