home *** CD-ROM | disk | FTP | other *** search
OS/2 install Package | 1996-09-09 | 13.3 KB | 380 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 = 'Netscape Navigator for OS/2 - Diskette 1',
- VOLUME = 'PROD001'
-
- **********************************************************************
-
-
- *---------------------------------------------------------------------
- * Default directories
- *---------------------------------------------------------------------
- PATH
- FILE = 'C:/NETSCAPE',
- FILELABEL = 'Installation directory:'
- * AUX1 = 'C:/NETSCAPE/MAIL',
- * AUX1LABEL = 'Mail directory:',
- * AUX2 = 'C:/NETSCAPE/News',
- * AUX2LABEL = 'News directory:',
- * AUX3 = 'C:/NETSCAPE/Cache',
- * AUX3LABEL = 'Cache directory:',
- * AUX4 = 'C:/NETSCAPE/Security',
- * AUX4LABEL = 'Security directory:',
- * AUX5 = 'C:/NETSCAPE/Plugins',
- * AUX5LABEL = 'Plugins 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',
- EXIT = 'SETVAR FOLDERID=NETSCAPEFLDR'
-
-
- **********************************************************************
-
-
- *---------------------------------------------------------------------
- * 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 = '1000'
-
- *---------------------------------------------------------------------
- * 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: NETSCAPE.ICF',
- PWS = 'NETSCAPE.ICF',
- DATE = '960901',
- TIME = '1200',
- SIZE = '1000'
-
- *---------------------------------------------------------------------
- * 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=NETSCAPE.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: NETSCAPE.DSC',
- PWS = 'NETSCAPE.DSC',
- DATE = '950101',
- TIME = '1200',
- SIZE = '1000'
-
- *---------------------------------------------------------------------
- * 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 Netscape
- <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 = 'Netscape Navigator',
- ID = 'COMP1',
- REQUIRES = 'INSFIRST DELLAST',
- DISPLAY = 'YES',
- DESCRIPTION = 'Netscape Navigator for OS/2',
- SIZE = '3900000'
-
- *---------------------------------------------------------------------
- * 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
- VOLUME = 'PROD001',
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE: NETSCAPE.EX_',
- PWS = 'NETSCAPE.EXE',
- DATE = '960830',
- TIME = '1200',
- SIZE = '2510000'
-
- *---------------------------------------------------------------------
- * 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
- VOLUME = 'PROD001',
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'NO',
- SOURCE = 'DRIVE: READ.ME',
- PWS = 'READ.ME',
- DATE = '960830',
- TIME = '1200',
- SIZE = '10000'
-
- *---------------------------------------------------------------------
- * 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
- VOLUME = 'PROD001',
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'NO',
- SOURCE = 'DRIVE: INSTALL.IN_',
- PWS = 'INSTALL.IN_',
- DATE = '960830',
- TIME = '1200',
- SIZE = '525000'
-
- *---------------------------------------------------------------------
- * 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
- VOLUME = 'PROD001',
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'NO',
- SOURCE = 'DRIVE: LICENSE',
- PWS = 'LICENSE',
- DATE = '960830',
- TIME = '1200',
- SIZE = '14000'
-
-
- *---------------------------------------------------------------------
- * 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
- VOLUME = 'PROD001',
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE: NETSCAPE.IC_',
- PWS = 'NETSCAPE.ICO',
- DATE = '960830',
- TIME = '1200',
- SIZE = '1000'
-
- *---------------------------------------------------------------------
- * 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
- VOLUME = 'PROD001',
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'YES',
- SOURCE = 'DRIVE: NETSCAPE.HL_',
- PWS = 'NETSCAPE.HLP',
- DATE = '960830',
- TIME = '1200',
- SIZE = '10000'
-
-
-
- *---------------------------------------------------------------------
- * 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 "Netscape Navigator for OS/2"
- <%FOLDERID%> R
- "EXENAME=%EPFIFILEDIR%\NETSCAPE.EXE;STARTUPDIR=%EPFIFILEDIR%;OBJECTID=<NAVPROG>;"'
-
- *---------------------------------------------------------------------
- * Create a shadow object of the READ.ME file in the product folder.
- *
- *---------------------------------------------------------------------
- FILE
- EXITWHEN = 'INSTALL || UPDATE || RESTORE',
- EXITIGNOREERR = 'NO',
- EXIT = 'CREATEWPSOBJECT WPShadow "READ.ME"
- <%FOLDERID%> R
- "SHADOWID=%EPFIFILEDIR%\READ.ME;OBJECTID=<NAVREADME>;"'
- *---------------------------------------------------------------------
- * 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
- VOLUME = 'PROD001',
- WHEN = 'OUTOFDATE',
- REPLACEINUSE = 'I U D R',
- UNPACK = 'NO',
- SOURCE = 'DRIVE: NSEXITS.DLL',
- PWS = 'NSEXITS.DLL',
- DATE = '960830',
- TIME = '1200',
- SIZE = '92000'
-
-
- *---------------------------------------------------------------------
- * Call installation exits to prompt user for WebEx to Netscape conversion
- *
- *---------------------------------------------------------------------
- EXIT
- DLL = 'NSEXITS.DLL'
-
-
- FILE
- EXITWHEN = 'INSTALL',
- EXITIGNOREERR = 'NO',
- EXIT = 'NETSCAPECONVERT Netscape'
-
- *---------------------------------------------------------------------
- * 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 <NAVPROG>'
-
- **********************************************************************
-
-
- *---------------------------------------------------------------------
- * 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 = '0'
-
- FILE
- EXITWHEN = 'DELETE',
- EXITIGNOREERR = 'YES',
- EXIT = 'DELETEWPSOBJECT <%FOLDERID%>'
-