home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 14 / IOPROG_14.ISO / soft / sdkjava / sdkjava.exe / SDKJava.cab / AFC102 / afcsetup.exe / AFC.INF next >
Encoding:
Windows Setup INFormation  |  1997-11-19  |  7.5 KB  |  203 lines

  1. ; This INF installs AFC on either Netscape or IE.
  2. ; Use DefaultIEInstall to install AFC for IE, or
  3. ; DefaultNSInstall for Netscape (with AFCDir set to point to
  4. ; Netscape's Java\Classes directory). Uninstall automatically
  5. ; removes the proper files. Use other install points
  6. ; (TooNewNSInstall, DefaultInstall) as necessary...now they do
  7. ; nothing special. Default install is for IE.
  8. [Version] 
  9. Signature=$CHICAGO$ 
  10.  
  11. [IEVersion]
  12. Min=3.00
  13. Max=5.00
  14. Exclude=
  15. NoWarn=0
  16.  
  17. [NSVersion]
  18. Min=2.00
  19. Max=4.03
  20. Exclude=
  21. NoWarn=0
  22.  
  23. [Win95Version]
  24. Min=4.00
  25. Max=4.10
  26. Exclude=
  27. NoWarn=0
  28.  
  29. [WinNTVersion]
  30. Min=4.0
  31. Max=4.0
  32. Exclude=
  33. NoWarn=0
  34.  
  35. [DestinationDirs] 
  36. ; Netscape and Internet Explorer go to the
  37. ; windows\java directories.
  38. NS_AFCCopy=25, Java\Classes
  39. NS_AFCDel=25, Java\Classes
  40. NS_RESCopy=25, Java
  41. NS_Locale=25, Java
  42.  
  43. IE_AFCCopy=25, Java\Classes
  44. IE_AFCDel=25, Java\Classes
  45. IE_RESCopy=25, Java
  46. IE_Locale=25, Java
  47.  
  48. AFCINFCopy=17 
  49.  
  50. [DefaultInstall] 
  51. CopyFiles=IE_AFCCopy, IE_RESCopy, AFCINFCopy
  52. AddReg=IE_ResourceRename, IE_AFCRegUninstall
  53.  
  54. [TooNewNSInstall] 
  55. CopyFiles=NS_AFCCopy, NS_RESCopy, AFCINFCopy
  56. AddReg=NS_AFCRegUninstall, NS_ResourceRename
  57.  
  58. [TooNewIEInstall] 
  59. CopyFiles=IE_AFCCopy, IE_RESCopy, AFCINFCopy
  60. AddReg=IE_AFCRegUninstall, IE_ResourceRename
  61.  
  62. [DefaultIEInstall] 
  63. CopyFiles=IE_AFCCopy, IE_RESCopy, AFCINFCopy
  64. AddReg=IE_AFCRegUninstall, IE_ResourceRename
  65.  
  66. [DefaultNSInstall] 
  67. CopyFiles=NS_AFCCopy, NS_RESCopy, AFCINFCopy
  68. AddReg=NS_AFCRegUninstall, NS_ResourceRename
  69.  
  70. [IE_RemoveAFC] 
  71. BeginPrompt=BeginUninstall
  72. DelFiles=IE_AFCCopy, AFCINFCopy, IE_RESCopy, IE_Locale
  73. DelReg=IE_AFCRegUninstall, IE_ResourceDelete
  74.  
  75. [NS_RemoveAFC] 
  76. BeginPrompt=BeginUninstall
  77. DelFiles=NS_AFCCopy, AFCINFCopy, NS_RESCopy, NS_Locale
  78. DelReg=NS_AFCRegUninstall
  79. AddReg=NS_ResourceDelete
  80.  
  81. [BeginUninstall]
  82. Prompt=%UNINSTALL%
  83. ButtonType=YESNO
  84. Title="Microsoft AFC Uninstall"
  85.  
  86. [IE_AFCCopy] 
  87. AFC102.zip
  88. AFCunins.exe,,,1
  89.  
  90. [NS_AFCCopy] 
  91. AFC102.zip
  92. AFCunins.exe,,,1
  93.  
  94. [AFCINFCopy] 
  95. afc.inf
  96.  
  97. [NS_RESCopy]
  98. ;resour~1.res
  99. ;stop.gif
  100. ;question.gif
  101. ;inform~1.gif
  102. ;exclam~1.gif
  103.  
  104. [IE_RESCopy]
  105. ;resour~1.res
  106. ;stop.gif
  107. ;question.gif
  108. ;inform~1.gif
  109. ;exclam~1.gif
  110.  
  111. [IE_Locale]
  112. locale.txt
  113.  
  114. [NS_Locale]
  115. locale.txt
  116.  
  117. [IE_AFCRegUninstall] 
  118. ;Add entry to the Add-Remove Programs control panel to uninstall the program: 
  119. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AFC,"DisplayName",,"Application Foundation Classes (AFC)" 
  120. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AFC,"UninstallString",,"RunDll setupx.dll,InstallHinfSection IE_RemoveAFC 4 afc.inf"
  121. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AFC,"UninstallString",,"%25%\Java\Classes\AFCUnins.exe IE"
  122. ;Add entry to register AFC as installed so autoinstall won't run again
  123. HKCR,CLSID\%GUID%, "",, "AFC autoinstall"
  124. HKCR,CLSID\%GUID%\InstalledVersion, "",, %VERSION%
  125.  
  126. [NS_AFCRegUninstall] 
  127. ;Add entry to the Add-Remove Programs control panel to uninstall the program: 
  128. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AFC,"DisplayName",,"Application Foundation Classes (AFC)" 
  129. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AFC,"UninstallString",,"RunDll setupx.dll,InstallHinfSection NS_RemoveAFC 4 afc.inf" 
  130. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AFC,"UninstallString",, "%25%\Java\Classes\AFCUnins.exe NS"
  131. ;Add entry to register AFC as installed so autoinstall won't run again
  132. HKCR,CLSID\%GUID%, "",, "AFC autoinstall"
  133. HKCR,CLSID\%GUID%\InstalledVersion, "",, %VERSION%
  134.  
  135. [IE_ResourceRename]
  136. ; adds entry to rename file from 8.3 to long file name
  137. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%AFCDIR%\Java
  138. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,resour~1.res,,"$$res$$.res"
  139. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%AFCDIR%\Java
  140. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,$$res$$.res,,"resources.res"
  141. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%AFCDIR%\Java
  142. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,inform~1.gif,,"$$inf$$.gif"
  143. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%AFCDIR%\Java
  144. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,$$inf$$.gif,,"information.gif"
  145. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%AFCDIR%\Java
  146. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,exclam~1.gif,,"$$exc$$.gif"
  147. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%AFCDIR%\Java
  148. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,$$exc$$.gif,,"exclamation.gif"
  149.  
  150. [NS_ResourceRename]
  151. ; adds entry to rename file from 8.3 to long file name
  152. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%24%%AFCDIR%
  153. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,resour~1.res,,"$$res$$.res" 
  154. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%24%%AFCDIR%
  155. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,$$res$$.res,,"resources.res" 
  156. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%24%%AFCDIR%
  157. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,inform~1.gif,,"$$inf$$.gif" 
  158. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%24%%AFCDIR%
  159. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,$$inf$$.gif,,"information.gif" 
  160. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%24%%AFCDIR%
  161. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,exclam~1.gif,,"$$exc$$.gif" 
  162. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%24%%AFCDIR%
  163. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,$$exc$$.gif,,"exclamation.gif" 
  164.  
  165. [IE_ResourceDelete]
  166. ; adds entry to delete long file names
  167. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\JavaHome,,,%25%\Java
  168. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\JavaHome,resour~1.res,,"resources.res" 
  169. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%25%\Java
  170. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,inform~1.gif,,"information.gif"
  171. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%25%\Java
  172. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,exclam~1.gif,,"exclamation.gif"
  173.  
  174. [NS_ResourceDelete]
  175. ; adds entry to delete long file names
  176. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\JavaHome,,,%25%\Java
  177. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\JavaHome,resour~1.res,,"resources.res"
  178. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%25%\Java
  179. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,inform~1.gif,,"information.gif"
  180. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,,,%25%\Java
  181. HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\JavaHome,exclam~1.gif,,"exclamation.gif"
  182.  
  183. [SourceDisksNames] 
  184. 1=%DiskName%,AFC,0
  185.  
  186. [SourceDisksFiles] 
  187. afc102.zip=1 
  188. afc.inf=1
  189. ;resour~1.res=1
  190. ;stop.gif=1
  191. ;question.gif=1
  192. ;exclam~1.gif=1
  193. ;inform~1.gif=1
  194.  
  195. [Strings] 
  196. GUID="{9C06B801-F217-11d0-AA9B-0000F8052E95}"
  197. SampleFolder="AFC" 
  198. SampleDesc="Microsoft Application Foundation Classes" 
  199. DiskName="AFC Installation Disk" 
  200. UNINSTALL="Do you really want to remove Microsoft Application Foundation Classes?"
  201. AFCDIR=Java
  202. VERSION="2,0,0,2240"
  203.