- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Add user menu driven in swinstall
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
07-12-2008 09:59 AM
07-12-2008 09:59 AM
Add user menu driven in swinstall
I would like to add my own user menu like "Ok/Cancel" during swinstall; Is it possible on swinstall ? if so pls let me know how can we handle this. Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2008 10:28 AM
07-12-2008 10:28 AM
Re: Add user menu driven in swinstall
Use the '-p' (preview) switch and you will have the equivalent of a "cancel".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2008 10:42 AM
07-12-2008 10:42 AM
Re: Add user menu driven in swinstall
you can write your own menu using scripting. You can downoad dialog depot here:
http://hpux.connect.org.uk/hppd/hpux/Shells/dialog-1.1/
and use this tutorial:
http://www.linuxjournal.com/article/2807
Kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2008 05:52 PM
07-12-2008 05:52 PM
Re: Add user menu driven in swinstall
What would you be asking the sys admin? And when during the swinstall process? They are suppose to know everything anyway. :-)
If you are packaging depots, there is a swask(1m).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2008 09:48 PM
07-12-2008 09:48 PM
Re: Add user menu driven in swinstall
I have a software package during extraction of binary's it has to ask the user for ONLY one binary "Do you like to copy this binary" (bcz its size is 50MB and not need for all user). So i would like to have "Ok/Cancel" dialog driven approach during swinstall. Is it possible during swinstall if so pls let me know that. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2008 12:29 AM
07-13-2008 12:29 AM
Re: Add user menu driven in swinstall
Package your software as two products:
ProductA
ProductB
The ProductB will contain the 50MB binary, and the ProductA will contain the rest of your software. Of course you're free to choose your product names and descriptions as you wish.
In the .psf file, specify that ProductB's fileset requires ProductA's fileset as a prerequisite.
Now, if someone tries to install ProductB only, it will automatically select ProductA too - and it will install ProductA first, then ProductB.
In other words, the swinstall command will allow the user to install either just ProductA or both ProductA and ProductB, but not ProductB alone.
You can do it with just one product and two filesets, if you wish. But setting it up as two products will allow the user to immediately notice that there are several pieces of software in the installation depot.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2008 12:37 AM
07-13-2008 12:37 AM
Re: Add user menu driven in swinstall
The prerequisite is.. there should not be another package during shipment. The second package should be the optional one and it is up to the user to decide whether to copy that file or not during installation. I come across swask and swinstall with -x ask option which do dialog option with request file but i don;t find any example program to do this; pls let me know if there is any link which gives detail explanation on this. Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2008 12:44 AM
07-13-2008 12:44 AM
Re: Add user menu driven in swinstall
And possibly putting both in the same bundle. So people who want both or don't want to choose get both.