- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to swinstall two different package based o...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2004 03:48 AM
03-05-2004 03:48 AM
how to swinstall two different package based on two diff clients
I need to create a depot which include two packages, I want to swinstall to load one of package based on the situation(the output of a script) on the client. How do I achieve that?
Please let me know.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2004 03:52 AM
03-05-2004 03:52 AM
Re: how to swinstall two different package based on two diff clients
if [ criteria 1 ]
then
swinstall -s /full_path_of_depot depot_name1
fi
if [ criteria 2 ]
then
swinstall -s /full_path_of_depot depot_name2
fi
You have to define the criteria.
while read -r varname
do
done < input_file
comes to mind.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2004 04:37 AM
03-05-2004 04:37 AM
Re: how to swinstall two different package based on two diff clients
Thanks for the message, but it is not exactly what I want to do.
I wanted to have the swinstall itself to make the dicison and load the appropriate depot onto the client, not as the script your showed which is has to be running on agents.
I 'm thinking using .PSF file when you create a depot, or one of steps to do pre- or post- scripts?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2004 08:18 AM
03-05-2004 08:18 AM
Re: how to swinstall two different package based on two diff clients
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2004 08:40 AM
03-05-2004 08:40 AM
Re: how to swinstall two different package based on two diff clients
I would create a bundle with two products. Both products will have the checkinstall scripts. One checkinstall script fails and the other succeeds based on your situation. The product with the failing checkinstall script will be excluded from install.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2004 08:51 AM
03-05-2004 08:51 AM
Re: how to swinstall two different package based on two diff clients
No too much idea on what you are talking about, where I create two products, how to define the checkinstall, and what checkinstall is supposed to do? Can you please explore it a little bit more?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2004 08:54 AM
03-05-2004 08:54 AM
Re: how to swinstall two different package based on two diff clients
That was assuming you were trying to create a depot yourself with swpackage command. Look at the following document on "Creating Software Packages" section.
http://docs.hp.com/hpux/onlinedocs/B2355-90789/B2355-90789.html
If not, then it is not possible to do it other than what SEP mentioned.
-Sri