This doc is about creating Solaris packages. Fix up /var/sadm/install/admin/default, for God's sake! Even when 'instance' is set to 'unique', versions must differ in order to have multiple installed instances of any package name. Make prototype cd SOURCEDIR pkgproto . > /path/to/file.proto # Keep config files in sep. dir Edit prototype file. Add pkginfo line to top of file, like i pkginfo=/usr/local/pkg/cfg/BLAINEpkg.info Add a default line, like !default 0644 root other and remove the unnecessary per-item perm/user/group specs below. Add a request file specifier like i request=/usr/local/pkg/cfg/BLAINEpkg.request (requests scripts are interactive install scripts) Can't use any paths relative to $PWD, only to the -b directory. :( Write info file. (Vars beginning with a cap are Install-time vars) Define BASEDIR (for relocatables) Define default vals for any variables to be set with the request script Write request script. NOTE: Entire purpose of a "request script" is to write the file $1, with sh env var settings. Doesn't need executable bit set Append variable settings to the file $1 Build the package pkgmk -o -b $PWD/B* -d prod -f cfg/*proto Make into a datastream package pkgtrans -os path/to/pkgdir/parent /abs-path/to/output/PKGstream PKGname pkgtrans -os prod $PWD/prod/BLAINEpkg.pkg BLAINEpkg ADMIN FILES: cp /var/sadm/install/admin/default /tmp/admin.file Change settings and use the -a switch with pkgadd. RESPONSE FILES. NOTE: It only makes sense to make response files if there is a request script in this package. pkgask -d prod/*.pkg -r /abs/path/for/output/BLAINEpkg.ask BLAINEpkg Installing a package using a response file. pkgadd -a /tmp/unattend.admin -r /tmp/BLAINEpkg.ask -d prod/*.pkg BLAINEpkg