home *** CD-ROM | disk | FTP | other *** search
OS/2 install Package | 1997-11-10 | 15.8 KB | 563 lines |
- **********************************************************************
- * See the Software Installer Reference for information on creating a
- * package file.
- **********************************************************************
-
-
- *---------------------------------------------------------------------
- * Service level
- *---------------------------------------------------------------------
- SERVICELEVEL
- LEVEL = '000002'
-
-
- **********************************************************************
-
-
- *---------------------------------------------------------------------
- * 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.
- *---------------------------------------------------------------------
-
- * when making CDROM version, comment out below. Otherwise, leave in.
- * If making floppies, you will need to set the volume label on the disks
- * appropriately. Also comment out all the VOLUME statements in this files
- *DISK
- * NAME = 'Embellish - Diskette 1',
- * VOLUME = 'Emb001'
-
- *DISK
- * NAME = 'Embellish - Diskette 2',
- * VOLUME = 'Emb002'
-
-
- **********************************************************************
-
-
- *---------------------------------------------------------------------
- * Default directories
- *---------------------------------------------------------------------
- PATH
- FILE = 'C:/EMBLSH',
- FILELABEL = 'Embellish install 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=EMBELLISH_FOLDER'
-
-
- **********************************************************************
-
-
- *---------------------------------------------------------------------
- * 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
- * VOLUME = 'PROD001',
- * WHEN = 'OUTOFDATE',
- * REPLACEINUSE = 'I U D R',
- * UNPACK = 'NO',
- * SOURCE = 'DRIVE: EMBELSH.ICF',
- * PWS = 'EMBELSH.ICF',
- * DATE = '970501',
- * TIME = '1200',
- * SIZE = '3000'
-
- *---------------------------------------------------------------------
- * 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=EMBELSH.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
- * VOLUME = 'PROD001',
- * WHEN = 'OUTOFDATE',
- * REPLACEINUSE = 'I U D R',
- * UNPACK = 'NO',
- * SOURCE = 'DRIVE: EMBELSH.DSC',
- * PWS = 'EMBELSH.DSC',
- * DATE = '970501',
- * TIME = '1200',
- * SIZE = '500'
-
- *---------------------------------------------------------------------
- * 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 "Embellish" <WP_DESKTOP> U "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 = 'Embellish for OS/2',
- ID = 'COMP1',
- REQUIRES = 'INSFIRST DELLAST',
- DISPLAY = 'YES',
- DESCRIPTION = 'Embellish image editor files',
- SIZE = '3960000',
- 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',
- SOURCE = 'DRIVE:license.txt',
- PWS = 'license.txt',
- DATE = '971106',
- TIME = '2218',
- SIZE = '3298'
- * VOLUME = 'Emb001',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- SOURCE = 'DRIVE:read.me',
- PWS = 'read.me',
- DATE = '971027',
- TIME = '1129',
- SIZE = '7314'
- * VOLUME = 'Emb001',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:emb.ex_',
- PWS = 'EMB.EXE',
- DATE = '971110',
- TIME = '1013',
- SIZE = '28217'
- * VOLUME = 'Emb002',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:embapi.dl_',
- PWS = 'EMBAPI.DLL',
- DATE = '971110',
- TIME = '1017',
- SIZE = '129049'
- * VOLUME = 'Emb002',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:embclrs.dl_',
- PWS = 'EMBCLRS.DLL',
- DATE = '971110',
- TIME = '1026',
- SIZE = '165915'
- * VOLUME = 'Emb002',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:embdlgs.dl_',
- PWS = 'EMBDLGS.DLL',
- DATE = '971110',
- TIME = '1023',
- SIZE = '905216'
- * VOLUME = 'Emb002',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:embeff.dl_',
- PWS = 'EMBEFF.DLL',
- DATE = '971110',
- TIME = '1025',
- SIZE = '192021'
- * VOLUME = 'Emb002',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:embfiles.dl_',
- PWS = 'EMBFILES.DLL',
- DATE = '971110',
- TIME = '1020',
- SIZE = '585243'
- * VOLUME = 'Emb002',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:embhook.dl_',
- PWS = 'EMBHOOK.DLL',
- DATE = '971110',
- TIME = '1026',
- SIZE = '23584'
- * VOLUME = 'Emb002',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:embmisc.dl_',
- PWS = 'EMBMISC.DLL',
- DATE = '971110',
- TIME = '1017',
- SIZE = '573973'
- * VOLUME = 'Emb002',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:embpnt.dl_',
- PWS = 'EMBPNT.DLL',
- DATE = '971110',
- TIME = '1022',
- SIZE = '301595'
- * VOLUME = 'Emb002',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:embweb.dl_',
- PWS = 'EMBWEB.DLL',
- DATE = '971110',
- TIME = '1027',
- SIZE = '285205'
- * VOLUME = 'Emb002',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:emb.hl_',
- PWS = 'EMB.HLP',
- DATE = '971104',
- TIME = '1056',
- SIZE = '190222'
- * VOLUME = 'Emb002',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:emb.in_',
- PWS = 'EMB.INF',
- DATE = '971104',
- TIME = '1053',
- SIZE = '190222'
- * VOLUME = 'Emb002',
-
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:inifile.cm_',
- PWS = 'inifile.cmd',
- DATE = '971029',
- TIME = '0936',
- SIZE = '268'
- * VOLUME = 'Emb002',
-
- FILE
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE:emb.do_',
- PWS = 'emb.doc',
- DATE = '971104',
- TIME = '1031',
- SIZE = '370176'
- * VOLUME = 'Emb002',
-
-
- *---------------------------------------------------------------------
- * 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 "Embellish" <%FOLDERID%> U "EXENAME=%EPFIFILEDIR%//emb.exe;STARTUPDIR=%EPFIFILEDIR%;ASSOCFILTER=*.jpg,*.jpeg,*.gif,*.bmp,*.tga,*.tif,*.tiff,*.x11,*.pcx,*.png,*.ping,*.ras,*.eff,*.emm,*.pbm,*.met,*.pcd;OBJECTID=<EMBELLISH_EXE_ID>;"'
-
-
- FILE
- EXITWHEN = 'INSTALL || UPDATE || RESTORE',
- EXITIGNOREERR = 'NO',
- EXIT = 'CREATEWPSOBJECT WPProgram "Embellish README" <%FOLDERID%> U "EXENAME=e.exe;PARAMETERS=%EPFIFILEDIR%//read.me;OBJECTID=<EMBELLISH_README>;"'
-
- FILE
- EXITWHEN = 'INSTALL || UPDATE || RESTORE',
- EXITIGNOREERR = 'NO',
- EXIT = 'CREATEWPSOBJECT WPProgram "Embellish LICENSE" <%FOLDERID%> U "EXENAME=e.exe;PARAMETERS=%EPFIFILEDIR%//license.txt;OBJECTID=<EMBELLISH_LICENSE>;"'
-
- FILE
- EXITWHEN = 'INSTALL || UPDATE || RESTORE',
- EXITIGNOREERR = 'NO',
- EXIT = 'CREATEWPSOBJECT WPProgram "Embellish Help" <%FOLDERID%> U "EXENAME=view.exe;PARAMETERS=%EPFIFILEDIR%//emb.inf;OBJECTID=<EMBELLISH_INF>;"'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES emb.exe'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES embapi.dll'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES embclrs.dll'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES embdlgs.dll'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES embeff.dll'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES embfiles.dll'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES embhook.dll'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES embmisc.dll'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES embpnt.dll'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES embweb.dll'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES license.txt'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES read.me'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES emb.hlp'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEFILES emb.inf'
-
- *---------------------------------------------------------------------
- * 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 <EMBELLISH_EXE_ID>'
-
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEWPSOBJECT <EMBELLISH_README>'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEWPSOBJECT <EMBELLISH_LICENSE>'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEWPSOBJECT <EMBELLISH_INF>'
-
- **********************************************************************
-
- *---------------------------------------------------------------------
- * update config.sys
- *---------------------------------------------------------------------
-
-
- * For some reason couldn't get the entry in the config.sys to delete if there was a semi-colon
- * at the end and we did it all in one updateconfig statement. So, we break it into two and things
- * seem to work. Would like to have it delete on empty directory but it also didn't work so
- * just having it delete when DELETEWHEN = 'DELETE'
- *
-
- UPDATECONFIG
- VAR = 'SET PATH',
- ADDSTR = '%EPFIFILEDIR%;',
- ADDWHEN = 'INSTALL',
- DELETEWHEN = ' NEVER '
-
- UPDATECONFIG
- VAR = 'LIBPATH',
- ADDSTR = '%EPFIFILEDIR%;',
- ADDWHEN = 'INSTALL',
- DELETEWHEN = ' NEVER '
-
- UPDATECONFIG
- VAR = 'SET HELP',
- ADDSTR = '%EPFIFILEDIR%;',
- ADDWHEN = 'INSTALL',
- DELETEWHEN = ' NEVER '
-
- UPDATECONFIG
- VAR = 'SET PATH',
- ADDSTR = '%EPFIFILEDIR%',
- ADDWHEN = 'NEVER',
- DELETEWHEN = 'DELETE'
-
- UPDATECONFIG
- VAR = 'LIBPATH',
- ADDSTR = '%EPFIFILEDIR%',
- ADDWHEN = 'NEVER',
- DELETEWHEN = 'DELETE'
-
- UPDATECONFIG
- VAR = 'SET HELP',
- ADDSTR = '%EPFIFILEDIR%',
- ADDWHEN = 'NEVER',
- DELETEWHEN = 'DELETE'
-
- *---------------------------------------------------------------------
- * 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%>'
-
-