<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: silent install with swinstall in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179265#M459715</link>
    <description>&amp;gt; it only remove some file ,not all file&lt;BR /&gt; &lt;BR /&gt;This is part of the depot package. A well written package will remove all the necessary files -- but config files and custom files (typically in /var/opt or similar temp directories) are usually not part of the package.</description>
    <pubDate>Fri, 05 Jun 2009 00:07:27 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2009-06-05T00:07:27Z</dc:date>
    <item>
      <title>silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179255#M459705</link>
      <description>&lt;!--!*#--&gt;&lt;BR /&gt;I want to install a depot file with&lt;BR /&gt;swinstall &lt;BR /&gt;&lt;BR /&gt;but without GUI or any interactive&lt;BR /&gt;&lt;BR /&gt;how could I do tit</description>
      <pubDate>Thu, 04 Jun 2009 05:59:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179255#M459705</guid>
      <dc:creator>alert0919</dc:creator>
      <dc:date>2009-06-04T05:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179256#M459706</link>
      <description>Dear Alert&lt;BR /&gt;&lt;BR /&gt;swinstall -s with fullpath&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir</description>
      <pubDate>Thu, 04 Jun 2009 06:11:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179256#M459706</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-06-04T06:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179257#M459707</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you have set x-forwarding.&lt;BR /&gt;&lt;BR /&gt;(unset DISPLAY; swinstall -s /path_to/depot )&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Thu, 04 Jun 2009 06:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179257#M459707</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-06-04T06:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179258#M459708</link>
      <description>&amp;gt;Sajjad: swinstall -s with fullpath&lt;BR /&gt;&lt;BR /&gt;You need to add \* or the product to the end:&lt;BR /&gt;swinstall -s with-fullpath \*</description>
      <pubDate>Thu, 04 Jun 2009 06:24:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179258#M459708</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-04T06:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179259#M459709</link>
      <description>&lt;!--!*#--&gt;Here is the command to install all products/patches from a depot on another system and that does not need a reboot:&lt;BR /&gt;&lt;BR /&gt;#swinstall -s depothostname:/depot/path \*&lt;BR /&gt;&lt;BR /&gt;If the installation of any of the products will need a reboot then you must allow it by:&lt;BR /&gt;&lt;BR /&gt;#swinstall -x autoreboot=true -s depothostname:/depot/path \*&lt;BR /&gt;&lt;BR /&gt;If the depot is on the same system, you can remove the depothostname part above.&lt;BR /&gt;&lt;BR /&gt;If you want to install a specific product from the depot:&lt;BR /&gt;&lt;BR /&gt;#swinstall -s depothostname:/depot/path productname&lt;BR /&gt;&lt;BR /&gt;#man swinstall will give you various other options too.</description>
      <pubDate>Thu, 04 Jun 2009 06:24:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179259#M459709</guid>
      <dc:creator>Anoop P_2</dc:creator>
      <dc:date>2009-06-04T06:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179260#M459710</link>
      <description>maybe i describe clear&lt;BR /&gt;&lt;BR /&gt;I would like to use swinstall to install my depot file&lt;BR /&gt;&lt;BR /&gt;when I use swinstall -s fullpath&lt;BR /&gt;only select source file no GUI&lt;BR /&gt;it will enter GUI interface to analysis file&lt;BR /&gt;but I would like it.&lt;BR /&gt;&lt;BR /&gt;I would like to use swinstall to install my depot file without any GUI interface or unattended&lt;BR /&gt;&lt;BR /&gt;what the command is&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2009 06:40:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179260#M459710</guid>
      <dc:creator>alert0919</dc:creator>
      <dc:date>2009-06-04T06:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179261#M459711</link>
      <description>&lt;!--!*#--&gt;Hello alert0919,&lt;BR /&gt;&lt;BR /&gt;The GUI starts because a selection is not made. Please look at the "\*" at the end.&lt;BR /&gt;&lt;BR /&gt;swinstall -s depothostname:/depot/path \* &lt;BR /&gt;&lt;BR /&gt;will NOT take you to GUI, but will install the product.&lt;BR /&gt;&lt;BR /&gt;Send me the server name/depot path if you want the exact command.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2009 06:55:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179261#M459711</guid>
      <dc:creator>Anoop P_2</dc:creator>
      <dc:date>2009-06-04T06:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179262#M459712</link>
      <description>thanks for all responese&lt;BR /&gt;it can work.&lt;BR /&gt;&lt;BR /&gt;I have another question if&lt;BR /&gt;I use swremove to remove my application&lt;BR /&gt;it only remove some file ,not all file&lt;BR /&gt;Question1 &lt;BR /&gt;it could remove all file and that I create &lt;BR /&gt;directory ,could I remove all include that directory I creataed.&lt;BR /&gt;it needed another script or swremove command it could did ?&lt;BR /&gt;question2&lt;BR /&gt;does swremove it also could silent remove&lt;BR /&gt;what the command is ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2009 07:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179262#M459712</guid>
      <dc:creator>alert0919</dc:creator>
      <dc:date>2009-06-04T07:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179263#M459713</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;swremove ( and product names that you would like to remove )&lt;BR /&gt;&lt;BR /&gt;for example : &lt;BR /&gt;&lt;BR /&gt;swremove IGNITE .....&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Thu, 04 Jun 2009 07:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179263#M459713</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-06-04T07:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179264#M459714</link>
      <description>swremove will usually remove all files it installed at the first place.&lt;BR /&gt;&lt;BR /&gt;#swlist -l file -s depothostname:/depot/path product&lt;BR /&gt;&lt;BR /&gt;will list the files included in the product/file set. swlist will remove all of these.&lt;BR /&gt;&lt;BR /&gt;Any directory you created will not automatically be removed. You'll have to remove it. &lt;BR /&gt;&lt;BR /&gt;Yes swremove can also be silent by using the follwing:&lt;BR /&gt;&lt;BR /&gt;swremove product</description>
      <pubDate>Thu, 04 Jun 2009 07:46:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179264#M459714</guid>
      <dc:creator>Anoop P_2</dc:creator>
      <dc:date>2009-06-04T07:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179265#M459715</link>
      <description>&amp;gt; it only remove some file ,not all file&lt;BR /&gt; &lt;BR /&gt;This is part of the depot package. A well written package will remove all the necessary files -- but config files and custom files (typically in /var/opt or similar temp directories) are usually not part of the package.</description>
      <pubDate>Fri, 05 Jun 2009 00:07:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179265#M459715</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-06-05T00:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179266#M459716</link>
      <description>&amp;gt;Anoop: Any directory you created will not automatically be removed. You'll have to remove it.&lt;BR /&gt;&lt;BR /&gt;Right.  This can be done in a postremove control script.</description>
      <pubDate>Fri, 05 Jun 2009 02:40:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179266#M459716</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-05T02:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179267#M459717</link>
      <description>Right. This can be done in a postremove control script.&lt;BR /&gt;&lt;BR /&gt;I write a script add to postremove&lt;BR /&gt;&lt;BR /&gt;scripts content is&lt;BR /&gt;each "test"&lt;BR /&gt;&lt;BR /&gt;but it can't work when I use swremove &lt;BR /&gt;does i have something to do that it can work&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Jun 2009 08:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179267#M459717</guid>
      <dc:creator>alert0919</dc:creator>
      <dc:date>2009-06-05T08:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179268#M459718</link>
      <description>&lt;!--!*#--&gt;&amp;gt;I write a script add to postremove.  scripts content is: each "test"&lt;BR /&gt;&lt;BR /&gt;How is that a valid script?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;but it can't work when I use swremove&lt;BR /&gt;&lt;BR /&gt;Does your script get executed?&lt;BR /&gt;The script should look something like this:&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;# Lots of comments ... :-)&lt;BR /&gt;exitval=0       # Anticipate success :  1 = failure  2 = warning&lt;BR /&gt;&lt;BR /&gt;UTILS="/usr/lbin/sw/control_utils"&lt;BR /&gt;if [ ! -f $UTILS ]; then&lt;BR /&gt;    echo "ERROR:   Can't find $UTILS"&lt;BR /&gt;    exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;. $UTILS&lt;BR /&gt;&lt;BR /&gt;#================================================&lt;BR /&gt;rm -rf ${SW_ROOT_DIRECTORY}your-directory 2&amp;gt; /dev/null&lt;BR /&gt;exit $exitval</description>
      <pubDate>Fri, 05 Jun 2009 08:59:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179268#M459718</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-05T08:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179269#M459719</link>
      <description>Do i write any control script in swremove &lt;BR /&gt;or just write postremove /fullpath/xxx.sh&lt;BR /&gt;in my psf file &lt;BR /&gt;&lt;BR /&gt;if I excute swremove command ,the postremove  can work autmatically,or it need write something in my psf file to trigger xxx.sh&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Jun 2009 10:54:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179269#M459719</guid>
      <dc:creator>alert0919</dc:creator>
      <dc:date>2009-06-05T10:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179270#M459720</link>
      <description>&amp;gt;Do I write any control script in swremove&lt;BR /&gt;or just write postremove /fullpath/xxx.sh&lt;BR /&gt;in my psf file&lt;BR /&gt;&lt;BR /&gt;The latter.  Check the documentation.&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-5875/ch10s03.html" target="_blank"&gt;http://docs.hp.com/en/5992-5875/ch10s03.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;if I execute swremove command, the postremove can work automatically, or it need write something in my psf file to trigger xxx.sh&lt;BR /&gt;&lt;BR /&gt;You need to name the file postremove and package it in your PSF.&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Jun 2009 11:40:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179270#M459720</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-05T11:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179271#M459721</link>
      <description>my rough psf like this&lt;BR /&gt;&lt;BR /&gt;# vi my.psf&lt;BR /&gt;distribution&lt;BR /&gt;     layout_version  1.0&lt;BR /&gt;&lt;BR /&gt;     #Vendor info:&lt;BR /&gt;     vendor&lt;BR /&gt;        tag     My_Vendor&lt;BR /&gt;        title   My_Vendor_Title&lt;BR /&gt;     end&lt;BR /&gt;&lt;BR /&gt;     #Product definition: --this is what shows up with swlist&lt;BR /&gt;     product&lt;BR /&gt;        tag     MY_PRODUCT&lt;BR /&gt;        title   My_custom_product&lt;BR /&gt;        revision 1.0 #(or whatever it is)&lt;BR /&gt;     fileset&lt;BR /&gt;        tag     fileset1&lt;BR /&gt;        title   My fileset&lt;BR /&gt;        directory   /source_dir/dir1=/destination_dir&lt;BR /&gt;&lt;BR /&gt;     # Control scripts:&lt;BR /&gt;         postremove   /my_script&lt;BR /&gt;&lt;BR /&gt;        #list all of the files that you wish to put in the bundle.&lt;BR /&gt;        file    filename1&lt;BR /&gt;        file    filename2&lt;BR /&gt;&lt;BR /&gt;        #set file permissions if desired&lt;BR /&gt;        file -m 644 -o root -g users filename1&lt;BR /&gt;        file -m 644 -o root -g users filename2&lt;BR /&gt;end #end fileset definitions&lt;BR /&gt;end #end product definition&lt;BR /&gt;&lt;BR /&gt;in control script&lt;BR /&gt;# vi /my_script&lt;BR /&gt;echo â  running my_script for postinstall scriptâ  &lt;BR /&gt;&lt;BR /&gt;but it don't run this script&lt;BR /&gt;&lt;BR /&gt;any place that i need to add in my psf file that my postremove script work&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jun 2009 01:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179271#M459721</guid>
      <dc:creator>alert0919</dc:creator>
      <dc:date>2009-06-08T01:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179272#M459722</link>
      <description>&amp;gt;any place that I need to add in my psf file that my postremove script work&lt;BR /&gt;&lt;BR /&gt;You seem to have it right.  But instead of an echo, you should echo to a logfile so you can look at it.&lt;BR /&gt;&lt;BR /&gt;Does "swlist -l fileset -v -s $PWD/depot" show you your postremove script?&lt;BR /&gt;&lt;BR /&gt;Also see how to check postremove:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-5875/ch11.html" target="_blank"&gt;http://docs.hp.com/en/5992-5875/ch11.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-5875/ch11s09.html#v2215809" target="_blank"&gt;http://docs.hp.com/en/5992-5875/ch11s09.html#v2215809&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;file -m 644&lt;BR /&gt;&lt;BR /&gt;In general, these files should be read only, 444.</description>
      <pubDate>Mon, 08 Jun 2009 08:29:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179272#M459722</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-08T08:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179273#M459723</link>
      <description>You need to add \* or the product to the end:&lt;BR /&gt;swinstall -s with-fullpath \*&lt;BR /&gt;&lt;BR /&gt;what is the \* means&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 11 Jun 2009 04:52:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179273#M459723</guid>
      <dc:creator>alert0919</dc:creator>
      <dc:date>2009-06-11T04:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: silent install with swinstall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179274#M459724</link>
      <description>\* means all products available in the depot.&lt;BR /&gt;&lt;BR /&gt;NB: Quite a few of us have responded to your queries, so you are requested to assign points to those that might have helped you or hinted of a solution as the case may be.</description>
      <pubDate>Thu, 11 Jun 2009 05:01:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/silent-install-with-swinstall/m-p/5179274#M459724</guid>
      <dc:creator>Anoop P_2</dc:creator>
      <dc:date>2009-06-11T05:01:43Z</dc:date>
    </item>
  </channel>
</rss>

