home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / insthint.zip / iirc_.rc < prev    next >
Text File  |  1995-04-17  |  23KB  |  362 lines

  1. /*
  2. ********************************************************************
  3. **                        SOFTWARE INSTALLER
  4. ** 5621-434 (C) COPYRIGHT IBM CORP. 1989, 1995. ALL RIGHTS RESERVED.
  5. **               LICENSED MATERIALS - PROPERTY OF IBM
  6. ********************************************************************
  7. */
  8. #include "iirch.h"
  9.  
  10. /*******************************************************************/
  11. /* Create a BITMAP line for each bitmap file that you want         */
  12. /* displayed in the main window when the user starts installation. */
  13. /* There can be up to 100 bitmap files displayed                   */
  14. /* (INST_BITMAP1 through INST_BITMAP100).                          */
  15. /* Only create BITMAP lines for the number of bitmaps you want     */
  16. /* displayed.                                                      */
  17. /*******************************************************************/
  18. BITMAP  INST_BITMAP1     iircinst.bmp
  19. BITMAP  INST_BITMAP2     iircarw.bmp
  20. BITMAP  INST_BITMAP3     iircexcl.bmp
  21.  
  22. /*******************************************************************/
  23. /* Define the location of each bitmap using the coordinate         */
  24. /* specification in following table.                               */
  25. /* --------------------------------------------------------------- */
  26. /* All coordinates are relative to the upper-left corner           */
  27. /* of the main window.  A negative value for a coordinate, or a    */
  28. /* coordinate that is greater than the bounds of the main window,  */
  29. /* is not visible.                                                 */
  30. /*                                                                 */
  31. /* initx  - (required) The initial horizontal position             */
  32. /*          of the bitmap                                          */
  33. /* y      - (required) The vertical position of the bitmap         */
  34. /*                                                                 */
  35. /* Use the following parameters for moving a bitmap left or right. */
  36. /*                                                                 */
  37. /* endx   - (optional) The final horizontal position that the bit- */
  38. /*          map is moved to.  If endx is greater than initx, then  */
  39. /*          the bitmap is moved to the right the number of         */
  40. /*          increments indicated by mvinc until endx is reached.   */
  41. /*          If endx is less than initx, the bitmap is moved        */
  42. /*          to the left until endx is reached.                     */
  43. /*          If endx is omitted, the bitmap is not moved.           */
  44. /* mvinc  - (optional) The number of pels the bitmap is moved at   */
  45. /*          once.  This parameter determines the speed of the      */
  46. /*          bitmap movement from initx to endx.  It must always    */
  47. /*          be a positive integer.  If mvinc is omitted, and endx  */
  48. /*          is different than initx, an increment of 15 is used.   */
  49. /* slices - (optional) The number of horizontal segments to        */
  50. /*          divide the bitmap into.  If the number of slices       */
  51. /*          is greater than one, each slice of the bitmap is       */
  52. /*          displayed on the screen (one at a time) according to   */
  53. /*          the previously specified parameters.  The movement of  */
  54. /*          the bitmap starts with the top slice.                  */
  55. /* delay  - (optional) The amount of time, in tenths of a          */
  56. /*          second, to wait before displaying the next bitmap.     */
  57. /*          If this parameter is omitted, then the next bitmap is  */
  58. /*          displayed immediately.                                 */
  59. /*******************************************************************/
  60.  
  61. STRINGTABLE
  62.    BEGIN
  63.       /* --------------------------------------------------------- */
  64.       /*                     initx   y    endx  mvinc slices delay */
  65.       /*                     -----  ----  ----  ----- ------ ----- */
  66.       INST_BITMAP1_COORDS,  " 1000,  15,    20,    7,    0,      5 "
  67.       INST_BITMAP2_COORDS,  "   -1,  62,    20,   20,    0,      5 "
  68.       INST_BITMAP3_COORDS,  "  330,  15,   330,    0,  100,     30 "
  69.    END
  70.  
  71. /*******************************************************************/
  72. /* Define the appearance and characteristics of the main window    */
  73. /* using the following table.  All tokens in these strings are     */
  74. /* required.                                                       */
  75. /* --------------------------------------------------------------- */
  76. /*  EXIT_BUTTON_COORDS  - The initial position and size of the     */
  77. /*                        Exit push button.                        */
  78. /*  INST_WINDOW_SIZE    - The initial size of the Install window.  */
  79. /*                        The window is centered on the desktop.   */
  80. /*  INST_WINDOW_TITLETEXT - The title that appears on the title bar*/
  81. /*                          of the main window.  If this IIRC.RC   */
  82. /*                          is used for a non-English product, be  */
  83. /*                          sure you have translated the text in   */
  84. /*                          this string.                           */
  85. /*  INST_START_PD_TEXT    - The text displayed as the first choice */
  86. /*                          on the File pull-down menu.  If this   */
  87. /*                          IIRC.RC is used for a non-English      */
  88. /*                          product, you may omit this string      */
  89. /*                          and the text will default to the       */
  90. /*                          translated text from the Software      */
  91. /*                          Installer language-specific files. Or, */
  92. /*                          you can specify the language-specific  */
  93. /*                          text in this string.                   */
  94. /*  INST_BACKGROUND_COLOR - The color of the background of the     */
  95. /*                          main window.  Options are:             */
  96. /*                           WHITE        GREEN       DARKRED      */
  97. /*                           BLACK        CYAN        DARKPINK     */
  98. /*                           BACKGROUND   YELLOW      DARKGREEN    */
  99. /*                           BLUE         NEUTRAL     DARKCYAN     */
  100. /*                           RED          DARKGRAY    BROWN        */
  101. /*                           PINK         DARKBLUE    PALEGRAY     */
  102. /*******************************************************************/
  103.  
  104. STRINGTABLE
  105.    BEGIN
  106.       /* --------------------------------------------------------- */
  107.       /*                            x       y     width     height */
  108.       /*                          ---     ---     -----     ------ */
  109.       EXIT_BUTTON_COORDS,        "542,    325,      75,        35"
  110.       INST_WINDOW_SIZE,          "630,    470"
  111.       INST_WINDOW_TITLETEXT,     "Installation"
  112. /*    INST_START_PD_TEXT,        "~Start install..."               */
  113.       INST_BACKGROUND_COLOR,     "darkcyan"
  114.    END
  115.  
  116. /*******************************************************************/
  117. /* Use the following table to define the characteristics of the    */
  118. /* two information windows.                                        */
  119. /* In the following parameters, n is the number of the window      */
  120. /* where:                                                          */
  121. /* Information window 1 is displayed after the initial bitmap.     */
  122. /* Information window 2 is displayed after installation of         */
  123. /* the installation utility on the workstation.                    */
  124. /* --------------------------------------------------------------- */
  125. /*  INFOn_DISPLAY- 1 = Display the window.                         */
  126. /*                 0 = Do not display the window and ignore all    */
  127. /*                     other parameters in this table.             */
  128. /*  INFOn_TITLE  - The title that appears on the window.           */
  129. /*  INFOn_COORDS - The initial position and size of the window.    */
  130. /*  INFOn_FILE   - The file containing the information displayed   */
  131. /*                 in the window.  This file should be completely  */
  132. /*                 unqualified.  The file is searched for in the   */
  133. /*                 directory where EPFIDLDS program is running.    */
  134. /*                 If the file is not found, or if this            */
  135. /*                 parameter is omitted, the text specified        */
  136. /*                 by the INFOn_TEXTxx parameters is used.         */
  137. /*  INFOn_TEXTxx - The lines of text to display in the window.     */
  138. /*                 xx is 1 - 10.                                   */
  139. /*                 The text on these lines is concatenated         */
  140. /*                 and word wrapped.  Use \015 to specify          */
  141. /*                 that the following text is on a new line.       */
  142. /*******************************************************************/
  143. STRINGTABLE
  144.    BEGIN
  145.       /*************************************************************/
  146.       /* Information window 1 - displayed after initial bitmap.    */
  147.       /*************************************************************/
  148.       INFO1_DISPLAY, "1"        /* display = 1, do not display = 0 */
  149.       INFO1_TITLE,   "Instructions"
  150.       INFO1_COORDS,  "13, 130, 520, 280"    /* x, y, width, height */
  151.       INFO1_FILE,    "INFO1.TXT"
  152.       INFO1_TEXT1,   "Welcome to <Product Name>.  "
  153.       INFO1_TEXT2,   "\015\015The following windows will guide you through the installation of <Product Name>.  See the READ.ME on the first diskette for more information."
  154.       INFO1_TEXT3,   "\015\015Select Continue to start the installation.  Select Exit to stop the installation."
  155.  
  156.       /*************************************************************/
  157.       /* Information window 2 - displayed after installation of the*/
  158.       /* Install Utility from a host system only.                  */
  159.       /*************************************************************/
  160.       INFO2_DISPLAY, "1"        /* display = 1, do not display = 0 */
  161.       INFO2_TITLE,   "Instructions"
  162.       INFO2_COORDS,  "13, 130, 520, 280"    /* x, y, width, height */
  163.       INFO2_FILE,    "INFO2.TXT"
  164.       INFO2_TEXT1,   "The Installation program has been successfully installed.  "
  165.       INFO2_TEXT2,   "If you want to continue to install the product, select the CONTINUE push button."
  166.    END
  167.  
  168. /*******************************************************************/
  169. /* Use the following table to define the defaults for the dialogs  */
  170. /* used by the EPFINSTS.EXE program when installing from a host    */
  171. /* system.                                                         */
  172. /* You must include an INST_DESTINATION and SOURCE_DIALOG_POS      */
  173. /* and a <source>_DIALOG_POS and <source>_SOURCE_<file_location>   */
  174. /* for each source system.                                         */
  175. /* --------------------------------------------------------------- */
  176. /*  INST_DESTINATION   - The default destination directory that    */
  177. /*                       appears on all installation windows (MVS, */
  178. /*                       and VM).  Use double backslashes (\\) to  */
  179. /*                       represent a backslash.  This is required  */
  180. /*                       if INST_SOURCES includes a host system.   */
  181. /*  SOURCE_DIALOG_POS  - The initial position of the Installation  */
  182. /*                       source window.  This is required          */
  183. /*                       if INST_SOURCES includes a host system.   */
  184. /*  MVS_DIALOG_POS     - The initial position of the Install from  */
  185. /*                       MVS host window.                          */
  186. /*  MVS_SOURCE_DSN     - The name of the default source dataset    */
  187. /*                       that appears on the                       */
  188. /*                       Install from MVS host window.             */
  189. /*  VM_DIALOG_POS      - The initial position of the Install from  */
  190. /*                       VM host window.                           */
  191. /*  VM_SOURCE_MINIDISK - The default minidisk that appears on the  */
  192. /*                       Install from VM host window.  This must   */
  193. /*                       be a single character.  An '*' causes     */
  194. /*                       the CMS search order to be used.          */
  195. /*  VSE_DIALOG_POS     - The initial position of the Install from  */
  196. /*                       VSE host window.                          */
  197. /*  VSE_SOURCE_NAME    - The name of the default VSE source        */
  198. /*                       that appears on the Install from VSE      */
  199. /*                       host window.                              */
  200. /*  PROGRESS_DIALOG_POS- The initial position of the Initial       */
  201. /*                       Install - Progress window.                */
  202. /*******************************************************************/
  203. /*STRINGTABLE                                                      */
  204. /*   BEGIN                                                         */
  205. /*      INST_DESTINATION,      "C:\\INSTDIR"                       */
  206. /*      SOURCE_DIALOG_POS,     "0,  100"                           */
  207. /*      MVS_DIALOG_POS,        "5,  5"                             */
  208. /*      MVS_SOURCE_DSN,        "EPF.V1R2M0"                        */
  209. /*      VM_DIALOG_POS,         "5,   5"                            */
  210. /*      VM_SOURCE_MINIDISK,    "*"                                 */
  211. /*      VSE_DIALOG_POS,        "5,  5"                             */
  212. /*      VSE_SOURCE_NAME,       "EPF.V1R2M0"                        */
  213. /*      PROGRESS_DIALOG_POS,   "0,   100"                          */
  214. /*   END                                                           */
  215.  
  216. /*******************************************************************/
  217. /* Use the following table to define the sources of the            */
  218. /* installation files.                                             */
  219. /* --------------------------------------------------------------- */
  220. /*  INST_SOURCES  - Specifies which sources appear on the          */
  221. /*                  Installation source window.  Any combination   */
  222. /*                  of MVS, VM, VSE, or DRIVE can be used.         */
  223. /*                  If only one source is specified, the window is */
  224. /*                  not displayed.                                 */
  225. /*  MVS_BASE_3Q   - The third qualifier in the name of the source  */
  226. /*                  MVS dataset that base (non-translateable)      */
  227. /*                  installation files are transferred from.       */
  228. /*                  See the following list of base files.          */
  229. /*  MVS_NLS_3Q    - The third qualifier in the name of the source  */
  230. /*                  MVS dataset that NLS (translateable)           */
  231. /*                  installation files are transferred from.       */
  232. /*                  See the following list of NLS files.           */
  233. /*  VM_BASE_TYPE  - The file type of the VM source files that base */
  234. /*                  (non-translateable) files are transferred from.*/
  235. /*  VM_NLS_TYPE   - The file type of the VM source files that NLS  */
  236. /*                  (translateable) files are transferred from.    */
  237. /*  VSE_BASE_Q    - The MEMBERNAME qualifier of base parts on a    */
  238. /*                  VSE system with the format of                  */
  239. /*                  LIB.SUBLIB.MEMBERNAME.MEMBERTYPE.              */
  240. /*  VSE_NLS_Q     - The MEMBERNAME qualifier of translated parts   */
  241. /*                  on a VSE system with the format of             */
  242. /*                  LIB.SUBLIB.MEMBERNAME.MEMBERTYPE.              */
  243. /*                                                                 */
  244. /*      Base files                    NLS files                    */
  245. /*      ------------                  ------------                 */
  246. /*      EPFINSTS.EXE                  EPFIMSG.MSG                  */
  247. /*      EPFIPRCS.EXE                  EPFIPII.DLL                  */
  248. /*      EPFIEXTS.DLL                  EPFIHPLB.HLP                 */
  249. /*      EPFIUPK2.EXE                                               */
  250. /*******************************************************************/
  251. STRINGTABLE
  252.    BEGIN
  253. /*    INST_SOURCES,   "DRIVE, VSE, MVS, VM"                        */
  254.       INST_SOURCES,   "DRIVE"
  255. /*    MVS_BASE_3Q,    "SEPFBASE"                                   */
  256. /*    MVS_NLS_3Q,     "SEPFBENU"                                   */
  257. /*    VM_BASE_TYPE,   "BASEPF11"                                   */
  258. /*    VM_NLS_TYPE,    "ENUEPF11"                                   */
  259. /*    VSE_BASE_Q,     " "                                          */
  260. /*    VSE_NLS_Q,      " "                                          */
  261.    END
  262.  
  263. /*******************************************************************/
  264. /* Uncomment the following table when your product                 */
  265. /* is installed from a host system and you want language-unique    */
  266. /* names for Software Installer's PII, MSG, and HLP files for MVS  */
  267. /* dataset members, VM file names, or VSE file names.              */
  268. /* For example, you could specify language-unique names as:        */
  269. /*          EPFIPIJ.PII                                            */
  270. /*          EPFIMSJ.MSG                                            */
  271. /*          EPFIHPLJ.HLP                                           */
  272. /* The J character might designate these files as your Japanese    */
  273. /* files.                                                          */
  274. /* --------------------------------------------------------------- */
  275. /* MVS_RES_DLL_SOURCE  - The language specific MVS name for the    */
  276. /*                       EPFIPII.DLL                               */
  277. /* MVS_RES_MSG_SOURCE  - The language specific MVS name for the    */
  278. /*                       EPFIMSG.MSG                               */
  279. /* MVS_RES_HLP_SOURCE  - The language specific MVS name for the    */
  280. /*                       EPFIHPLB.HLP                              */
  281. /* VM_RES_DLL_SOURCE  -  The language specific VM name for the     */
  282. /*                       EPFIPII.DLL                               */
  283. /* VM_RES_MSG_SOURCE  -  The language specific VM name for the     */
  284. /*                       EPFIMSG.MSG                               */
  285. /* VM_RES_HLP_SOURCE  -  The language specific VM name for the     */
  286. /*                       EPFIHPLB.HLP                              */
  287. /* VSE_RES_DLL_SOURCE  - The language specific VSE MEMBERNAME for  */
  288. /*                       EPFIPII.DLL                               */
  289. /* VSE_RES_MSG_SOURCE  - The language specific VSE MEMBERNAME for  */
  290. /*                       EPFIMSG.MSG                               */
  291. /* VSE_RES_HLP_SOURCE  - The language specific VSE MEMBERNAME for  */
  292. /*                       EPFIHPLB.HLP                              */
  293. /*******************************************************************/
  294. /*STRINGTABLE                                                      */
  295. /*   BEGIN                                                         */
  296. /*     MVS_RES_DLL_SOURCE,  "EPFIPII"                              */
  297. /*     MVS_RES_MSG_SOURCE,  "EPFIMSG"                              */
  298. /*     MVS_RES_HLP_SOURCE,  "EPFIHPLB"                             */
  299. /*     VM_RES_DLL_SOURCE,   "EPFIPII"                              */
  300. /*     VM_RES_MSG_SOURCE,   "EPFIMSG"                              */
  301. /*     VM_RES_HLP_SOURCE,   "EPFIHPLB"                             */
  302. /*     VSE_RES_DLL_SOURCE,  "EPFIPII"                              */
  303. /*     VSE_RES_MSG_SOURCE,  "EPFIMSG"                              */
  304. /*     VSE_RES_HLP_SOURCE,  "EPFIHPLB"                             */
  305. /*   END                                                           */
  306.  
  307. /*******************************************************************/
  308. /* Use this table to define the startup parameters that you want   */
  309. /* the installation utility started with.                          */
  310. /* You must change the as-shipped values of STARTPARM_CATALOG_x    */
  311. /* and STARTPARM_PRODUCT.                                          */
  312. /* --------------------------------------------------------------- */
  313. /*  STARTPARM_CATALOG_DRIVE The unqualified catalog file name      */
  314. /*                          if the installation source is DRIVE.   */
  315. /*  STARTPARM_CATALOG_MVS   The unqualified catalog file member    */
  316. /*                          name if the installation source is MVS.*/
  317. /*                          Member name only - the dataset name is */
  318. /*                          determined by what the user enters and */
  319. /*                          the value of MVS_NLS_3Q.               */
  320. /*  STARTPARM_CATALOG_VM    The unqualified catalog file name      */
  321. /*                          if the installation source is VM.      */
  322. /*                          File name only - the file type is      */
  323. /*                          determined by VM_NLS_TYPE.             */
  324. /*  STARTPARM_CATALOG_VSE   The unqualified catalog file MEMBERNAME*/
  325. /*                          if the installation source is VSE.     */
  326. /*                          The MEMBERTYPE is determined by what   */
  327. /*                          the user enters on the Host source     */
  328. /*                          window and VSE_NLS_Q.                  */
  329. /*  STARTPARM_PRODUCT       The name of the product                */
  330. /*                          as specified in the NAME keyword of    */
  331. /*                          the PACKAGE entry in the catalog file. */
  332. /*  STARTPARM_ACTION,       The action to be performed by the      */
  333. /*                          installation utility (i=install,       */
  334. /*                          u=update, d=delete, r=restore).        */
  335. /*  STARTPARM_POSITION      The initial position of the            */
  336. /*                          installation utility.                  */
  337. /*  STARTPARM_RESPFILE      The name of the workstation response   */
  338. /*                          file that the installation utility is  */
  339. /*                          started with.  You should uncomment    */
  340. /*                          this parameter and include the name of */
  341. /*                          the response file if your installation */
  342. /*                          uses one.  If you use a response file, */
  343. /*                          set this parameter to that file's name */
  344. /*                          and uncomment the line.                */
  345. /*******************************************************************/
  346. STRINGTABLE
  347.    BEGIN
  348.       STARTPARM_CATALOG_DRIVE, "CATALOG.ICF"
  349. /*    STARTPARM_CATALOG_MVS,   "CATALOG"                           */
  350. /*    STARTPARM_CATALOG_VM,    "CATALOG"                           */
  351. /*    STARTPARM_CATALOG_VSE,   "CATALOG"                           */
  352.       STARTPARM_PRODUCT,       "<Product Name>"
  353.       STARTPARM_ACTION,        "i"
  354.       STARTPARM_POSITION,      "10,  10"
  355. /*    STARTPARM_RESPFILE,      "RESPONSE.RSP"                      */
  356.    END
  357.  
  358. /*******************************************************************/
  359. /* See the online Software Installer Reference for information     */
  360. /* about overriding parameters set in the IIRC.RC.                 */
  361. /*******************************************************************/
  362.