home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
npru209.zip
/
NPRU.PKG
< prev
next >
Wrap
Text File
|
2000-05-15
|
6KB
|
167 lines
**********************************************************************
* See the Software Installer Reference for information on creating a
* package file.
**********************************************************************
*---------------------------------------------------------------------
* Service level
*---------------------------------------------------------------------
SERVICELEVEL
LEVEL = '000000'
*---------------------------------------------------------------------
* Default directories
*---------------------------------------------------------------------
PATH
FILE = 'C:/NPRU',
FILELABEL = 'NPRU directory: ',
DESCRIPTION = 'Check with your administrator for the correct directory to specify for the NPRU program files:'
**********************************************************************
*---------------------------------------------------------------------
* 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',
EXITIGNOREERR = 'NO',
EXIT = 'SETVAR FOLDERID=NPRU'
**********************************************************************
*---------------------------------------------------------------------
* 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 = '10000',
SHARED = 'NO',
DELETE = 'YES'
*---------------------------------------------------------------------
* Include a FILE entry to install the catalog file.
*---------------------------------------------------------------------
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
SOURCE = 'DRIVE:NPRU.ICF',
PWS = 'NPRU.ICF',
SIZE = '2149'
*---------------------------------------------------------------------
* 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=NPRU.ICF'
*---------------------------------------------------------------------
* Include a FILE entry to install the description file.
*---------------------------------------------------------------------
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
SOURCE = 'DRIVE:NPRU.DSC',
PWS = 'NPRU.DSC',
SIZE = '1387'
*---------------------------------------------------------------------
* Create your product's folder on the desktop.
*
* The following changes are required:
* - Change "PRODUCT" in the EXIT keyword to your product name.
*---------------------------------------------------------------------
*FILE
* EXITWHEN = 'INSTALL || UPDATE',
* EXITIGNOREERR = 'NO',
* EXIT = 'CREATEWPSOBJECT WPFolder "NPRU"
* <WP_DESKTOP> R
* "OBJECTID=<%FOLDERID%>;"'
*---------------------------------------------------------------------
* 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'
**********************************************************************
*---------------------------------------------------------------------
* Another component.
*---------------------------------------------------------------------
*---------------------------------------------------------------------
* Include 1 COMPONENT entry for each component.
*
* The following changes are required:
* - Change "Component 1" in the NAME keyword to the name of the
* component.
* - Describe the component in the DESCRIPTION keyword.
*
* The component must require at least the INSFIRST and DELLAST
* components.
*---------------------------------------------------------------------
COMPONENT
NAME = 'IBM Network Printer Resource Utility',
ID = 'IBMNPRU',
REQUIRES = 'INSFIRST DELLAST',
DISPLAY = 'YES',
DESCRIPTION = 'The OS/2 IBM NPRU provides for administration of PCL and PostScript printing resources, such as fonts and overlays. Please read the READ.ME file on the installation diskette before installing the IBM NPRU.',
SIZE = '340000',
SHARED = 'NO',
DELETE = 'YES'
*---------------------------------------------------------------------
* Include 1 FILE entry for each file in the component.
*---------------------------------------------------------------------
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:HELP.PK_',
PWS = 'NPRU.HLP',
DATE = '960603',
TIME = '0935',
SIZE = '30517'
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:NPRU.PK_',
PWS = 'NPRU.EXE',
DATE = '960603',
TIME = '0935',
SIZE = '274566'
*---------------------------------------------------------------------
* Create a program object in the product folder.
*---------------------------------------------------------------------
FILE
EXITWHEN = 'INSTALL || UPDATE || RESTORE',
EXITIGNOREERR = 'NO',
EXIT = 'CREATEWPSOBJECT WPProgram "NPRU" <WP_DESKTOP> R "PROGTYPE=PM;EXENAME=%EPFIFILEDIR%//NPRU.EXE;STARTUPDIR=%EPFIFILEDIR%;OBJECTID=<NPRU>;"'
*---------------------------------------------------------------------
* Delete the program object.
*---------------------------------------------------------------------
FILE
EXITWHEN = 'DELETE',
EXITIGNOREERR = 'YES',
EXIT = 'DELETEWPSOBJECT <NPRU>'
**********************************************************************