home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 7 Games / 07-Games.zip / glcube.zip / GLCUBE.PKG < prev    next >
Text File  |  1999-01-22  |  11KB  |  325 lines

  1. **********************************************************************
  2. *  See the Software Installer Reference for information on creating a
  3. *  package file.
  4. **********************************************************************
  5.  
  6.  
  7. *---------------------------------------------------------------------
  8. *  Service level
  9. *---------------------------------------------------------------------
  10. SERVICELEVEL
  11.    LEVEL = '000000'
  12.  
  13.  
  14. **********************************************************************
  15.  
  16.  
  17. *---------------------------------------------------------------------
  18. *  Include 1 DISK entry for each diskette needed.
  19. *
  20. *  The following changes are required:
  21. *  - Change "<Product Name>" in the each NAME keyword to your product
  22. *    name.
  23. *  - Set each VOLUME keyword to a unique value.
  24. *---------------------------------------------------------------------
  25. DISK
  26.    NAME   = 'GLCUBE - Diskette 1',
  27.    VOLUME = 'GLCUBE1'
  28.  
  29. **********************************************************************
  30.  
  31.  
  32. *---------------------------------------------------------------------
  33. *  Default directories
  34. *---------------------------------------------------------------------
  35. PATH
  36.    FILE      = 'C:\GLCUBE',
  37.    FILELABEL = 'Installation directory'
  38.  
  39.  
  40. **********************************************************************
  41.  
  42.  
  43. *---------------------------------------------------------------------
  44. *  Exit to define your product folder's object ID.
  45. *
  46. *  The following changes are required:
  47. *  - Set variable FOLDERID to your folder's object ID; be sure to make
  48. *    the value sufficiently unique; do not use "PRODFLDR".
  49. *---------------------------------------------------------------------
  50. FILE
  51.    EXITWHEN = 'ALWAYS',
  52.    EXIT     = 'SETVAR FOLDERID=GLCUBE1'
  53.  
  54.  
  55. **********************************************************************
  56.  
  57.  
  58. *---------------------------------------------------------------------
  59. *  This component creates a folder on the desktop.  You must create
  60. *  the folder in a hidden component to ensure that deleting your
  61. *  product does not delete the folder before the objects within the
  62. *  folder are deleted.
  63. *---------------------------------------------------------------------
  64. COMPONENT
  65.    NAME    = 'INSFIRST',
  66.    ID      = 'INSFIRST',
  67.    DISPLAY = 'NO',
  68.    SIZE    = '2000'
  69.  
  70. *---------------------------------------------------------------------
  71. *  Include a FILE entry to install the catalog file.
  72. *
  73. *  The following changes are required:
  74. *  - Change the SOURCE and PWS keywords to the name of your catalog
  75. *    file.
  76. *---------------------------------------------------------------------
  77. FILE
  78.    VOLUME        = 'GLCUBE1',
  79.    WHEN          = 'OUTOFDATE',
  80.    REPLACEINUSE  = 'I U D R',
  81.    UNPACK        = 'NO',
  82.    SOURCE        = 'DRIVE: GLCUBE.ICF',
  83.    PWS           = 'GLCUBE.ICF',
  84.    DATE          = '990119',
  85.    TIME          = '1200',
  86.    SIZE          = '2000'
  87.  
  88. *---------------------------------------------------------------------
  89. *  Set variable CATALOG to be the name of the catalog file;
  90. *  the variable is used in EPFISINC.PKG.
  91. *
  92. *  The following changes are required:
  93. *  - Change "CATALOG.ICF" in the EXIT keyword to the name of your
  94. *    catalog file.
  95. *---------------------------------------------------------------------
  96. FILE
  97.    EXITWHEN      = 'INSTALL || UPDATE || RESTORE',
  98.    EXITIGNOREERR = 'NO',
  99.    EXIT          = 'SETVAR CATALOG=GLCUBE.ICF'
  100.  
  101. *---------------------------------------------------------------------
  102. *  Include a FILE entry to install the description file.
  103. *
  104. *  The following changes are required:
  105. *  - Change the SOURCE and PWS keywords to the name of your
  106. *    description file.
  107. *---------------------------------------------------------------------
  108. FILE
  109.    VOLUME        = 'GLCUBE1',
  110.    WHEN          = 'OUTOFDATE',
  111.    REPLACEINUSE  = 'I U D R',
  112.    UNPACK        = 'NO',
  113.    SOURCE        = 'DRIVE: GLCUBE.DSC',
  114.    PWS           = 'GLCUBE.DSC',
  115.    DATE          = '990119',
  116.    TIME          = '1200',
  117.    SIZE          = '2000'
  118.  
  119. *---------------------------------------------------------------------
  120. *  Create your product's folder on the desktop.
  121. *
  122. *  The following changes are required:
  123. *  - Change "<Product Name>" in the EXIT keyword to your product name.
  124. *---------------------------------------------------------------------
  125. FILE
  126.    EXITWHEN      = 'INSTALL || UPDATE',
  127.    EXITIGNOREERR = 'NO',
  128.    EXIT          = 'CREATEWPSOBJECT WPFolder "GLCube v2.0"
  129.                    <WP_DESKTOP> R
  130.                    "OBJECTID=<%FOLDERID%>;"'
  131.  
  132. *---------------------------------------------------------------------
  133. *  The included package file will install and register the
  134. *  Installation Utility.  You do not need to make any changes to
  135. *  EPFISINC.PKG.
  136. *---------------------------------------------------------------------
  137. INCLUDE
  138.    NAME = 'DRIVE: EPFISINC.PKG'
  139.  
  140.  
  141. **********************************************************************
  142.  
  143.  
  144. *---------------------------------------------------------------------
  145. *  Include 1 COMPONENT entry for each component.
  146. *
  147. *  The following changes are required:
  148. *  - Change "Component 1" in the NAME keyword to the name of the
  149. *    component.
  150. *  - Describe the component in the DESCRIPTION keyword.
  151. *
  152. *  The component must require at least the INSFIRST and DELLAST
  153. *  components.
  154. *---------------------------------------------------------------------
  155. COMPONENT
  156.    NAME        = 'GLCube',
  157.    ID          = 'GLCUBE1',
  158.    REQUIRES    = 'INSFIRST DELLAST',
  159.    DISPLAY     = 'YES',
  160.    DESCRIPTION = 'GLCube v2.0 application and online help',
  161.    SIZE        = '1820000'
  162.  
  163. *---------------------------------------------------------------------
  164. *  Include 1 FILE entry for each file in the component.
  165. *
  166. *  The following changes are required:
  167. *  - Change the SOURCE and PWS keywords to the name of the file to
  168. *    install.
  169. *---------------------------------------------------------------------
  170. FILE
  171.    VOLUME        = 'GLCUBE1',
  172.    WHEN          = 'OUTOFDATE',
  173.    REPLACEINUSE  = 'I U D R',
  174.    UNPACK        = 'YES',
  175.    SOURCE        = 'DRIVE: GLCUBE.EX_',
  176.    PWS           = 'GLCUBE.EXE',
  177.    DATE          = '990119',
  178.    TIME          = '1200',
  179.    SIZE          = '907226'
  180.  
  181. *---------------------------------------------------------------------
  182. *  Create a program object in the product folder.
  183. *
  184. *  The following changes are required:
  185. *  - Change "COMP1A" in the EXIT keyword to the name of the object.
  186. *  - Change "COMP1A.EXE" in the EXIT keyword after EXENAME to the
  187. *    name of the program to run.
  188. *  - Change "[]" in the EXIT keyword after PARAMETERS to any
  189. *    parameters required to run the object; if no parameters are
  190. *    required, delete "PARAMETERS=[];" from the EXIT keyword.
  191. *  - Change "COMP1A" in the EXIT keyword after OBJECTID to the
  192. *    program's object ID; be sure to make the value sufficiently
  193. *    unique; the value must be enclosed in "<>" characters; do not use
  194. *    "COMP1A" or the value of the FOLDERID variable.
  195. *---------------------------------------------------------------------
  196. FILE
  197.    EXITWHEN      = 'INSTALL || UPDATE || RESTORE',
  198.    EXITIGNOREERR = 'NO',
  199.    EXIT          = 'CREATEWPSOBJECT WPProgram "GL-Cube"
  200.                    <%FOLDERID%> R
  201.                    "EXENAME=%EPFIFILEDIR%\GLCUBE.EXE;STARTUPDIR=%EPFIFILEDIR%;PARAMETERS=;OBJECTID=<GLCUBE>;"'
  202.  
  203. FILE
  204.    EXITWHEN      = 'INSTALL || UPDATE || RESTORE',
  205.    EXITIGNOREERR = 'NO',
  206.    EXIT          = 'CREATEWPSOBJECT WPProgram "GL-Cube Read Me"
  207.                    <%FOLDERID%> R
  208.                    "EXENAME=e.exe;STARTUPDIR=%EPFIFILEDIR%;PARAMETERS=%EPFIFILEDIR%\read.me;OBJECTID=<GLCUBEREADME>;"'
  209.  
  210. *---------------------------------------------------------------------
  211. *  Delete the program object.
  212. *
  213. *  The following changes are required:
  214. *  - Change "COMP1A" in the EXIT keyword to the program's object ID;
  215. *    be sure to use the object ID that you gave the object when it was
  216. *    created in the previous FILE entry; the value must be enclosed in
  217. *    "<>" characters.
  218. *---------------------------------------------------------------------
  219. FILE
  220.    EXITWHEN      = 'DELETE',
  221.    EXITIGNOREERR = 'YES',
  222.    EXIT          = 'DELETEWPSOBJECT <GLCUBE>'
  223.  
  224. *---------------------------------------------------------------------
  225. *  Another FILE entry.
  226. *
  227. *  The following changes are required:
  228. *  - Change the SOURCE and PWS keywords to the name of the file to
  229. *    install.
  230. *---------------------------------------------------------------------
  231. FILE
  232.    VOLUME       = 'GLCUBE1',
  233.    WHEN         = 'OUTOFDATE',
  234.    REPLACEINUSE = 'I U D R',
  235.    UNPACK       = 'YES',
  236.    SOURCE       = 'DRIVE: GLCUBE.HL_',
  237.    PWS          = 'GLCUBE.HLP',
  238.    DATE         = '990119',
  239.    TIME         = '1200',
  240.    SIZE         = '9800'
  241.  
  242. FILE
  243.    VOLUME       = 'GLCUBE1',
  244.    WHEN         = 'OUTOFDATE',
  245.    REPLACEINUSE = 'I U D R',
  246.    UNPACK       = 'YES',
  247.    SOURCE       = 'DRIVE: read.me_',
  248.    PWS          = 'read.me',
  249.    DATE         = '990119',
  250.    TIME         = '1200',
  251.    SIZE         = '3907'
  252.  
  253. FILE
  254.    VOLUME       = 'GLCUBE1',
  255.    WHEN         = 'OUTOFDATE',
  256.    REPLACEINUSE = 'I U D R',
  257.    UNPACK       = 'YES',
  258.    SOURCE       = 'DRIVE: BOING.WA_',
  259.    PWS          = 'SOUNDS/BOING.WAV',
  260.    DATE         = '990119',
  261.    TIME         = '1200',
  262.    SIZE         = '13748'
  263. FILE
  264.    VOLUME       = 'GLCUBE1',
  265.    WHEN         = 'OUTOFDATE',
  266.    REPLACEINUSE = 'I U D R',
  267.    UNPACK       = 'YES',
  268.    SOURCE       = 'DRIVE: NOTES.WA_',
  269.    PWS          = 'SOUNDS/NOTES.WAV',
  270.    DATE         = '990119',
  271.    TIME         = '1200',
  272.    SIZE         = '31536'
  273.  
  274. FILE
  275.    VOLUME       = 'GLCUBE1',
  276.    WHEN         = 'OUTOFDATE',
  277.    REPLACEINUSE = 'I U D R',
  278.    UNPACK       = 'YES',
  279.    SOURCE       = 'DRIVE: KRUSTY.WA_',
  280.    PWS          = 'SOUNDS/KRUSTY.WAV',
  281.    DATE         = '990119',
  282.    TIME         = '1200',
  283.    SIZE         = '64452'
  284.  
  285. FILE
  286.    VOLUME       = 'GLCUBE1',
  287.    WHEN         = 'OUTOFDATE',
  288.    REPLACEINUSE = 'I U D R',
  289.    UNPACK       = 'YES',
  290.    SOURCE       = 'DRIVE: WOOHOO.WA_',
  291.    PWS          = 'SOUNDS/WOOHOO.WAV',
  292.    DATE         = '990119',
  293.    TIME         = '1200',
  294.    SIZE         = '6816'
  295.  
  296. FILE
  297.    VOLUME       = 'GLCUBE1',
  298.    WHEN         = 'OUTOFDATE',
  299.    REPLACEINUSE = 'I U D R',
  300.    UNPACK       = 'YES',
  301.    SOURCE       = 'DRIVE: OCEAN.BM_',
  302.    PWS          = 'IMAGES/OCEAN.BMP',
  303.    DATE         = '990119',
  304.    TIME         = '1200',
  305.    SIZE         = '787228'
  306.  
  307.  
  308. *---------------------------------------------------------------------
  309. *  This component deletes the product folder; it must be the last
  310. *  COMPONENT entry in the package file.
  311. *
  312. *  No changes are required to any entry in this component.
  313. *---------------------------------------------------------------------
  314. COMPONENT
  315.    NAME    = 'DELLAST',
  316.    ID      = 'DELLAST',
  317.    DISPLAY = 'NO',
  318.    SIZE    = '0'
  319.  
  320. FILE
  321.    EXITWHEN      = 'DELETE',
  322.    EXITIGNOREERR = 'YES',
  323.    EXIT          = 'DELETEWPSOBJECT <%FOLDERID%>'
  324.  
  325.