OS2-SoftInstaller
view release on metacpan or search on metacpan
PATH
FILE = '$perllibdir',
FILELABEL = 'Directory for perl library:',
AUX1 = '$emxdir/bin',
AUX1LABEL = 'Directory for perl execs:',
AUX2 = '$emxdir/bin',
AUX2LABEL = 'Directory for perl utils:',
AUX3 = '$emxdir/dll',
AUX3LABEL = 'Directory for perl dlls:',
AUX4 = '$shelldrive/bin',
AUX4LABEL = 'Directory for pdksh exec:',
AUX5 = '$perllibdir/site_perl',
AUX5LABEL = 'Directory for optnl library:',
AUX6 = '$perllibdir/$podsubdir',
AUX6LABEL = 'Directory for PODs:',
AUX7 = '$prefix/man',
AUX7LABEL = 'Directory for manpages:',
AUX8 = '$prefix/book',
AUX8LABEL = 'Directory for INF docs:',
AUX9 = '$prefix',
AUX9LABEL = 'Directory for READMEs:',
AUX10 = '$prefix/install',
AUX10LABEL = 'Directory for install utls:'
**********************************************************************
*---------------------------------------------------------------------
* Exit to define your product folder's object ID.
*
* The following changes are required:
* - Set variable FOLDERID to your folder's object ID; be sure to make
* the value sufficiently unique; do not use "PRODFLDR".
*---------------------------------------------------------------------
FILE
EXITWHEN = 'ALWAYS',
EXIT = 'SETVAR FOLDERID=PERLFLDR'
FILE
EXITWHEN = 'ALWAYS',
EXIT = 'SETVAR CONFIGFL=%EPFIFILEDIR%\\config.dat'
* Touch the file
FILE
PWS = '%CONFIGFL%',
PWSPATH = 'FILE',
EXITWHEN = 'INSTALL || UPDATE || RESTORE',
EXIT = 'EXEC bg tw cmd.exe /c "echo .>%CONFIGFL%"'
*FILE
* PWS = '%CONFIGFL%',
* DOWNLOAD = 'DELETE',
* WHEN = 'DELETE'
**********************************************************************
*---------------------------------------------------------------------
* This component creates a folder on the desktop. You must create
* the folder in a hidden component to ensure that deleting your
* product does not delete the folder before the objects within the
* folder are deleted.
*---------------------------------------------------------------------
COMPONENT
NAME = 'INSFIRST',
ID = 'INSFIRST',
DISPLAY = 'NO',
SIZE = '1000'
*---------------------------------------------------------------------
* Include a FILE entry to install the catalog file.
*
* The following changes are required:
* - Change the SOURCE and PWS keywords to the name of your catalog
* file.
*---------------------------------------------------------------------
*FILE
* VOLUME = 'PROD001',
* WHEN = 'OUTOFDATE',
* REPLACEINUSE = 'I U D R',
* UNPACK = 'NO',
* SOURCE = 'DRIVE: Perl.ICF',
* PWS = 'perl.ICF',
* DATE = '950101',
* TIME = '1200',
* SIZE = '1000'
*---------------------------------------------------------------------
* Set variable CATALOG to be the name of the catalog file;
* the variable is used in EPFISINC.PKG.
*
* The following changes are required:
* - Change "CATALOG.ICF" in the EXIT keyword to the name of your
* catalog file.
*---------------------------------------------------------------------
FILE
EXITWHEN = 'INSTALL || UPDATE || RESTORE',
EXITIGNOREERR = 'NO',
EXIT = 'SETVAR CATALOG=Perl.ICF'
FILE
EXITWHEN = 'ALWAYS',
EXIT = 'SETVAR SLASHES=////'
*---------------------------------------------------------------------
* Include a FILE entry to install the description file.
*
* The following changes are required:
* - Change the SOURCE and PWS keywords to the name of your
* description file.
*---------------------------------------------------------------------
*FILE
* VOLUME = 'PROD001',
* WHEN = 'OUTOFDATE',
* REPLACEINUSE = 'I U D R',
* UNPACK = 'NO',
* SOURCE = 'DRIVE: Perl.DSC',
* PWS = 'Perl.DSC',
* DATE = '950101',
* TIME = '1200',
* SIZE = '1000'
*---------------------------------------------------------------------
* Create your product''s folder on the desktop.
*
* The following changes are required:
* - Change "<Product Name>" in the EXIT keyword to your product name.
*---------------------------------------------------------------------
FILE
EXITWHEN = 'INSTALL || UPDATE',
EXITIGNOREERR = 'NO',
EXIT = 'CREATEWPSOBJECT WPFolder "Perl^ maintenance"
<WP_DESKTOP> R
"OBJECTID=<%FOLDERID%>;"'
FILE
EXITWHEN = 'INSTALL || UPDATE',
EXITIGNOREERR = 'YES',
EXIT = 'CREATEWPSOBJECT WebExplorer_Url "CPAN WWW"
<%FOLDERID%> U
"LOCATOR=http:%SLASHES%www.perl.com/CPAN/;OBJECTID=<%FOLDERID%_CPAN>;"'
FILE
EXITWHEN = 'INSTALL || UPDATE',
EXITIGNOREERR = 'YES',
EXIT = 'CREATEWPSOBJECT WebExplorer_Url "CPAN WWW^ OS2"
<%FOLDERID%> U
"LOCATOR=http:%SLASHES%www.perl.com/CPAN/ports/os2;OBJECTID=<%FOLDERID%_CPANos2>;"'
FILE
EXITWHEN = 'INSTALL || UPDATE',
EXITIGNOREERR = 'YES',
EXIT = 'CREATEWPSOBJECT WebExplorer_Url "CPAN WWW^ modules"
<%FOLDERID%> U
"LOCATOR=http:%SLASHES%www.perl.com/CPAN/modules;OBJECTID=<%FOLDERID%_CPANmod>;"'
FILE
EXITWHEN = 'INSTALL || UPDATE',
EXITIGNOREERR = 'YES',
EXIT = 'CREATEWPSOBJECT WebExplorer_Url "CPAN WWW Index"
<%FOLDERID%> U
"LOCATOR=http:%SLASHES%www.perl.com/CPAN/index.html;OBJECTID=<%FOLDERID%_CPANind>;"'
*---------------------------------------------------------------------
* The included package file will install and register the
* Installation Utility. You do not need to make any changes to
* EPFISINC.PKG.
*---------------------------------------------------------------------
* INCLUDE
* NAME = 'DRIVE: EPFISINC.PKG'
**********************************************************************
FILE
EXIT = 'setvar unzip=unzip.exe -oj'
FILE
EXIT = 'setvar unzip_d=-d'
*---------------------------------------------------------------------
* Include 1 COMPONENT entry for each component.
( run in 1.472 second using v1.01-cache-2.11-cpan-39bf76dae61 )