Re: Hi, All,
Re: Hi, All,
- Subject: Re: Hi, All,
- From: Christopher Ryan <email@hidden>
- Date: Wed, 25 May 2005 14:04:33 -0700
Future ideas aside, the only way to do this in a "supported" fashion
is to use an Installer Plugin introduced in Tiger.
These plugins let you add a "section" in the Installer. You cannot
add UI "during" install, but you can add UI right before or right
after the files get laid down.
If you have Tiger, there is an "Installer Plugin" template in Xcode
under the "Standard Apple Plug-ins" section of the new project dialog.
If you have further questions feel free to ask, since there is little
documentation other then the headers in the
"InstallerPlugins.framework".
Chris
Sure would be nice to do it like InstallShield on Windows does. You
can have default values that are picked in the case of a silent
install and use a script to populate the values too. If the install
is not run silently then it would have forms to get the
information. Then you can do silent or prompted installs.
----- Original Message ----- From: "Peter Bierman" <email@hidden>
To: "Dave Johnson" <email@hidden>
Cc: <email@hidden>
Sent: Wednesday, May 25, 2005 4:20 PM
Subject: Re: Hi, All,
Why can't the client app/tool ask the user the first time it's run?
Adding user interaction during the install process makes it very
difficult to use that installer in any kind of automated
situation, such as university labs, ARD Managed environments,
clusters, etc...
(See also: QuickTime registration panel during Software Update.)
For that reason we highly discourage people from launching
interactive apps or tools from the pre/post scripts.
-pmb
At 1:29 PM -0400 5/25/05, Dave Johnson wrote:
Hi, All,
Is running a separate application from e.g. preflight the only
way to get user input during the install process?
This seems like a common need that Installer could handle, but
I've not found any other way.
This post:
http://lists.apple.com/archives/installer-dev/2005/Feb/msg00002.html
seems to imply that launching an app is the only way.
My application is the client for a client-server application, and
I need to tell it which server to connect to.
I worked out an obscure way to do this using a Terminal window
and shell script, from preflight, but it looks like Tiger breaks
what I am doing.
A cocoa app to ask the question would look better anyway, but it
just seems like overkill to have an entire application that ships
in my install just to ask one little question and to get the
result into a file (or an environment variable would probably do)
so that postflight has it available for configuring the client app.
Thanks in advance for any help/advice/suggestions!
== dj
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
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:
40joshie.com
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
References: | |
| >Hi, All, (From: "Dave Johnson" <email@hidden>) |
| >Re: Hi, All, (From: Peter Bierman <email@hidden>) |
| >Re: Hi, All, (From: "Joshua Levitsky" <email@hidden>) |