How do I get user input into a PackageMaker package?

Posted by Brian Postow on Stack Overflow See other posts from Stack Overflow or by Brian Postow
Published on 2010-05-24T17:38:05Z Indexed on 2010/05/24 17:41 UTC
Read the original article Hit count: 258

Filed under:
|
|

I'm trying to create an install package. I've got all my components, and I think I understand most of the process. I want to have an install/set-up script that is run as part of the install. I planned to put it either as a post-install action or a post-install script.

The problem is that I need user-input. I can't figure out how to either get user input into the script, or how to add a page in the install UI that has a place for user input and then pass that on to the script.

I guess, I could write an apple-script with a dialog to ask the question, and then pass that information on to my shell script (or, write the whole thing in the applescript) but that seems unnecessarily complicated...

Is there a normal way to do this?

Thanks

© Stack Overflow or respective owner

Related posts about mac

Related posts about deployment