I think there should be a set-params script in all packages that require interaction. This script should get params from the user, store them in COAS repository, and then the pre-inst and post-inst should use those parameters, getting them from COAS. The set-params script should not require that the package be installed to run.
See http://www.caldera.com/coas . Thanks Bruce