Operating System - HP-UX
1752590 Members
2823 Online
108788 Solutions
New Discussion юеВ

Re: silent install with swinstall

 
alert0919
Advisor

silent install with swinstall


I want to install a depot file with
swinstall

but without GUI or any interactive

how could I do tit
21 REPLIES 21
Sajjad Sahir
Honored Contributor

Re: silent install with swinstall

Dear Alert

swinstall -s with fullpath

thanks and regards

Sajjad Sahir
Michal Kapalka (mikap)
Honored Contributor

Re: silent install with swinstall

Hi,

if you have set x-forwarding.

(unset DISPLAY; swinstall -s /path_to/depot )

mikap
Dennis Handly
Acclaimed Contributor

Re: silent install with swinstall

>Sajjad: swinstall -s with fullpath

You need to add \* or the product to the end:
swinstall -s with-fullpath \*
Anoop P_2
Regular Advisor

Re: silent install with swinstall

Here is the command to install all products/patches from a depot on another system and that does not need a reboot:

#swinstall -s depothostname:/depot/path \*

If the installation of any of the products will need a reboot then you must allow it by:

#swinstall -x autoreboot=true -s depothostname:/depot/path \*

If the depot is on the same system, you can remove the depothostname part above.

If you want to install a specific product from the depot:

#swinstall -s depothostname:/depot/path productname

#man swinstall will give you various other options too.
alert0919
Advisor

Re: silent install with swinstall

maybe i describe clear

I would like to use swinstall to install my depot file

when I use swinstall -s fullpath
only select source file no GUI
it will enter GUI interface to analysis file
but I would like it.

I would like to use swinstall to install my depot file without any GUI interface or unattended

what the command is

thanks
Anoop P_2
Regular Advisor

Re: silent install with swinstall

Hello alert0919,

The GUI starts because a selection is not made. Please look at the "\*" at the end.

swinstall -s depothostname:/depot/path \*

will NOT take you to GUI, but will install the product.

Send me the server name/depot path if you want the exact command.


alert0919
Advisor

Re: silent install with swinstall

thanks for all responese
it can work.

I have another question if
I use swremove to remove my application
it only remove some file ,not all file
Question1
it could remove all file and that I create
directory ,could I remove all include that directory I creataed.
it needed another script or swremove command it could did ?
question2
does swremove it also could silent remove
what the command is ?



Michal Kapalka (mikap)
Honored Contributor

Re: silent install with swinstall

hi,

swremove ( and product names that you would like to remove )

for example :

swremove IGNITE .....

mikap
Anoop P_2
Regular Advisor

Re: silent install with swinstall

swremove will usually remove all files it installed at the first place.

#swlist -l file -s depothostname:/depot/path product

will list the files included in the product/file set. swlist will remove all of these.

Any directory you created will not automatically be removed. You'll have to remove it.

Yes swremove can also be silent by using the follwing:

swremove product