home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
twainsdk.zip
/
TWAINTST.PKG
< prev
next >
Wrap
Text File
|
1998-05-08
|
16KB
|
504 lines
* twaintst.pkg
*****************************************************************************
* Twain for OS/2
*
* COPYRIGHT (C) 1994-1995, SOLUTION TECHNOLOGY INC., ALL RIGHTS RESERVED.
* LICENSED MATERIALS - PROPRIETARY PROPERTY OF SOLUTION TECHNOLOGY, INC.
*
* Twain package file
*****************************************************************************
* 10\13\95, Servicelevel=3, VRM 1.0.8
* - Added Fax Express driver
* - Added STILIB32.DLL common library
* - IBM 2456 and B&H 3338 drivers did not load respective .SYS file
* - Make sure we mark off OS2ASPI.DMD and VASPI.SYS as part of Twain for OS/2
* - Make sure all CONFIG.SYS changes use search parameters when adding DEVICE statements
* - Put the ending REM statements in at the same time as we put the beginning REM statements otherwise
* the end REM statements we add to CONFIG.SYS will be put in before the DEVICE statements because
* of the way the search mechanism works
* - Make sure we allow deletion of OS2ASPI.DMD and VASPI.SYS on 'DELETE || RESTORE' instead of 'NEVER'
* - Added Epson ES-1200C (GT-9000) driver
* - Must delete the REM statementes with ADDCONFIG statements at END of the PKG file
* - Renamed IBM subdir to IBM2456 and BH subdir to BH3338
* - Modified diskgen to make default path \RELEASE so have to change all PWS entries to reflect that change
* - Restored shared component (now called STiLIB instead of TWAININT) since we're now using a shared install file tree
* - Shared component still doesn't work. Have to force the issue and install STiLIB separately!
* - To make shared components work force installation of all products into \STi tree
* - Only let customer install onto a physical drive; do not let them pick subdirectories
*
* 11\11\95, Servicelevel=0, VRM 1.0.9
* - Added environment variable TWAIN set to the location of the Twain components (needed for Bill's source manager search)
* - New Fax Express driver
* - Fax Express driver does NOT ship with standard Twain Kit. Make sure all Fax Express items are commented out for
* standard Twain distribution kit.
* - DESCRIPTION field of PATH gets clipped out when doing DISKGEN. Must reinsert manually with other changes from the
* file \RELEASE\INSTALL.FIX using SED.
* - STiLIB is installed now into \STi\DLL subdirectory
* - Original HP DS restored as new one had problems.
* - SCANOS2.SYS used by ReView 1.1 HP is now shipping third party SCSI support
*
* 12\6\95, Servicelevel=1, VRM=1.0.9
*
* - New Fax Express driver
* - New HP DS with >400 DPI support
* - Shared components seem to work as best they can so removed any commented out code that dealt with manually
* copying those files
* - Updated shared component VRM
* - Changed ' End' to 'End' in REM statements
* - Changed \ to \\ for correct pathing of PKG and READ.ME files
*
* 12\7\95, Servicelevel=2, VRM=1.0.9
*
* - Found way to create USER INSTALLATION variables to hold the subdirectories where the files go
* - PKG files go into STi root
*
* 12\22\95, Servicelevel=0, VRM=1.0.10
*
* - Added Kofax card support
* - REMmed out the DOS VASPI support
* - HP 3rd party SCSI was installing HP Native driver and vice versa into CONFIG.SYS
*
* 1\23\96, Servicelevel=1, VRM=1.0.10
*
* - Do NOT pack TWAIN.DLL or TWAININT.DLL - this way these files can be modified to allow crippling
*
* 1\25\96, Servicelevel=2, VRM=1.0.10
*
* - TWAININT.DLL in its own separate shared component
* - Move shared component to beginning of build
*
* 1\26\96, Servicelevel=2, VRM=1.0.10
*
* - Pack TWAIN.DLL again; we will come up with a unique license administration facility to take
* care of shareware use in the near future.
* - STiLIB32.DLL required by Fax Express. TWAININT.PKG renamed back to STiLIB.PKG as these two DLLs
* now make up STiLIB.
*
* 1\31\96, Servicelevel=3, VRM=1.0.10
*
* - TWAININT.DLL and STILIB32.DLL are now packed into separate shared components.
* STILIB32.DLL is only required by FaxExpress (at this time) so it will be INCLUDED when FaxExpress
* is loaded.
*
* 2\1\96, Servicelevel=3, VRM=1.0.10
*
* - Do not use READ ONLY attribute
*
* 2\2\96, Servicelevel=4, VRM=1.0.10
*
* - Do not DELETE on RESTORE during ADDCONFIG EXITWHEN condition
* - Add UPDATE and RESTORE to EXITWHEN for changing package attributes to hidden
* - Make sure any READ ONLY attributes cleared on package file
* - FaxExpress requires STiLIB package;
*
* 2\5\96, Servicelevel=4, VRM=1.0.10
*
* - Can't put STiLIB component after (and REQUIREd by) FAXEXP component. Must always be loaded.
* Installer bug?
*
* 2\6\96, Servicelevel=5, VRM=1.0.10
*
* - Refresh from .GEN file
* - Getting error EPFIE134: Cannot access the profile file (have no idea what this is)
* - Removed REQUIRES field from all selectable components except Fax Express
*
* 2\7\96, Servicelevel=5, VRM=1.0.10
*
* - Created consumer driver package
* - Removed high speed drivers
*
* 2\7\96, Servicelevel=6, VRM=1.0.10
*
* - CONFIG.SYS is not being updated properly
* - READ.ME not displaying
* - Cause of all this is the fact that I removed the REQUIRES parameter from the components. It
* is needed because the selectable components do require the BASE package which is a component!
*
* 3\4\96, Servicelevel=7, VRM=1.0.10
*
* - Removed all shared components as components since they don't seem to work; kept PKG files intact though
*
* 3\11\96, Servicelevel=TWN95031101, VRM=1.0.10
*
* - SERVICELEVEL is a cumulative number; only time zero is when first release. Needs to be a unique identifier.
* - Base TWAIN only requires 'Finish' not 'TWAININT'
*
* 3\12\96, Servicelevel=TWN96031201, VRM=1.0.10
*
* - Turned shared components back on
* - STiLIB shared component had wrong "Feature" code; not consistent with other products (Not used in Consumer Pack)
*
* 5\3\96, Servicelevel=TWN96050301, VRM=1.0.10
*
* - Since Fax Express is a separate product now, there needs to be a way to just install the base Twain
* components. Made the base component displayable to make this happen.
*
* 5\10\96, Servicelevel=TWN96051001, VRM=1.0.10
*
* - Only allow DRIVE letter to be selected. Force STi into path.
* - Added FILEAUX9 variable
* - Package file goes into root directory now
*
* 9\30\96, Servicelevel=TWN96093001, VRM=1.0.11
*
* - First official public release
* - Removed Microtek from package
*
* 10\25\96, Servicelevel=TWNC96102501, VRM=1.0.12
*
* - Fixed HP Data Source, was returning incorrect model number
*
* 10\29\96, Servicelevel=TWNT96102901, VRM=1.0.12
*
* - HP Data Source did not perform color on 4c
* - Created Twain Test package file for SDK from consumer pack
* - Special TWAININT.DLL required, do not use shared component for now
*
* 10\30\96, Servicelevel=TWNT96103001, VRM=1.0.12
*
* - Changed TWAIN.PKG to TWAINTST.PKG so attributes get set properly
*
* 10\31\96, Servicelevel=TWNT96103101, VRM=1.0.12
*
* - STi Logo now red on blue
*
SERVICELEVEL
LEVEL = 'TWNT96103101'
*************************************************
* Default Directories Specification
*************************************************
* Define the default directories and labels to appear in the
* Install - Directories window.
PATH
FILE = 'C:',
FILELABEL = 'Location of STi Products:',
DRIVEONLY = 'FILE'
* create installation variables
FILE
EXITWHEN = 'ALWAYS',
EXITIGNOREERR = 'NO',
EXIT = 'SETVAR FILEAUX9=%EPFIFILEDIR%\STi'
FILE
EXITWHEN = 'ALWAYS',
EXITIGNOREERR = 'NO',
EXIT = 'SETVAR FILEAUX2=%FILEAUX9%\TWAIN'
FILE
EXITWHEN = 'ALWAYS',
EXITIGNOREERR = 'NO',
EXIT = 'SETVAR FILEAUX1=%FILEAUX9%\DLL'
FILE
EXITWHEN = 'ALWAYS',
EXITIGNOREERR = 'YES',
EXIT = 'EXEC BG TW CMD.EXE /C ATTRIB -H -R %EPFIFILEDIR%\twaintst.pkg'
FILE
EXITWHEN = 'ALWAYS',
EXITIGNOREERR = 'YES',
EXIT = 'EXEC BG TW CMD.EXE /C ATTRIB -R %FILEAUX2%\read.me'
* Begin unpacking and installing files
COMPONENT
NAME = 'Twain Run-Time Libraries and Base Support',
ID = 'TWAINOS2',
REQUIRES = 'Finish',
DISPLAY = 'YES',
DESCRIPTION = 'This is the Twain for OS/2 Run-time libraries and base system support',
SIZE = '130000',
SHARED = 'NO',
DELETE = 'YES'
* REQUIRES = 'Finish',
PACKFILE
UNPACK = 'YES',
SOURCE = 'DRIVE:twain.PA_',
ID = 'TWAINOS2'
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R ',
SOURCE = 'DRIVE:read.me',
PWS = '%FILEAUX2%\read.me',
DATE = '961028',
SIZE = '7135'
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R ',
UNPACK = 'YES',
SOURCE = 'DRIVE:twain.DL_',
PACKID = 'TWAINOS2',
PWS = '%FILEAUX2%\TWAIN.DLL',
DATE = '961029',
SIZE = '77900'
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R ',
UNPACK = 'YES',
SOURCE = 'DRIVE:twainint.DL_',
PACKID = 'TWAINOS2',
PWS = '%FILEAUX2%\TWAININT.DLL',
DATE = '961029',
SIZE = '39592'
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R ',
UNPACK = 'YES',
SOURCE = 'DRIVE:aspidrv.SY_',
PACKID = 'TWAINOS2',
PWS = '%FILEAUX2%\ASPIDRV.SYS',
DATE = '950819',
SIZE = '3024'
* mark stuff we're installing
ADDCONFIG
ADDSTR = 'REM',
ADDWHEN = 'INSTALL',
DELETEWHEN = 'NEVER',
LOCATION = 'END',
DELETELINE = 'YES'
ADDCONFIG
ADDSTR = 'REM ***** Start of TWAIN for OS/2 *****',
ADDWHEN = 'INSTALL',
DELETEWHEN = 'NEVER',
LOCATION = 'END',
DELETELINE = 'YES'
* ending mark of stuff we're installing
* this REM will be put BEFORE the previous one
ADDCONFIG
ADDSTR = 'REM ***** End of TWAIN for OS/2 *****',
ADDWHEN = 'INSTALL',
DELETEWHEN = 'NEVER',
LOCATION = 'END',
DELETELINE = 'YES'
ADDCONFIG
ADDSTR = 'REM',
ADDWHEN = 'INSTALL',
DELETEWHEN = 'NEVER',
FILESEARCHPOS = 'AFTER',
FILESEARCHSTR = 'REM ***** End of TWAIN for OS/2',
FILESEARCHSTROCC = 'FIRST',
DELETELINE = 'YES'
* make sure we add in OS2ASPI.DMD no matter if we need it or not that way
* if one of our drivers needs it, it's there
ADDCONFIG
VAR = 'BASEDEV',
ADDSTR = 'OS2ASPI.DMD',
ADDWHEN = 'INSTALL',
DELETEWHEN = 'DELETE',
FILESEARCHPOS = 'BEFORE',
FILESEARCHSTR = 'REM ***** End of TWAIN for OS/2',
FILESEARCHSTROCC = 'FIRST',
UNIQUE = 'YES',
DELETELINE = 'YES'
* give them the DOS ASPI hook too
* but REM it out, let the user unREM it if they want it
ADDCONFIG
VAR = 'REM DEVICE',
ADDSTR = '%EPFIBOOTDRIVE%:\OS2\MDOS\VASPI.SYS',
ADDWHEN = 'INSTALL',
DELETEWHEN = 'DELETE',
FILESEARCHPOS = 'BEFORE',
FILESEARCHSTR = 'REM ***** End of TWAIN for OS/2',
FILESEARCHSTROCC = 'LAST',
UNIQUE = 'YES',
DELETELINE = 'YES'
* done with base package, now let's install the components
*FILE
* WHEN = 'ALWAYS',
* REPLACEINUSE = 'I U D R ',
* UNPACK = 'YES',
* SOURCE = 'DRIVE:twainint.DL_',
* VOLUME = 'Twain1',
* PACKID = 'TWAINOS2',
* PWS = '%FILEAUX2%\TWAININT.DLL',
* DATE = '950819',
* SIZE = '38104'
* Add in any shared components now
*COMPONENT
* NAME = 'TWAIN Interface DLL for OS/2',
* ID = 'TWAININT',
* DISPLAY = 'NO',
* SIZE = '50000',
* SHARED = 'YES',
* VRM = '010600',
* NUMBER = '793499-49306',
* FEATURE = 'TWAININT Common DLL',
* DELETE = 'YES',
* PKGFILE = 'TWAININT.PKG'
** REQUIRES = 'TWAINOS2',
*INCLUDE
* NAME = 'DRIVE:TWAININT.PKG'
* Next we install the driver components
* Brain Dead Fax Express Test Driver
COMPONENT
NAME = 'SDK Test Driver',
ID = 'TEST',
REQUIRES = 'TWAINOS2 STiLIB',
DISPLAY = 'YES',
DESCRIPTION = 'This is the SDK Test Driver pack.',
SIZE = '150000',
SHARED = 'NO',
DELETE = 'YES'
* REQUIRES = 'TWAINOS2',
PACKFILE
UNPACK = 'YES',
SOURCE = 'DRIVE:test.PA_',
* VOLUME = 'Twain1',
ID = 'TEST'
FILE
WHEN = 'OUTOFDATE',
REPLACEINUSE = 'I U D R ',
UNPACK = 'YES',
SOURCE = 'DRIVE:twfxbd.DS_',
PACKID = 'TEST',
PWS = '%FILEAUX2%\twfxbd.DS',
DATE = '961029',
SIZE = '147296'
* Brain Dead Fax Express Test Driver done
* add in the STiLIB shared component required by Fax Express
*COMPONENT
* NAME = 'STiLIB for OS/2',
* ID = 'STiLIB',
* DISPLAY = 'NO',
* SIZE = '490000',
* SHARED = 'YES',
* VRM = '010004',
* NUMBER = '793499-49300',
* FEATURE = 'Common Runtime DLLs',
* DELETE = 'YES',
* PKGFILE = 'STiLIB.PKG',
* REQUIRES = 'TEST'
*INCLUDE
* NAME = 'DRIVE:STILIB.PKG'
* Components done, update CONFIG.SYS
COMPONENT
NAME = 'Finish UP',
ID = 'Finish',
DISPLAY = 'NO',
SIZE = '0',
SHARED = 'NO',
DELETE = 'YES'
* REQUIRES = 'TWAINOS2',
* REQUIRES = 'TWAINOS2 TWAININT',
* end of everything, update CONFIG.SYS LIBPATH and DPATH
UPDATECONFIG
VAR = 'LIBPATH',
ADDSTR = '%FILEAUX2%;',
ADDWHEN = 'INSTALL',
DELETEWHEN = 'DELETE',
LINELOCATION = 'BEGIN'
UPDATECONFIG
VAR = 'SET DPATH',
ADDSTR = '%FILEAUX2%;',
ADDWHEN = 'INSTALL',
DELETEWHEN = 'DELETE',
LINELOCATION = 'BEGIN'
ADDCONFIG
ADDSTR = 'SET TWAIN=%FILEAUX2%',
ADDWHEN = 'INSTALL',
DELETEWHEN = 'DELETE',
FILESEARCHPOS = 'BEFORE',
FILESEARCHSTR = 'REM ***** End of TWAIN for OS/2',
FILESEARCHSTROCC = 'FIRST',
DELETELINE = 'YES'
* now we can go ahead and delete the REM statements from CONFIG.SYS
ADDCONFIG
ADDSTR = 'REM',
ADDWHEN = 'NEVER',
DELETEWHEN = 'DELETE',
FILESEARCHPOS = 'BEFORE',
FILESEARCHSTR = 'REM ***** Start of TWAIN for OS/2',
FILESEARCHSTROCC = 'FIRST',
DELETELINE = 'YES'
ADDCONFIG
ADDSTR = 'REM ***** Start of TWAIN for OS/2 *****',
ADDWHEN = 'NEVER',
DELETEWHEN = 'DELETE',
DELETELINE = 'YES'
ADDCONFIG
ADDSTR = 'REM',
ADDWHEN = 'NEVER',
DELETEWHEN = 'DELETE',
FILESEARCHPOS = 'AFTER',
FILESEARCHSTR = 'REM ***** End of TWAIN for OS/2',
FILESEARCHSTROCC = 'FIRST',
DELETELINE = 'YES'
*LOCATION = 'END',
ADDCONFIG
ADDSTR = 'REM ***** End of TWAIN for OS/2 *****',
ADDWHEN = 'NEVER',
DELETEWHEN = 'DELETE',
DELETELINE = 'YES'
* Make the package file hidden
FILE
EXITWHEN = 'INSTALL || UPDATE || RESTORE',
EXITIGNOREERR = 'YES',
EXIT = 'EXEC BG TW CMD.EXE /C ATTRIB +H %EPFIFILEDIR%\twaintst.pkg'
FILE
EXITWHEN = 'INSTALL || UPDATE || RESTORE',
EXITIGNOREERR = 'YES',
EXIT = 'EXEC BG TW CMD.EXE /C ATTRIB +R %FILEAUX2%\read.me'
FILE
EXITWHEN = 'INSTALL || UPDATE || RESTORE',
EXITIGNOREERR = 'YES',
EXIT = 'EXEC FG PM epm.exe %FILEAUX2%\read.me'
OPTIONS
SUCCESSINSMSG = 'All files have been transferred successfully. The installation process has updated your CONFIG.SYS file. Please reboot your system.',
SUCCESSUPDMSG = 'All files have been updated successfully.',
SUCCESSDELMSG = 'All files have been deleted successfully.'