home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 December / PCWorld_1999-12_cd.bin / Software / Vyzkuste / ARJfold / ARJFEX.INF < prev    next >
Windows Setup INFormation  |  1999-10-15  |  8KB  |  231 lines

  1. ; ARJFolder.INF entries
  2. ;
  3. ; Copyright 1997-1999 Raphael Mounier
  4. ;
  5.  
  6. [version]
  7. signature="$Chicago$"
  8. SetupClass=BASE
  9. AdvancedINF=2.5, "%ERROR_WRONG_ADVPACK_VERSION%"
  10.  
  11.  
  12. ; Install ARJFolder
  13. [MinimunInstall]
  14. RequiredEngine    = Setupapi,%ERROR_ENGINE_NOTFOUND%
  15. CopyFiles    = ThisDll.sys.install,ThisDll.arjf.install,ThisDll.inf.install
  16. RequiredEngine    = Setupapi,"Couldn't find Setupapi.dll"
  17. AddReg        = ThisDll.Add.Reg,ThisDll.Opt.Reg,ThisDll.Uninst.Reg
  18. UpdateInis    = ThisDll.Links
  19. CustomDestination=DestinationInstall
  20. Reboot          = 1
  21.  
  22. ; DΘsinstallation
  23. [DefaultUninstall]
  24. DelFiles    = ThisDll.sys.install,ThisDll.sysarj.install,ThisDll.arjf.install,ThisDll.inf.install,ThisDll.arj.install
  25. DelReg        = ThisDll.Add.Reg,ThisDll.Uninst.Reg,ThisDll.Del.Reg
  26. UpdateInis    = ThisDll.Links.Remove
  27. BeginPrompt        = Remove.BeginPrompt
  28. EndPrompt          = Remove.EndPrompt
  29. CustomDestination = DestinationUninstall
  30. Reboot          = 1
  31. ;DelDirs    = DelArjFDir
  32.  
  33.  
  34. [ThisDll.Add.Reg]
  35. HKCR,CLSID\{FEB7DAE0-E111-11D0-BFD7-444553540000},,,"Dossier ArjFolder"
  36. HKCR,CLSID\{FEB7DAE0-E111-11D0-BFD7-444553540000}\InProcServer32,,,"%11%\%ShellExtPath%\%ThisDll%"
  37. HKCR,CLSID\{FEB7DAE0-E111-11D0-BFD7-444553540000}\InProcServer32,ThreadingModel,,"Apartment"
  38. HKCR,CLSID\{FEB7DAE0-E111-11D0-BFD7-444553540000}\DefaultIcon,,,"%11%\%ShellExtPath%\%ThisDll%,0"
  39. HKCR,CLSID\{FEB7DAE0-E111-11D0-BFD7-444553540000}\ShellFolder,Attributes,1,A0,01,00,20
  40. HKCR,CLSID\{FEB7DAE0-E111-11D0-BFD7-444553540000}\ShellEx\PropertySheetHandlers\{FEB7DAE0-E111-11D0-BFd7-444553540000},,,""
  41. HKCR,CLSID\{FEB7DAE0-E111-11D0-BFD7-444553540000}\ShellEx\ContextMenuHandlers\{FEB7DAE0-E111-11D0-BFd7-444553540000},,,""
  42.  
  43. HKCR,ArjFolderDoc\,,,"Document ArjFolder"
  44. HKCR,ArjFolderDoc\DefaultIcon,,,"%11%\%ShellExtPath%\%ThisDll%,-4"
  45. HKCR,ArjFolderDoc\Shell\Open,,,""
  46. HKCR,ArjFolderDoc\Shell\Open\Command,,,"rundll32 %11%\%ShellExtPath%\%ThisDll%,RouteTheCall %L"
  47. HKCR,ArjFolderDoc\Shell\Explore,,,""
  48. HKCR,ArjFolderDoc\Shell\Explore\Command,,,"explorer /e,/root,{FEB7DAE0-E111-11D0-BFd7-444553540000}, %1"
  49. HKCR,ArjFolderDoc\ShellEx\ContextMenuHandlers\{FEB7DAE0-E111-11D0-BFD7-444553540000},,,""
  50. HKCR,ArjFolderDoc\ShellEx\PropertySheetHandlers\{FEB7DAE0-E111-11D0-BFd7-444553540000},,,""
  51. HKCR,ArjFolderDoc,EditFlags,1,0,0,0,0
  52.  
  53. HKCR,ArjFolderDocEx\,,,"Document ArjFolder"
  54. HKCR,ArjFolderDocEx\DefaultIcon,,,"%11%\%ShellExtPath%\%ThisDll%,-4"
  55. HKCR,ArjFolderDocEx\Shell\Open,,,""
  56. HKCR,ArjFolderDocEx\Shell\Open\Command,,,"rundll32 %11%\%ShellExtPath%\%ThisDll%,RouteTheCall %L"
  57. HKCR,ArjFolderDocEx\Shell\Explore,,,""
  58. HKCR,ArjFolderDocEx\Shell\Explore\Command,,,"explorer /e,/root,{FEB7DAE0-E111-11D0-BFd7-444553540000}, %1"
  59. HKCR,ArjFolderDocEx\ShellEx\ContextMenuHandlers\{FEB7DAE0-E111-11D0-BFD7-444553540000},,,""
  60. HKCR,ArjFolderDocEx\ShellEx\PropertySheetHandlers\{FEB7DAE0-E111-11D0-BFd7-444553540000},,,""
  61. HKCR,ArjFolderDocEx\ShellEx\DropHandler,,,"{FEB7DAE0-E111-11D0-BFd7-444553540000}"
  62. HKCR,ArjFolderDocEx,EditFlags,1,0,0,0,0
  63.  
  64. HKCR,.arj,,,"ArjFolderDocEx"
  65. HKCR,.gz,,,"ArjFolderDoc"
  66. HKCR,.tgz,,,"ArjFolderDoc"
  67. HKCR,.taz,,,"ArjFolderDoc"
  68. HKCR,.zip,,,"ArjFolderDocEx"
  69. HKCR,.tar,,,"ArjFolderDoc"
  70. HKCR,.cab,,,"ArjFolderDoc"
  71. HKCR,.rar,,,"ArjFolderDoc"
  72. HKCR,.ace,,,"ArjFolderDoc"
  73. HKCR,.Z,,,"ArjFolderDoc"
  74. HKCR,*\Shellex\ContextMenuHandlers\ArjFolder,,,{FEB7DAE0-E111-11D0-BFd7-444553540000}
  75. HKCR,Directory\Shellex\ContextMenuHandlers\ArjFolder,,,{FEB7DAE0-E111-11D0-BFd7-444553540000}
  76. HKCR,Drive\Shellex\ContextMenuHandlers\ArjFolder,,,{FEB7DAE0-E111-11D0-BFd7-444553540000}
  77.  
  78. HKLM,"SoftWare\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved",{FEB7DAE0-E111-11D0-BFD7-444553540000},,"ArjFolder"
  79.  
  80.  
  81.  
  82. [ThisDll.Opt.Reg]
  83. HKLM,"SoftWare\ArjFolder","InstDir",,"%49100%"
  84. HKCU,"SoftWare\ArjFolder","Display Settings",,"00"
  85.  
  86. [ThisDll.Uninst.Reg]
  87. HKLM,SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\ArjFolder,,,
  88. HKLM,SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\ArjFolder,"DisplayName",,%ARJFVERSION%
  89. HKLM,SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\ArjFolder,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSectionEx %17%\ArjFEx.inf, DefaultUninstall,,,256" 
  90.  
  91. [ThisDll.Del.Reg]
  92. HKLM,SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\ArjFolder
  93. HKCR,ArjFolderDoc
  94. HKCR,ArjFolderDocEx
  95.  
  96.  
  97. [ThisDll.Links]
  98. setup.ini, progman.groups,,"GroupArjFolder=ArjFolder"
  99. setup.ini, GroupArjFolder,,"""%README%"", """"""%24%\%PROGRAMS%\%ArjFInstPath%\ArjFInfo.txt"""""",,,,""%24%\%PROGRAMS%\%ArjFInstPath%\"""
  100. setup.ini, GroupArjFolder,,"""%PROGCONF%"", """"""%24%\%PROGRAMS%\%ArjFInstPath%\ArjFConf.exe"""""",,,,""%24%\%PROGRAMS%\%ArjFInstPath%\"""
  101. setup.ini, GroupArjFolder,,"""%HELPFILE%"", """"""%24%\%PROGRAMS%\%ArjFInstPath%\ArjFolde.hlp"""""",,,,""%24%\%PROGRAMS%\%ArjFInstPath%\"""
  102.  
  103. [ThisDll.Links.Remove]
  104. setup.ini, progman.groups,,"GroupArjFolder=ArjFolder"
  105. setup.ini, GroupArjFolder,,"""%README%""
  106. setup.ini, GroupArjFolder,,"""%PROGCONF%""
  107. setup.ini, GroupArjFolder,,"""%HELPFILE%""
  108.  
  109.  
  110. [ThisDll.sys.install]
  111. ArjFolde.dll
  112. Win32FR.sfx
  113. Win32US.sfx
  114. WCEMpsFR.sfx
  115. WCEx86FR.sfx
  116. WCESHFR.sfx
  117. WCEMpsUS.sfx
  118. WCEx86US.sfx
  119. WCESHUS.sfx
  120.  
  121. [ThisDll.arjf.install]
  122. ArjFInfo.txt
  123. ArjFConf.exe
  124. ArjFolde.hlp
  125. ArjFolde.cnt
  126.  
  127. [ThisDll.inf.install]
  128. ArjFEx.inf
  129.  
  130. [SourceDisksNames]
  131. 1="ArjFolder","",0
  132.  
  133. [SourceDisksFiles]
  134. ArjFolde.dll=1
  135. ArjFInfo.txt=1
  136. ArjFConf.exe=1
  137. Win32FR.sfx=1
  138. Win32US.sfx=1
  139. WCEMpsFR.sfx=1
  140. WCEx86FR.sfx=1
  141. WCESHFR.sfx=1
  142. WCEMpsUS.sfx=1
  143. WCEx86US.sfx=1
  144. WCESHUS.sfx=1
  145. ArjFolde.hlp=1
  146. ArjFolde.cnt=1
  147.  
  148.  
  149. [DestinationDirs]
  150. ThisDll.sys.install=11,%ShellExtPath% ; to System\%ShellExtPath%
  151. ThisDll.sysarj.install=11,%ShellExtPath% ; to System\%ShellExtPath%
  152. ThisDll.arj.install=49100,%ArjInstPath% ; to %ArjInstPath%
  153. ThisDll.arjf.install=49100 ; 
  154. ThisDll.inf.install=17 ; to inf
  155.  
  156.  
  157. ;==============================================================================================
  158. ; These are the Debug sections.
  159. ;==============================================================================================
  160. ;DEBUG!
  161. ;[DebugRegKeys]
  162. ;"HKLM","SOFTWARE\ArjFolder\Debug","InstDir",,"49100 = %49100%"
  163.  
  164.  
  165. ;==============================================================================================
  166. ; These are the directory sections.
  167. ;==============================================================================================
  168. ; Change 5 to 1 below to prompt user for path.  
  169. [DestinationInstall]
  170. 49000=ProgramFilesDir,5
  171. 49100=CustomInstallDir,5
  172.  
  173. [DestinationUninstall]
  174. 49000=ProgramFilesDir,5
  175. 49100=CustomInstallDir,5
  176.  
  177. [DelArjFDir]
  178. %49100%
  179.  
  180.  
  181. [ProgramFilesDir]
  182. "HKLM","SOFTWARE\Microsoft\Windows\CurrentVersion","ProgramFilesDir",,"%24%\%PROGRAM%"
  183.  
  184. [CustomInstallDir]
  185. "HKLM","SOFTWARE\ArjFolder","InstDir",%INSTALL_DIR_PROMPT%,"%49000%\%ArjFInstPath%"
  186.  
  187.  
  188. ;==============================================================================================
  189. ; These are the prompt for install sections.
  190. ;==============================================================================================
  191.  
  192. [Remove.BeginPrompt]
  193. Prompt="%REMOVE_CONFIRMATION_PROMPT%"
  194. ButtonType=OKCANC
  195. Title="%ARJFOLDER_TITLE%"
  196.  
  197. [Remove.EndPrompt]
  198. Prompt="%REMOVE_COMPLETION_PROMPT%"
  199. Title="%ARJFOLDER_TITLE%"
  200.  
  201. ;==============================================================================================
  202. ; These are the localisation string
  203. ;==============================================================================================
  204.  
  205. [Strings]
  206. ; ArjFolder string
  207. ThisDll = "ArjFolde.dll"
  208. ShellExtPath = "ShellExt"
  209. ArjInstPath = "Arj303"
  210. ArjFInstPath = "ArjFolder"
  211. PROGRAMS = "Progra~1"    ; Should be "Program Files", but it fails to create link on NT.
  212. README="Readme"
  213. PROGCONF="ArjFolder Settings"
  214. HELPFILE="Help on ArjFolder"
  215. ARJFVERSION="ARJ Folder V3.10"
  216.  
  217. ; ArjFolder Title
  218. ARJFOLDER_TITLE=ArjFolder
  219.  
  220. ; Prompt for uninstall
  221. REMOVE_CONFIRMATION_PROMPT = "Are you sure you want to remove ArjFolder from your computer?"
  222. REMOVE_COMPLETION_PROMPT = "ArjFolder has been removed."
  223.  
  224. ;Prompt for Destination
  225. INSTALL_DIR_PROMPT = "Please enter the directory for installation :"
  226.  
  227. ;Error Messages
  228. ERROR_ENGINE_NOTFOUND = "Unable to find correct setup engine. Cancel..."
  229. ERROR_WRONG_ADVPACK_VERSION = "New version of Advpack.dll is require !"
  230.  
  231.