command line interface - OSX installer change install directory -


i got pkg file in can change installation directory when launched using ui, manpage of installer mention target drive install to.

is there environement variable set when calling installer ?

about target options, installer :

the -target <device> parameter 1 of following:  (1) 1 of domains returned -dominfo. (2) device node entry.  entry of form of /dev/disk*.       ex: /dev/disk2 (3) disk identifier.  entry of form of disk*.  ex: disk1s9 (4) volume mount point.  entry of form of /volumes/mountpoint.       ex: /volumes/untitled (5) volume uuid.  ex: 376c4046-083e-334f-af08-62fafbc4e352 

so target "hard drive", not "root path" pkg should installed.

your question quite unclear: if run installer gui , there 1 drive offered install to, can not change in easy way (means: have make changes installer package install in different location offered default).

since using "cli"-tag (command line interface), think trying run installer not on gui, instead running terminal. there have more options: -target option, can set installpath installer.

information man-pages on -target-option:

the target volume specified -target parameter ( -tgt accepted synonym). must mounted when installer command invoked.

additional informations on how run installer terminal (cli), find on blog.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -