home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: OtherApp
/
OtherApp.zip
/
tickros2.exe
/
ticker.pkg
< prev
Wrap
Text File
|
1996-04-01
|
10KB
|
285 lines
**********************************************************************
* See the Software Installer Reference for information on creating a
* package file.
**********************************************************************
*---------------------------------------------------------------------
* Service level
*---------------------------------------------------------------------
SERVICELEVEL
LEVEL = '000000'
**********************************************************************
*---------------------------------------------------------------------
* Include 1 DISK entry for each diskette needed.
*
* The following changes are required:
* - Change "<Product Name>" in the each NAME keyword to your product
* name.
* - Set each VOLUME keyword to a unique value.
*---------------------------------------------------------------------
* DISK
* NAME = 'IBM infoMarket NewsTicker - Diskette 1',
* VOLUME = 'PROD001'
* DISK
* NAME = 'IBM infoMarket NewsTicker - Diskette 2',
* VOLUME = 'PROD002'
**********************************************************************
*---------------------------------------------------------------------
* Default directories
*---------------------------------------------------------------------
PATH
FILE = 'C:/TICKER',
FILELABEL = 'Installation directory'
**********************************************************************
*---------------------------------------------------------------------
* 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=infoMarket'
**********************************************************************
*---------------------------------------------------------------------
* 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.
*
* The following changes are required:
* - Change the SOURCE and PWS keywords to the name of your catalog
* file.
*---------------------------------------------------------------------
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
SOURCE = 'DRIVE:Ticker.ICF',
VOLUME = 'PROD001',
PWS = 'Ticker.ICF',
DATE = '960401',
TIME = '1114',
SIZE = '2311'
*---------------------------------------------------------------------
* 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=Ticker.ICF'
*---------------------------------------------------------------------
* 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
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
SOURCE = 'DRIVE:Ticker.DSC',
VOLUME = 'PROD001',
PWS = 'Ticker.DSC',
DATE = '960327',
TIME = '1436',
SIZE = '39'
*---------------------------------------------------------------------
* 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 "IBM infoMarket" <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'
**********************************************************************
*---------------------------------------------------------------------
* 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 infoMarket NewsTicker',
ID = 'COMP1',
REQUIRES = 'INSFIRST DELLAST',
DISPLAY = 'YES',
DESCRIPTION = 'Ticker Executable',
SIZE = '820000',
SHARED = 'NO',
DELETE = 'YES'
*---------------------------------------------------------------------
* Include 1 FILE entry for each file in the component.
*
* The following changes are required:
* - Change the SOURCE and PWS keywords to the name of the file to
* install.
*---------------------------------------------------------------------
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:TICKER.EX_',
VOLUME = 'PROD001',
PWS = 'TICKER.EXE',
DATE = '960401',
TIME = '1042',
SIZE = '570894'
*---------------------------------------------------------------------
* Create a program object in the product folder.
*
* The following changes are required:
* - Change "COMP1A" in the EXIT keyword to the name of the object.
* - Change "COMP1A.EXE" in the EXIT keyword after EXENAME to the
* name of the program to run.
* - Change "[]" in the EXIT keyword after PARAMETERS to any
* parameters required to run the object; if no parameters are
* required, delete "PARAMETERS=[];" from the EXIT keyword.
* - Change "COMP1A" in the EXIT keyword after OBJECTID to the
* program's object ID; be sure to make the value sufficiently
* unique; the value must be enclosed in "<>" characters; do not use
* "COMP1A" or the value of the FOLDERID variable.
*---------------------------------------------------------------------
FILE
EXITWHEN = 'INSTALL || UPDATE || RESTORE',
EXITIGNOREERR = 'NO',
EXIT = 'CREATEWPSOBJECT WPProgram "IBM infoMarket NewsTicker" <%FOLDERID%> R "EXENAME=%EPFIFILEDIR%//TICKER.EXE;STARTUPDIR=%EPFIFILEDIR%;OBJECTID=<imTicker>;"'
*---------------------------------------------------------------------
* Delete the program object.
*
* The following changes are required:
* - Change "COMP1A" in the EXIT keyword to the program's object ID;
* be sure to use the object ID that you gave the object when it was
* created in the previous FILE entry; the value must be enclosed in
* "<>" characters.
*---------------------------------------------------------------------
FILE
EXITWHEN = 'DELETE',
EXITIGNOREERR = 'YES',
EXIT = 'DELETEWPSOBJECT <imTicker>'
*---------------------------------------------------------------------
* Another FILE entry.
*
* The following changes are required:
* - Change the SOURCE and PWS keywords to the name of the file to
* install.
*---------------------------------------------------------------------
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:BPMCC.DL_',
VOLUME = 'PROD001',
PWS = 'BPMCC.DLL',
SIZE = '99456'
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:TCP32DLL.DL_',
VOLUME = 'PROD001',
PWS = 'TCP32DLL.DLL',
SIZE = '83681'
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:SO32DLL.DL_',
VOLUME = 'PROD001',
PWS = 'SO32DLL.DLL',
SIZE = '56205'
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:TICKER.HL_',
VOLUME = 'PROD001',
PWS = 'TICKER.HLP',
DATE = '960401',
TIME = '1019',
SIZE = '8002'
*---------------------------------------------------------------------
* This component deletes the product folder; it must be the last
* COMPONENT entry in the package file.
*
* No changes are required to any entry in this component.
*---------------------------------------------------------------------
COMPONENT
NAME = 'DELLAST',
ID = 'DELLAST',
DISPLAY = 'NO',
SIZE = '10000',
SHARED = 'NO',
DELETE = 'YES'
FILE
EXITWHEN = 'DELETE',
EXITIGNOREERR = 'YES',
EXIT = 'DELETEWPSOBJECT <%FOLDERID%>'