home *** CD-ROM | disk | FTP | other *** search
/ Boot Disc 13 / boot-disc-1997-09.iso / HyprWire / DATA.Z / HypC1R.cab / HypC1R_C.inf < prev   
INI File  |  1997-02-11  |  5KB  |  162 lines

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