OS2::SoftInstaller

OS2::SoftInstaller is a Perl extension for generation of daughter packages for IBM's Software Installer.
Download

OS2::SoftInstaller Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ilya Zakharevich
  • Publisher web site:
  • http://search.cpan.org/~ni-s/Tk-804.027/pod/pTk.pod

OS2::SoftInstaller Tags


OS2::SoftInstaller Description

OS2::SoftInstaller is a Perl extension for generation of daughter packages for IBM's Software Installer. OS2::SoftInstaller is a Perl extension for generation of daughter packages for IBM's Software Installer.SYNOPSIS use OS2::SoftInstaller; open PKG, '>my.pkg'; select PKG; make_pkg toplevel => '.', zipfile => 'my.zip', packid => 'myzip', nozip => 0, exclude => undef, dirid => 'FILE', strip => 'emx/'; select STDOUT; close PKG;size_date_time_pkg(name)Takes file name, returns an array ($size, $date,$time), suitable for SIZE, DATE, and TIME entries of SoftInstaller.make_pkg(...)The function make_pkg() takes a hash-like list of arguments. The recognized keys are:topleveltoplevel directory of the tree to duplicate.zipfilename of the zipfile which corresponds to this directory in the distribution.packidsymbolic name for this zipfile, autogenerated if needed.nozipDo not generate toplevel description of the ZIP file (useful if the same zipfile is used in multiple components).excludeif defined, is a regexp for files to exclude from the generated package file.diridid of the directory to install to (eg, FILE or AUX7).stripprefix in all the files in the ZIP file which should be removed. It is supposed that the default value for the directory to install to (eg, FILE or AUX7) already contains this prefix. (Useful to make the ZIP file appropriate for manual install as well.)We suppose that %unzip% has the value of something like unzip -oj, %unzip_d% is something like -d (directory to extract), and the output of this script is included like this: FILE EXIT = 'setvar unzip=unzip -oj' FILE EXIT = 'setvar unzip_d=-d' INCLUDE NAME = 'my.pkg'into the parent package file. Requirements: · Perl


OS2::SoftInstaller Related Software