1834882 Members
2712 Online
110071 Solutions
New Discussion

Re: swinstll command

 
sheevm
Regular Advisor

swinstll command

Hi,

Is there a way to specify the target (install directoty) when we execute swinstall command?

Appricate the comments.
be good and do good
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: swinstll command

Shalom,

man page reveals,

[-t target_file]

Perhaps other options should be tried as well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James George_1
Trusted Contributor

Re: swinstll command

What are you trying to install ?

Normally , with swinstall command we select the source depot ( with -s option) and the software that you install knows where to copy / install the files.

for more info on target see - man swinstall which talks about using the target with the '@' sign.

rgds / james
forum is for techies .....heaven is for those who are born again !!
whiteknight
Honored Contributor

Re: swinstll command

kesh,

To specify the target directory

swinstall -s

Make sure has a depot file.

WK
Problem never ends, you must know how to fix it
James R. Ferguson
Acclaimed Contributor

Re: swinstll command

Hi:

If by your question you mean that you want to choose a different installation path than is normally used, then the filesets contained in the package must have their 'is_relocatable' attribute marked "true.

Regards!

...JRF...
sheevm
Regular Advisor

Re: swinstll command

James,

Where would I see this variable set or not?

'is_relocatable' attribute marked "true



OR

Is there a way to cahnge this?

Thanks
be good and do good
James R. Ferguson
Acclaimed Contributor

Re: swinstll command

Hi (again) Kesh:

Sorry, that attribute should have read 'is_locatable'. You can see its setting by adding the '-v' flag to a 'swlist'. For example:

# swlist -v -l product TextEditors

The attribute defines whether a product or bundle can be installed to any product directory, or whether it must be installed into a specific directory.

The 'directory' attribute defines the absolute pathname into which the product 's files are installed.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: swinstll command

Here some other threads with the answer:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1132499
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1165706

>SEP: [-t target_file]

This only works with: (Applies only to HP OpenView Software Distributor.)
@ may be what Kesh wants?

>WK: To specify the target directory
swinstall -s

No, "-s" is for source.

>JRF: If by your question you mean that you want to choose a different installation path than is normally used,

Right. See above links. This is in contrast to the alternate root with "@".