home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Pre-Algeba / PREALGEBRA.iso / progfile.sfs / CUSTOM.RUL < prev    next >
Text File  |  1996-02-26  |  11KB  |  258 lines

  1. /*----------------------------------------------------------------------------*\
  2.  *  Custom.RUL
  3.  *  Sofsource Installation Package:  Program-Specific Declarations.
  4.  *  Copyright (c) 1995-1996 Sofsource, Inc.  All rights  reserved.
  5.  *  Setup script written by:  Bob Falk
  6.  *------------------------------------------------------------------------------
  7.  *  Program-specific declarations for:  Multimedia Pre-Algebra
  8.  *                    Last updated on:  02/27/96
  9. \*----------------------------------------------------------------------------*/
  10.  
  11. //=================================================================================================
  12. // The following are used in the Windows 95 Registry:
  13. //
  14. // Windows 3.x and NT NOTES:
  15. //   COMPANY_NAME, PRODUCT_NAME, and PRODUCT_VERSION are used in the [Application] section
  16. //   of SETUP.LOG files (when used).
  17. //
  18. // Windows 95 NOTES:
  19. //   COMPANY_NAME           = Used in Application Information Key
  20. //   PRODUCT_NAME           = Used in Application Information Key, also used in the screen caption,
  21. //                            several message boxes, error messages, and the log file.
  22. //   PRODUCT_VERSION        = Used in Application Information Key
  23. //   APP_PATHS_KEY_EXENAMES = Used in the Per Application Paths key.  Use ONLY ONE EXE name, UNLESS
  24. //                            the EXEs are all in the same subdirectory.  If not in the same subdir
  25. //                            then only the first EXE will have an App Paths key, and it must be the
  26. //                            same as EXE_FILENAME_1 (below).
  27. //                            The Registry can handle more, but InstallShield cannot.
  28. //   DEINSTALL_KEY          = Used in the Application Uninstallation Key
  29. //   The "Add/Remove Programs" applet, in the Windows 95 Control Panel folder, will list
  30. //   (as [DisplayName]) the program as a combination of PRODUCT_NAME + ' v' + PRODUCT_VERSION.
  31. //
  32. #define COMPANY_NAME           "Sofsource, Inc."
  33. #define PRODUCT_NAME           "Multimedia Pre-Algebra"
  34. #define PRODUCT_VERSION        "1.00"
  35. #define APP_PATHS_KEY_EXENAMES "MATH.EXE"
  36. #define DEINSTALL_KEY          "Sof921027Ver100DeinstKey"
  37.   // Used as:  InstallationInfo( COMPANY_NAME, PRODUCT_NAME, PRODUCT_VERSION, APP_PATHS_KEY_EXENAMES );
  38.   //           RegDBSetItem( REGDB_UNINSTALL_NAME, PRODUCT_NAME + ' v' + PRODUCT_VERSION );
  39.   //           DeinstallStart( svDestPath, svUninstLogFile, DEINSTALL_KEY, 0 );
  40.  
  41. // The EXTRAICONS_APP_NAME is used for icons related to the main program, such as for READ.ME files.
  42. // The icon title might be something like "WC Encyclopedia Read Me" rather than the ridiculously
  43. // long "Webster's Concise Encyclopedia Read Me".  If the PRODUCT_NAME is less than about 18 characters
  44. // in length, then EXTRAICONS_APP_NAME should be the same as PRODUCT_NAME.  In Windows 95, any title
  45. // longer than 17 characters will appear with ellipses (...).
  46. //                      !!! |-----------------| 17 chars max length !!!
  47. #define EXTRAICONS_APP_NAME "MM Pre-Algebra"
  48. //#define EXTRAICONS_APP_NAME PRODUCT_NAME
  49.  
  50. //----- Base (Default) Destination Paths:
  51. #define APPBASE_PATH3X      "SOFSRC\\PALGEBRA\\"
  52. #define APPBASE_PATH95      "Sofsource\\Multimedia Pre-Algebra\\"
  53.  
  54.  
  55. //----- Define the items that MUST match LAUNCHER.PAS:
  56. //        Windows 95.  This will typically be "C:\Sofsource" and will always be on the same
  57. //        drive as Windows 95 itself, regardless of the installation target (destination).
  58. // This also must match the cSectionName in LAUNCHER.PAS.
  59. // This should be 70-characters max.  If longer, you'll need to edit the Perm Setup Log details.
  60. #define PROGRAM_FOLDER_NAME     "Sofsource"
  61. //#define PROGRAM_FOLDER_NAME     "Premier"
  62. #define APP_UPC_CODE        "92102-7"
  63.   // APP_UPC_CODE 30-chars max.  If longer, you'll need to edit the Perm Setup Log details.
  64. #define PRODUCT_ID_FILENAME "ID921027.ID_"
  65.  
  66.  
  67. //=================================================================================================
  68. #define NUM_EXES_PRESENT 1
  69.   // Set the above to the number of executable files
  70.   // belonging to the product, FOR WHICH ICONS WILL BE MADE
  71.   // *** Use "-1" when WINHELP.EXE should execute a HLP file ***
  72.  
  73.  
  74. //=================================================================================================
  75. // Documentation/READ-ME file definitions:
  76.  
  77. // Define the following if a README file is present
  78. //#define DOCUMENTATION_PRESENT 1
  79. #ifdef DOCUMENTATION_PRESENT
  80.     #define DOC_FILE_NAME "???.TXT"
  81.     #define DOC_ICON_NAME '"??? Read Me"'
  82. #endif
  83.   // NOTE:  For Icon Names, single-quotes enclose the double-quotes.  This doesn't matter
  84.   //        under Windows 95, but is important under Windows 3.x and NT.  In the latter cases,
  85.   //        without the extra single quotes, you could not use special characters (such as
  86.   //        commas or parentheses) in the name.  Of course, now you'll need to use an
  87.   //        Escape Sequence to place a single quote in the name (i.e. "\'" instead of "'").
  88.  
  89. //=================================================================================================
  90. // Executable and Icon File Definitions:
  91.  
  92. #ifdef NUM_EXES_PRESENT >= 1
  93. // In Windows 95 only the first 17 chars appear, remaining chars are replaced with ellipses (...)
  94. //                        !!! |-----------------| 17 chars max length
  95.     #define PROGICON_NAME_1 '"MM Pre-Algebra"'
  96.     #define EXE_FILENAME_1  "MATH.EXE"
  97.     #define ICON_FILENAME_1 "MATH.ICO"
  98. #endif
  99. #ifdef NUM_EXES_PRESENT >= 2
  100.     #define PROGICON_NAME_2 '""'
  101.     #define EXE_FILENAME_2  ""
  102.     #define ICON_FILENAME_2 ""
  103. #endif
  104. #ifdef NUM_EXES_PRESENT >= 3
  105.     #define PROGICON_NAME_3 '""'
  106.     #define EXE_FILENAME_3  ""
  107.     #define ICON_FILENAME_3 ""
  108. #endif
  109. #ifdef NUM_EXES_PRESENT >= 4
  110.     #define PROGICON_NAME_4 '""'
  111.     #define EXE_FILENAME_4  ""
  112.     #define ICON_FILENAME_4 ""
  113. #endif
  114. #ifdef NUM_EXES_PRESENT = -1
  115.     #define HELP_NAME_1 '"???"'
  116.     #define HLP_FILE_1  "???.HLP"
  117. #endif
  118.  
  119.  
  120. //=================================================================================================
  121. // Special Case Involving Running From CD-ROM
  122.  
  123. #define CDROM_ALWAYS_REQUIRED 1
  124.   // Define the above if the CD-ROM must always be inserted to use the program
  125.  
  126.  
  127. #define EXE_RUN_FROM_CDROM 1
  128.   // Define the above if the EXE is started from the CD-ROM
  129.  
  130. #ifdef EXE_RUN_FROM_CDROM
  131.     #ifdef NUM_EXES_PRESENT >= 1
  132.         #define SRC_PATH_1_ON_CDROM "\\PALGEBRA\\"  // Always terminate with a backslash
  133.     #endif
  134.     #ifdef NUM_EXES_PRESENT >= 2
  135.         #define SRC_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  136.     #endif
  137.     #ifdef NUM_EXES_PRESENT >= 3
  138.         #define SRC_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  139.     #endif
  140.     #ifdef NUM_EXES_PRESENT >= 4
  141.         #define SRC_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  142.     #endif
  143. #endif
  144.  
  145.  
  146. #define WORKING_DIR_ON_CDROM 1
  147.   // Define the above if the working directory should be on the CD-ROM
  148.   // otherwise the working directory will be the installation target directory
  149.  
  150. #ifdef WORKING_DIR_ON_CDROM
  151.     #ifdef NUM_EXES_PRESENT >= 1
  152.         #define WORK_PATH_1_ON_CDROM "\\PALGEBRA\\"  // Always terminate with a backslash
  153.     #endif
  154.     #ifdef NUM_EXES_PRESENT >= 2
  155.         #define WORK_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  156.     #endif
  157.     #ifdef NUM_EXES_PRESENT >= 3
  158.         #define WORK_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  159.     #endif
  160.     #ifdef NUM_EXES_PRESENT >= 4
  161.         #define WORK_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  162.     #endif
  163. #endif
  164.  
  165.  
  166. //=================================================================================================
  167. //----- SPECIAL-CASE Definitions:
  168.  
  169. //#define REQUIRES_INI_FILE_ENTRIES 1
  170.   // Define the above if special INI file entries need to be made
  171.  
  172. //#define REQUIRES_FONT_ENTRY_IN_WININI 1
  173.   // Define the above if this is an old program which will not find it's fonts
  174.   // unless they are duplicated in WIN.INI under Windows 95 and Windows NT.
  175.   // Such fonts will still be properly installed in the registry.
  176.  
  177. // The special-case is on the CD-ROM version only, not the diskette version:
  178. #ifdef EXE_RUN_FROM_CDROM
  179.     //#define SPECIAL_CASE_TERM_PAPER 1
  180.       // Define the above if this is Term Paper (CD-ROM Full or Brain-Damaged Version)
  181.       // Also define REQUIRES_INI_FILE_ENTRIES
  182.  
  183.     //#define SPECIAL_CASE_BOOK_REPORT 1
  184.       // Define the above if this is Book Report (CD-ROM Full or Brain-Damaged Version)
  185.       // Also define REQUIRES_INI_FILE_ENTRIES
  186. #endif
  187.  
  188. //#define SPECIAL_CASE_RESUME 1
  189.   // Define the above if this is Windows Resume
  190.   // Also define REQUIRES_INI_FILE_ENTRIES
  191.  
  192. //#define SPECIAL_CASE_MM_TRIVIA 1
  193.   // Define the above if this is Multimedia Trivia
  194.  
  195. //#define SPECIAL_CASE_WINDOWS_MADE_EASY 1
  196.   // Define the above if this is Windows Made Easy
  197.  
  198. //#define SPECIAL_CASE_TYPING_TEACHER 1
  199.   // Define the above if this is Multimedia Typing Teacher
  200.  
  201. //#define SPECIAL_CASE_EASY_TUTORIAL_WIN95 1
  202.   // Define the above if this is Easy Tutorial for Windows 95
  203.  
  204. //#define SPECIAL_CASE_OFFICE_SUITE 1
  205.   // Define the above if this is Office Suite
  206.  
  207. //#define SPECIAL_CASE_3DIT
  208.   // Define the above if this is 3D-It
  209.   // Also define REQUIRES_INI_FILE_ENTRIES
  210.  
  211. //#define SPECIAL_CASE_WEBSTERS_HME95 1
  212.   // Define the above if this is Webster's Concise Encyclopedia 1995 edition
  213.   // Also define REQUIRES_INI_FILE_ENTRIES
  214.  
  215.  
  216. //=================================================================================================
  217. // Requirements definitions:
  218.  
  219.   //----- VIDEO FOR WINDOWS:
  220.   //
  221. #define REQUIRES_VFW 1
  222.   // Define the above if Video For Windows is required
  223.  
  224.  
  225.   //----- Speaker Driver
  226.   //
  227. //#define REQUIRES_SPEAKER_DRIVER 1
  228.   // Define the above if the speaker driver should be installed
  229.  
  230.  
  231.   //----- Processor requirements (overridden by VFW):
  232. #ifdef REQUIRES_VFW
  233.     #define REQUIRES_80386 1
  234. #else
  235.       //--- CPU REQUIREMENTS:
  236.       //
  237.     #define REQUIRES_80286   1
  238.     //#define REQUIRES_80386   1
  239.     //#define REQUIRES_80486   1
  240.     //#define REQUIRES_PENTIUM 1
  241. #endif
  242.  
  243.  
  244. //#define REQUIRES_WINDOWS95      1
  245.   // Define the above if Windows 95 is required.
  246.   // If Windows 95 is required, then define the following if
  247.   // the program will also run under Windows NT and/or Win32s.
  248.   // APP_IS_32BIT should be defined for 32-bit programs (this
  249.   // is intended for future use).
  250.  
  251. #ifdef REQUIRES_WINDOWS95
  252.     #define OK_WINDOWSNT 1
  253.     //#define OK_WIN32S    1
  254.     //#define APP_IS_32BIT 1
  255. #endif
  256.  
  257. // eof CUSTOM.RUL
  258.