This is useful information, Jeremy. I'd be a little shocked if many
sysadmins are installing my particular software, but you're right
APP_DIR was a little squirrelly. I'll tweak it and keep this in mind
generally. I do use a metapackage but undoubtedly get lazy here and
there.
Thanks.
-Adam
On Tue, Mar 17, 2009 at 11:59 AM, Jeremy Reichman <email@hidden> wrote:
> Might I suggest in the politest possible way -- since sys admins tend to
> dislike installers that copy/choose/rewrite installed files in scripts --
> the use of another method? This does not appear to be a particularly
> egregious example, so I mention this merely for consideration.
>
> Perhaps you could have each file in its own package, and only install the
> right one based on the same conditions? Then install your whole app with a
> metapackage? It's a little more work to create the installation than to do
> it all through a script, but something like this might be friendlier on the
> deployment side.
>
> Also, not seeing the rest of your script, I don't know if "$APP_DIR" is
> based on a hardcoded path. Hopefully, it is based on the arguments and
> environment variables for install operations -- but it is not one of the
> documented installer environment variables.
>
> <http://developer.apple.com/documentation/DeveloperTools/Conceptual/Software
> Distribution/Install_Operations/Install_Operations.html#//apple_ref/doc/uid/
> 10000145i-CH14-SW1>
>
> It may be helpful to be aware that the sys admin community is installing
> software without the GUI (such as in the background or from the command
> line) and increasingly often to non-root volumes (especially when creating
> deployment images). Installers which make it more difficult to do these
> things are likely to get chucked and the software repackaged, so the
> original installer work goes for naught.
>
>
> --
> Jeremy
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Java-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
Adam Fisk
http://www.littleshoot.org
read my blog at: http://adamfisk.wordpress.com
follow me at: http://twitter.com/adamfisk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden