dnyaneshwar pawar wrote:

> I am facing an issue after i converted my svr4 type of package to p5p.
> A "request" ( install script ) is used in my software. This script  asks
> the user for certain information, e.g. license key.
> Now as i converted this SVR4 package to p5p format, i have just skipped
> "request" script, and the tasks performed by other install scripts
> (preinstall, postinstall etc) are now done through SMF services.
> Can somebody guide about how to handle this so that my software ( in p5p
> format) will ask and take certain information from user.

It was always a bad idea to mix (interactive) configuration and install,
and our recommendation even in the SVr4 days was to separate the two.
Interactive install prevents you from installing unattended, which is
pretty much necessary when you have a slow terminal (serial console) or
multiple machines to install simultaneously.

The alternatives are either to write a simple installer that collects the
configuration information prior to executing the install (much like the
Solaris installers) or to write and deliver something simple that allows
the user to perform configuration after the install is complete.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to