beautypg.com

Installer, Using installer – Apple Mac OS X Server (Administrator’s Guide) User Manual

Page 558

background image

558

Chapter 17

installer

You can use the installer tool to install software packages from a CD-ROM on a mounted
remote server volume. This tool doesn’t perform any authentication, so if a package needs
authentication (set in the package’s .info file), you must log in as root or use the sudo
command.

Remember that copyright laws may prevent certain programs from being shared. Before
putting programs inside shared folders, check the applicable licensing agreements and follow
their requirements.

Using installer

Here are the parameters that installer accepts. Parameters are delimited using angle brackets
(<>) if they are required and square brackets ([]) if they are optional:

installer [-volinfo] [-pkginfo] [-allow] [-dumplog]

[-help] [-verbose] [-vers] [-config] [-plist]

[-file pathToFile] [-lang isoLanguageCode]

<-pkg pathToPackage> <-target pathToDestinationVolume>

where

-volinfo

displays a list of mounted volumes into which the software package can be installed.

-pkginfo

displays a list of packages that can be installed onto the target volume. If a metapackage is
specified, all of its subpackages are listed.

-allow

installs an older version over a newer version if the software package supports this.

-dumplog

sends the standard installer log to StdOut.

-help

displays a list of parameters you can use with the installer tool.

-verbose

displays more information than the default output, which is formatted for scripting. Use
this parameter in conjunction with information requests.

-vers

displays the version of the tool.

This manual is related to the following products: