home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2001 December / dppcpro1201.iso / Extras / maple / Viewer / WebEQ / MMLViewerInstall.cab / maple.inf next >
Encoding:
Windows Setup INFormation  |  2001-05-15  |  5.3 KB  |  159 lines

  1. ; MASTER.INF modified for WebEQ installation 
  2. ; Eduardo Tabacman, 05/03/98
  3.  
  4. ; This inf file controls the user's installation of your Java
  5. ; classes. It is provided as a template; make a copy and modify the copy.
  6. ; This file is separated into sections; be sure to make the 
  7. ; necessary changes in each one.
  8. ; See the SDK for Java documentation (under Tools) for information on
  9. ; using this file with the cabarc.exe utility to distribute Java classes.  
  10.  
  11. [hook1]
  12.  
  13. ; In this line, replace CabFileName.cab with the inner CAB file name
  14. ; that contains your classes.  
  15.  
  16. run=extrac32.exe /e /a /y /l %49000% MMLViewerApplet.cab
  17.  
  18. [hook2]
  19.  
  20. ; Change the name of master.inf to the name you are assigning this
  21. ; file. Leave the second line alone.
  22.  
  23. InfFile=maple.inf
  24. InfSection=RegistryData
  25. run=%EXTRACT_DIR%\success.exe
  26.  
  27. [Strings]
  28. ; Running guidgen in the SDK generates the ClassId you need to fill 
  29. ; in here. This classId also goes in the OBJECT tag.
  30. ; Don't forget the set braces!
  31.  
  32. ClassId="{5CD08860-5B18-11d4-A874-0080ADC8A8F0}"
  33.  
  34. ; Put the name by which your packages should be referred to 
  35. ; (i.e. "Bob's Text Viewer") here.
  36.  
  37. PackageName="WMI MathML Viewer 1.1"
  38.  
  39. [AddRegSection]
  40.  
  41. ; Leave this line.
  42. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%",,,"%PackageName%"
  43.  
  44. ; Replace <aa...> with the version number (like 1,0,0,1) of this
  45. ; version of your library. This is so that when you want to update
  46. ; your libraries, you can change the version rather then the classId
  47. ; and the problems that go with that. If the version number here
  48. ; and in the OBJECT tag match the version already stored on the
  49. ; user's machine, it will not download the classes again, which
  50. ; also saves time and energy.
  51.  
  52. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InstalledVersion",,,"1,0,1,3"
  53.  
  54. ; Here, replace <filename> with the name of one of the class files in
  55. ; your package, including the virtual path (specified in classpck.ddf)
  56. ; to that file. This will make sure that the classes exist on the
  57. ; user's system; if they don't, they will be downloaded, regardless
  58. ; of version numbers.
  59.  
  60. HKLM,"Software\Classes\CLSID\%ClassId%\InstalledVersion","Path",,"%49000%\com\maplesoft\mathmlviewer.class"
  61.  
  62. ; Leave these keys alone.
  63.  
  64. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32",,,"%11%\MSJAVA.DLL"
  65. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","NoJavaClass",,""
  66. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","ThreadingModel",,"Both"
  67.  
  68.  
  69. ; Under most circumstances, you should leave the next two keys alone.
  70. ; Only change them if
  71. ; 1) You have not expanded the classes into their subdirectories on
  72. ; the user's machine, but have instead stored them in an uncompressed
  73. ; .ZIP file; in that case, change the appropriate value
  74. ; to "%49000%\<ZipFileName>".
  75. ;
  76. ; 2) You have decided to install the files onto another, hard-coded
  77. ; directory of your choice. This is not recommended, for you will
  78. ; clutter up the user's directories and have to make other changes.
  79. ; If you do so, though, change the appropriate value to the absolute
  80. ; pathname to that directory, and change it in the run= line above.
  81. ;
  82. ; If you use one of these, you will use exactly one.
  83.  
  84. HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","Lib",,"%49000%"
  85. ;HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","TrustedLib",,"%49000%"
  86.  
  87.  
  88. ; ***************************************************************
  89. ; THE NEXT SECTION IS TO BE CHANGED IF YOU WANT TO INSTALL
  90. ; NATIVE CODE (DLLS, ETC.) ON THE USER'S MACHINE. PLEASE BE
  91. ; RESPONSIBLE ABOUT THIS USE.
  92. ; ***************************************************************
  93.  
  94. ; This template assumes you are installing all items into the
  95. ; <windir>\system directory, and that they are all in 8.3 form. 
  96. ; If you need something more complex, update the INF appropriately. 
  97.  
  98. ; Leave these three lines.
  99. [RegistryData]
  100. AddReg=AddRegSection
  101. CustomDestination=MyCustomDestination
  102.  
  103. ;; If you are installing native code, you will want to uncomment all
  104. ;; the lines in the remainder of this section, except for the ones 
  105. ;; that are descriptive (and have two semicolons).
  106.  
  107. ; CopyFiles=OtherFiles
  108.  
  109. ;[DestinationDirs]
  110. ;OtherFiles=11
  111.  
  112. ;[OtherFiles]
  113. ;; List the name of each file (delimited by returns) here.
  114. ;; Just list the local name--no need for paths, etc. Example:
  115. ;; foo1.dll,,,32
  116. ;; foo2.dll,,,32
  117.  
  118. ;[SourceDisksFiles]
  119. ;; For each name listed in the above section, you will want to put
  120. ;; <filename>=1 on this list. So it would look like
  121. ;; foo1.dll=1
  122. ;; foo2.dll=1
  123.  
  124. ;[SourceDisksNames]
  125. ;1=%PackageName%,"",0
  126.  
  127.  
  128. ; **************************************************************
  129. ; END OF NATIVE CODE SECTION
  130. ; **************************************************************
  131.  
  132. [PackageDestination49000]
  133.  
  134. ; This value should only change if you have decided to place your
  135. ; classes in the TrustedClasspath. In that case, you
  136. ; will change "LibsDirectory" to "TrustedLibsDirectory".
  137.  
  138. "HKLM","Software\Microsoft\Java VM","LibsDirectory","",""
  139.  
  140. ; *************************************************
  141. ; THE REMAINDER OF THIS FILE SHOULD NOT BE CHANGED.
  142. ; *************************************************
  143.  
  144. [Setup Hooks]                
  145. hook1=hook1
  146. hook2=hook2
  147.  
  148. [Version]
  149. signature="$CHICAGO$"
  150. AdvancedINF=2.0
  151.  
  152.  
  153. [DefaultInstall]
  154. CustomDestination=MyCustomDestination
  155. AddReg=AddRegSection
  156.  
  157. [MyCustomDestination]
  158. 49000=PackageDestination49000,23
  159.