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