home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / CHIPCD_02_2002.iso / Internet / Macromedia ColdFusion Server 5 / coldfusion-50-win-us.exe / data1.cab / WebRoot / cfide / classes / CFJava.cab / CFJava.inf next >
Encoding:
Windows Setup INFormation  |  1999-08-31  |  4.9 KB  |  154 lines

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