home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 November / Pcwk1197.iso / Microsft / ie40pl95 / wpie4x86.cab / wpie4x86.inf < prev    next >
Windows Setup INFormation  |  1997-07-07  |  7KB  |  268 lines

  1. ;                                                    
  2. ;    INF for WebPost 1.5 IE (core) installation
  3. ;
  4. ;    Copyright (c) 1997 Microsoft Corporation
  5. ;
  6. ;    Notes:
  7. ;
  8. ;    "webpost" sections are normal current-version components
  9. ;    "obsolete" sections are previous-version components we no longer need, so we delete them on install
  10. ;    "old" sections are previous-version components which are still usable, so we don't install them but they are removed on uninstall
  11. ;    "uninstall" sections are normal current-version components we don't install directly but we do want to remove on uninstall
  12. ;
  13.  
  14.  
  15. [version]
  16. signature                = "$CHICAGO$"
  17. AdvancedINF                = 2.5, "%ERROR_WRONG_ADVPACK_VERSION%"
  18.  
  19.  
  20. ;    Install instructions
  21.  
  22.  
  23. [DefaultInstall]
  24. ;SetupEngine            = SETUPAPI.DLL,"%ERROR_ENGINE_NOTFOUND%"
  25. CustomDestination        = CustWPDestDir
  26. CopyFiles                = webpost.sys.files,webpost.inf.files,webpost.hlp.files,webpost.main.files
  27. DelFiles                = obsolete.sys.files,obsolete.wp.files
  28. RegisterOCXs            = self.registering.dlls
  29. AddReg                    = webpost.hkcu.reg,webpost.hklm.reg
  30. DelReg                    = obsolete.wp.reg
  31. UpdateInis                = webpost.ini.shortcuts
  32. PerUserInstall            = webpost.stub.add
  33.  
  34.  
  35. ;    Custom installation sections
  36. ;    (in this case responsible for determining location of "Program Files" dir)
  37.  
  38.  
  39. [CustWPDestDir]
  40. ; OEM SFN,ANSI LFN,ANSI SFN,OEM LFN
  41. 49000,49001,49002,49003 = ProgFilesDir,5
  42. 49100,49101,49102,49103 = WPFilesDir,5
  43.  
  44. [ProgFilesDir]
  45. HKLM,'Software\Microsoft\Windows\CurrentVersion','ProgramFilesDir',,"%24%"
  46.  
  47. [WPFilesDir]
  48. ,,,,"%49001%\%WP_DIR%"
  49.  
  50.  
  51. ;    File groups
  52.  
  53.  
  54. [DestinationDirs]
  55. webpost.sys.files        = 11 ; LDID_SYS
  56. obsolete.sys.files        = 11 ; LDID_SYS
  57. old.wp.files            = 11 ; LDID_SYS
  58. webpost.inf.files         = 17 ; LDID_INF
  59. webpost.hlp.files         = 18 ; LDID_HELP
  60. uninstall.hlp.files        = 18 ; LDID_HELP
  61. webpost.main.files        = 49100 ; LDID_WP_DIR
  62. obsolete.wp.files        = 49100 ; LDID_WP_DIR
  63.  
  64. [webpost.sys.files]
  65. WEBPOST.DLL,,,32
  66. WPWIZDLL.DLL,,,32
  67. PIPARSE.DLL,,,32
  68. POSTWPP.DLL,,,32
  69. CRSWPP.DLL,,,32
  70. FTPWPP.DLL,,,32
  71. FPWPP.DLL,,,32
  72.  
  73. [obsolete.sys.files]        ; obsolete 1.1 files to be deleted on install
  74. POSTCAB.EXE,,,32
  75.  
  76. [old.wp.files]                ; not installed by this CAB but removed on uninstall
  77. AOLPOST.DLL
  78. AOLPPOST.DLL
  79. AOLSHIM.EXE
  80. AOLTCP16.DLL
  81. CSWPP.DLL
  82. CSWPPDLL.TXT
  83. CISWPP.DLL
  84. GAUGE.DLL
  85. GNNPOST.DLL
  86. SNWPP.DLL
  87.  
  88. [webpost.inf.files]
  89. WPIE4X86.INF,,,32
  90.  
  91. [webpost.hlp.files]
  92. WPWIZ.CNT,,,32
  93. WPWIZ.HLP,,,32
  94.  
  95. [webpost.main.files]
  96. WPWIZ.EXE,,,32
  97. FLUPL.OCX,,,32
  98.  
  99. [obsolete.wp.files]            ; obsolete 1.1 files to be deleted on install
  100. WEBPOST.TLB,,,32
  101.  
  102. [self.registering.dlls]        ; all DLLs in this section have their DllRegisterServer EPs called
  103. %11%\WEBPOST.DLL
  104. %11%\WPWIZDLL.DLL
  105. %11%\POSTWPP.DLL
  106. %11%\CRSWPP.DLL
  107. %11%\FTPWPP.DLL
  108. %11%\FPWPP.DLL
  109. %49100%\FLUPL.OCX
  110.  
  111. [uninstall.hlp.files]
  112. WPWIZ.ANN,,,32
  113. WPWIZ.FTS,,,32
  114. WPWIZ.GID,,,32
  115.  
  116. ;    File locations
  117.  
  118.  
  119. [SourceDisksFiles]
  120. WEBPOST.DLL                = 55
  121. WPWIZDLL.DLL            = 55
  122. PIPARSE.DLL                = 55
  123. FTPWPP.DLL                = 55
  124. FPWPP.DLL                = 55
  125. POSTWPP.DLL                = 55
  126. CRSWPP.DLL                = 55
  127. WPWIZ.EXE                = 55
  128. WPIE4X86.INF             = 55
  129. WPWIZ.HLP                = 55
  130. WPWIZ.CNT                = 55
  131. WPWIZ.ANN                = 55
  132. WPWIZ.FTS                = 55
  133. WPWIZ.GID                = 55
  134. AOLPOST.DLL                = 55
  135. AOLPPOST.DLL              = 55
  136. AOLSHIM.EXE                = 55
  137. AOLTCP16.DLL              = 55
  138. CSWPP.DLL                = 55
  139. CSWPPDLL.TXT              = 55
  140. CISWPP.DLL                = 55
  141. GAUGE.DLL                = 55
  142. GNNPOST.DLL                = 55
  143. SNWPP.DLL                = 55
  144. FLUPL.OCX                = 55
  145.  
  146.  
  147. [SourceDisksNames]
  148. 55                        = %WP_DISK%,wpie4x86.cab, 0
  149.  
  150.  
  151. ;    Registry entry groups
  152.  
  153.  
  154. [obsolete.wp.reg]        ; removed on install
  155. HKLM,"System\CurrentControlSet\Control\WebPost"
  156.  
  157. [webpost.hkcu.reg]
  158. HKCU,"Software\Microsoft\WebPost\Logging","LoggingDir",,%49101%
  159. HKCU,"Software\Microsoft\WebPost\Logging","WizardLogging",,"No"
  160. HKCU,"Software\Microsoft\WebPost\Logging","WebPostLogging",,"No"
  161.  
  162. [webpost.hklm.reg]
  163. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\WebPost","DisplayName",,%UNINSTALL_NAME%
  164. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\WebPost","QuietUninstallString",,"RunDll32 ADVPACK.DLL,LaunchINFSection %17%\wpie4x86.inf,WebPostUninstall,5"
  165. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\WebPost","RequiresIESysFile",,"4.70.0.1155"
  166. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\WebPost","UninstallString",,"RunDll32 ADVPACK.DLL,LaunchINFSection %17%\wpie4x86.inf,WebPostUninstall"
  167.    
  168.  
  169. ;    Shortcut groups
  170.  
  171.  
  172. [webpost.ini.shortcuts]
  173. setup.ini, progman.groups,,"WPFolder="%PGMGRP%""
  174. setup.ini, WPFolder,,"""%PGMITEM_WP%"",""""""%49100%\WPWIZ.EXE"""""""
  175. setup.ini, progman.groups,,"SendTo=""..\..\%SENDTO_DESC%"""
  176. setup.ini, SendTo,,"""%PGMITEM_WP%"",""""""%49100%\WPWIZ.EXE"""""""
  177.  
  178.  
  179. ;    Per-user stub stuff (to propagate installation to other user profiles)
  180.  
  181.  
  182. [PerUserStub]
  183. UpdateInis                = webpost.ini.shortcuts
  184. AddReg                    = webpost.hkcu.reg
  185. CustomDestination        = CustWPDestDir
  186.  
  187. [webpost.stub.add]
  188. DisplayName=%UNINSTALL_NAME%
  189. ComponentID=WebPost
  190. GUID={44BBA851-CC51-11CF-AAFA-00AA00B6015C}
  191. Version=5,0,0,7461
  192. Locale=EN
  193. IsInstalled=1
  194. StubPath=rundll32.exe advpack.dll,LaunchINFSection %17%\wpie4x86.inf,PerUserStub
  195.  
  196. [PerUserRemove]
  197. UpdateInis                = uninstall.ini.shortcuts
  198. DelReg                    = uninstall.hkcu.reg
  199. CustomDestination        = CustWPDestDir
  200.  
  201. [webpost.stub.remove]
  202. DisplayName=%UNINSTALL_NAME%
  203. ComponentID=WebPost
  204. GUID={44BBA851-CC51-11CF-AAFA-00AA00B6015C}
  205. Version=5,0,0,7461
  206. Locale=EN
  207. IsInstalled=0
  208. StubPath=rundll32.exe advpack.dll,LaunchINFSection %17%\wpie4x86.inf,PerUserRemove
  209.  
  210.  
  211. ;    Uninstallation instructions
  212.  
  213.  
  214. [WebPostUninstall]
  215. BeginPrompt                = UninstallPrompt
  216. CustomDestination        = CustWPDestDir
  217. DelReg                    = uninstall.hkcu.reg,uninstall.hklm.reg
  218. DelFiles                = webpost.sys.files,webpost.hlp.files,uninstall.hlp.files,webpost.main.files,old.wp.files
  219. UpdateInis                = uninstall.ini.shortcuts
  220. DelDirs                    = DelWPDestDir
  221. UnRegisterOCXs            = self.registering.dlls
  222. PerUserInstall            = webpost.stub.remove
  223.  
  224. [UninstallPrompt]
  225. Prompt                    = "%UNINSTALL_PROMPT%"
  226. ButtonType                = YESNO
  227. Title                    = "%PGMITEM_WP%"
  228.  
  229. [DelWPDestDir]
  230. %49101%
  231.  
  232. [uninstall.hkcu.reg]
  233. HKCU,"Software\Microsoft\WebPost"
  234.  
  235. [uninstall.hklm.reg]
  236. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\WebPost"
  237. HKLM,"Software\Microsoft\Active Setup\Installed Components\{44BBA851-CC51-11CF-AAFA-00AA00B6015C}"
  238. HKLM,"System\CurrentControlSet\Services\WebPost"
  239.  
  240. [uninstall.ini.shortcuts]
  241. setup.ini, progman.groups,,"WPFolder="%PGMGRP%""
  242. setup.ini, WPFolder,,"""%PGMITEM_WP%"""
  243. setup.ini, progman.groups,,"SendTo=""..\..\%SENDTO_DESC%"""
  244. setup.ini, SendTo,,"""%PGMITEM_WP%"""
  245.  
  246.  
  247. ;    Strings
  248.  
  249.  
  250. [strings]
  251.  
  252. ; Don't localize these
  253.  
  254.  
  255. ; Do localize these
  256.  
  257. ERROR_WRONG_ADVPACK_VERSION        = "You need a newer version of ADVPACK.DLL"
  258. ERROR_ENGINE_NOTFOUND            = "Cannot find the required setup engine. Aborting..."
  259.  
  260. WP_DIR                    = "Web Publish"
  261. WP_DISK                    = "Web Publishing Wizard disk"
  262. PGMGRP                    = "Internet Explorer"
  263. PGMITEM_WP                = "Web Publishing Wizard"
  264. UNINSTALL_NAME            = "Microsoft Web Publishing Wizard 1.5"
  265. SENDTO_DESC                = "SendTo"
  266. UNINSTALL_PROMPT        = "This will remove the Web Publishing Wizard from your computer. Do you wish to proceed?"
  267.  
  268.