Re: automating java install in packages for 10.7 clients
Re: automating java install in packages for 10.7 clients
- Subject: Re: automating java install in packages for 10.7 clients
- From: Stephane Sudre <email@hidden>
- Date: Fri, 29 Jul 2011 19:09:05 +0200
If the Java installer is available as a flat package, you could always
host it somewhere on a http server.
Then, in your distribution script, you create a remote reference to
this package.
And you use a requirement for this (invisible or not) choice that
checks if java is installed. If it's already installed, just unselect
and disable the choice.
My $0.014
On Fri, Jul 29, 2011 at 3:42 PM, Voges,Aaron <email@hidden> wrote:
> Good morning,
> I'm attempting to package a few different applications for Mac OS X 10.7 and
> have noticed that many require Java to be installed on the computer. Since
> the base install of 10.7 doesn't include java i'd like to include a task in
> the software installer to automatically check and, if not installed, install
> Java before installing the software i'm packaging. Does anyone know if
> there is a way to script 10.7 to download and install Java without requiring
> GUI interaction? For example, if Java isn't installed and you run any java
> app or command (for example, in terminal enter "java -version" ) a dialogue
> will appear asking if you want to install Java and, if you chose Install, it
> will download the software from (presumably) an apple server. I would
> prefer to automate this install instead of including Apple's java installer
> since I want my package to always pull the correct and latest version.
> I checked softwareupdate -list and java isn't an available update so this
> mechanism doesn't appear to be applicable.
> Any ideas?
_______________________________________________
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