Prompt for User Input

24 views
Skip to first unread message

Jamie

unread,
Oct 1, 2015, 2:56:50 PM10/1/15
to The Luggage
Brand new to the luggage and pkgs.  Apologies for my grand ignorance.

I'm creating a pkg that installs a config file alongside a LaunchDaemon.  This config file requires unique information (remote host, username, password) from the user. 

Can I prompt the user using a preinstall script and update the config file before copying it to its destination?  How would you do this? Should I use applescript to display a dialog?  Can the input data be passed to a temp ENV variable to be picked up by the makefile, or a postinstall script?

Thanks,
Jamie

Allister Banks

unread,
Oct 1, 2015, 4:11:09 PM10/1/15
to the-l...@googlegroups.com
Normally, you wouldn't use theLuggage for this. You'd use a tool like Packages, or custom-make an installer plugin, information for which can be found here: http://s.sudre.free.fr/Software/Packages/resources.html
Allister

--
You received this message because you are subscribed to the Google Groups "The Luggage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to the-luggage...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages