home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
odbc301.zip
/
odbc.pkg
< prev
next >
Wrap
Text File
|
2001-06-27
|
19KB
|
659 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 = '<Product Name> - Diskette 1',
* VOLUME = 'PROD001'
*DISK
* NAME = '<Product Name> - Diskette 2',
* VOLUME = 'PROD002'
**********************************************************************
*---------------------------------------------------------------------
* Default directories
*---------------------------------------------------------------------
PATH
FILE = 'C:/ODBC',
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=OdbcFLD'
**********************************************************************
*---------------------------------------------------------------------
* 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 = '1140000',
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:odbc.ICF',
PWS = 'odbc.ICF',
DATE = '000907',
SIZE = '2292'
* VOLUME = 'ODBC001',
*---------------------------------------------------------------------
* 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=ODBC.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:ODBC.DSC',
PWS = 'ODBC.DSC',
DATE = '000906',
SIZE = '46'
* VOLUME = 'ODBC001',
*---------------------------------------------------------------------
* 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 "ODBC by ex Intersolv V3.01" <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 = 'ODBC Manager by ex Intersolv V3.01',
ID = 'ODBC1',
REQUIRES = 'INSFIRST DELLAST',
DISPLAY = 'YES',
DESCRIPTION = 'Base install files required to use ODBC system',
SIZE = '2790000',
SHARED = 'NO',
DELETE = 'YES'
UPDATECONFIG
VAR = 'SET ENDLIBPATH',
ADDSTR = '%EPFIFILEDIR%\dll;',
ADDWHEN = 'INSTALL',
DELETEWHEN = ' DELETE'
UPDATECONFIG
VAR = 'SET ENDLIBPATH',
ADDSTR = '%EPFIFILEDIR%\drivers;',
ADDWHEN = 'INSTALL',
DELETEWHEN = ' DELETE'
UPDATECONFIG
VAR = 'SET ODBC_PATH',
ADDSTR = '%EPFIBOOTDRIVE%:\os2\dll',
ADDWHEN = 'INSTALL',
DELETEWHEN = ' DELETE'
*---------------------------------------------------------------------
* 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:ODBCADM.EX_',
PWS = '%EPFIFILEDIR%/bin/ODBCADM.EXE',
DATE = '970731',
TIME = '1644',
SIZE = '31790'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:READ.ME_',
PWS = '%EPFIFILEDIR%/read.me',
DATE = '010519',
SIZE = '2018'
* VOLUME = 'ODBC001',
*---------------------------------------------------------------------
* 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 "ODBC Manager" <%FOLDERID%> R "EXENAME=%EPFIFILEDIR%/bin/odbcadm.exe;STARTUPDIR=%EPFIFILEDIR%;OBJECTID=<ODBCmanager>;"'
FILE
EXITWHEN = 'INSTALL || UPDATE || RESTORE',
EXITIGNOREERR = 'NO',
EXIT = 'CREATEWPSOBJECT WPShadow "ReadMe" <%FOLDERID%> U "OBJECTID=<ReadMe>;SHADOWID=%EPFIFILEDIR%//read.me"'
*---------------------------------------------------------------------
* 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 <ODBCManger>'
*---------------------------------------------------------------------
* 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:ivib.li_',
PWS = '%EPFIFILEDIR%/dll/ivib.lic',
DATE = '980212',
TIME = '0815',
SIZE = '896'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:CPPOM30.DL_',
PWS = '%EPFIFILEDIR%/dll/CPPOM30.DLL',
DATE = '970624',
TIME = '0815',
SIZE = '377496'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:IOM.DL_',
PWS = '%EPFIFILEDIR%/dll/IOM.DLL',
DATE = '950920',
TIME = '0815',
SIZE = '127838'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:IBBAS12.DL_',
PWS = '%EPFIFILEDIR%/dll/IBBAS12.DLL',
DATE = '970710',
TIME = '0815',
SIZE = '421711'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:IBFLT12.DL_',
PWS = '%EPFIFILEDIR%/dll/IBFLT12.DLL',
DATE = '970630',
TIME = '0815',
SIZE = '541237'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:IBTRN12.DL_',
PWS = '%EPFIFILEDIR%/dll/IBTRN12.DLL',
DATE = '970707',
TIME = '0815',
SIZE = '74802'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:IBUTL12.DL_',
PWS = '%EPFIFILEDIR%/dll/IBUTL12.DLL',
DATE = '970708',
TIME = '0815',
SIZE = '250710'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ODBC.DL_',
PWS = '%EPFIBOOTDRIVE%:/OS2/dll/ODBC.DLL',
DATE = '970710',
TIME = '0815',
SIZE = '335616'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ODBCCP.DL_',
PWS = '%EPFIBOOTDRIVE%:/OS2/dll/ODBCCP.DLL',
DATE = '970710',
TIME = '0815',
SIZE = '180789'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ODBCCR.DL_',
PWS = '%EPFIBOOTDRIVE%:/OS2/dll/ODBCCR.DLL',
DATE = '970710',
TIME = '0815',
SIZE = '164751'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ODBCINT.DL_',
PWS = '%EPFIBOOTDRIVE%:/OS2/dll/ODBCINT.DLL',
DATE = '970710',
TIME = '0815',
SIZE = '74842'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:OS2UTIL.DL_',
PWS = '%EPFIFILEDIR%/dll/OS2UTIL.DLL',
DATE = '970710',
TIME = '0815',
SIZE = '97259'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:TCPIP32.DL_',
PWS = '%EPFIFILEDIR%/dll/TCPIP32.DLL',
DATE = '000418',
SIZE = '98276'
* VOLUME = 'ODBC001',
**********************************************************************
*---------------------------------------------------------------------
* Another component.
*
* The following changes are required:
* - Change "Component 2" 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 = 'ODBC Drivers by ex Intersolv V3.01',
ID = 'ODBC2',
REQUIRES = 'INSFIRST DELLAST',
DISPLAY = 'YES',
DESCRIPTION = 'Text, DBF, Btrieve V6, DB2, Sybase, Oracle V7, Informix V5, Postgres V7 ODBC drivers',
SIZE = '2510000',
SHARED = 'NO',
DELETE = 'YES'
*---------------------------------------------------------------------
* 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:IBINF512.DL_',
PWS = '%EPFIFILEDIR%/dll/IBINF512.DLL',
DATE = '970630',
TIME = '0815',
SIZE = '159285'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:IBINF512.hl_',
PWS = '%EPFIFILEDIR%/dll/IBINF512.hlp',
DATE = '970618',
TIME = '0815',
SIZE = '20525'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:coreo32.dl_',
PWS = '%EPFIFILEDIR%/drivers/COREO32.DLL',
DATE = '930805',
TIME = '0816',
SIZE = '560400'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:iBbtr12.dl_',
PWS = '%EPFIFILEDIR%/drivers/iBbtr12.dll',
DATE = '970630',
TIME = '0815',
SIZE = '157240'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:iBbtr12.hl_',
PWS = '%EPFIFILEDIR%/drivers/iBbtr12.hlp',
DATE = '970618',
TIME = '0815',
SIZE = '30252'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ibdb212.dl_',
PWS = '%EPFIFILEDIR%/drivers/ibdb212.DLL',
DATE = '970630',
TIME = '0815',
SIZE = '119348'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ibdb212.hl_',
PWS = '%EPFIFILEDIR%/drivers/ibdb212.hlp',
DATE = '970613',
TIME = '0815',
SIZE = '20970'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ibdbf12.hl_',
PWS = '%EPFIFILEDIR%/drivers/ibdbf12.HLP',
DATE = '970703',
TIME = '0815',
SIZE = '37711'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ibdbf12.dl_',
PWS = '%EPFIFILEDIR%/drivers/ibdbf12.DLL',
DATE = '970630',
TIME = '0815',
SIZE = '428598'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ibor712.hl_',
PWS = '%EPFIFILEDIR%/drivers/ibor712.HLP',
DATE = '970618',
TIME = '0815',
SIZE = '20146'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ibor712.dl_',
PWS = '%EPFIFILEDIR%/drivers/ibor712.DLL',
DATE = '970630',
TIME = '0815',
SIZE = '155703'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ibsyb12.hl_',
PWS = '%EPFIFILEDIR%/drivers/ibsyb12.HLP',
DATE = '970613',
TIME = '0815',
SIZE = '24926'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ibsyb12.dl_',
PWS = '%EPFIFILEDIR%/drivers/ibsyb12.DLL',
DATE = '970630',
TIME = '0815',
SIZE = '170551'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ibtxt12.hl_',
PWS = '%EPFIFILEDIR%/drivers/ibtxt12.HLP',
DATE = '970618',
TIME = '0815',
SIZE = '29848'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ibtxt12.dl_',
PWS = '%EPFIFILEDIR%/drivers/ibtxt12.DLL',
DATE = '970630',
TIME = '0815',
SIZE = '146997'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:ora7o32.dl_',
PWS = '%EPFIFILEDIR%/drivers/ora7o32.DLL',
DATE = '930809',
TIME = '0816',
SIZE = '291067'
* VOLUME = 'ODBC001',
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R',
UNPACK = 'YES',
SOURCE = 'DRIVE:psqlodbc.dl_',
PWS = '%EPFIFILEDIR%/drivers/psqlodbc.DLL',
DATE = '010531',
SIZE = '128442'
* VOLUME = 'ODBC001',
FILE
NAME = 'Build ODBC ini...',
WHEN = 'OUTOFDATE',
SOURCE = 'DRIVE:mkodbc.cmd',
EXITWHEN = 'install || update || restore',
EXITIGNOREERR = 'NO',
EXIT = 'EXEC bg tw %EPFIFILEDIR%/bin/mkodbc.cmd %EPFIBOOTDRIVE%: %EPFIFILEDIR%',
PWS = '%EPFIFILEDIR%/bin/mkodbc.cmd',
DATE = '010627',
SIZE = '3094'
* VOLUME = 'ODBC001',
*FILE
* EXITWHEN = 'INSTALL || UPDATE || RESTORE',
* EXITIGNOREERR = 'NO',
* EXIT = 'CREATEWPSOBJECT WPProgram "Create Intersolv driver entry" <%FOLDERID%> R "EXENAME=%EPFIFILEDIR%/bin/mkodbc.cmd;STARTUPDIR=%EPFIFILEDIR%;OBJECTID=<ODBCDriver>;PARAMETERS=%EPFIBOOTDRIVE%:;"'
**********************************************************************
*---------------------------------------------------------------------
* 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%>'