home *** CD-ROM | disk | FTP | other *** search
/ What the Doctor Required - The Freshest December / December.iso / windows / mem1614 / precopy3.cab / fpxprs16.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1997-10-20  |  8.9 KB  |  241 lines

  1. ; FPXPRS16.INF
  2. ;
  3. ; Installation file for the Microsoft FrontPage Express as a Windows optional component.
  4. ;
  5. ; Copyright 1997, Microsoft Corporation
  6.  
  7. [Version]
  8. Signature=$CHICAGO$
  9. AdvancedINF=2.5
  10. SetupClass=BASE
  11. LayoutFile=layout.inf, layout1.inf
  12. RequiredEngine=Setupapi,"Couldn't find Setupapi.dll"
  13.  
  14. ; Executed even if FrontPage Express isn't installed.
  15. [BaseWinOptions]
  16. Register_FPXpress
  17.  
  18. ; Describe how to install of FrontPage Express.
  19. [Register_FPXpress]
  20. AddReg=Register_FPXpress.AddReg
  21. CopyFiles=Register_FPXpress.Copy
  22.  
  23. ;Place us on the Windows Setup tab of the Add/Remove Programs control panel.
  24. [Register_FPXpress.AddReg]
  25. HKLM,%KEY_OPTIONAL%,"FrontPageExpress",,"FrontPageExpress"
  26. HKLM,%KEY_OPTIONAL%\FrontPageExpress,INF,,fpxprs16.inf
  27. HKLM,%KEY_OPTIONAL%\FrontPageExpress,Section,,"FrontPageExpress"
  28. HKLM,%KEY_OPTIONAL%\FrontPageExpress,Installed,,"0"
  29.  
  30. [Register_FPXpress.Copy]
  31. fpxprs16.inf
  32.  
  33. [Optional Components]
  34. FrontPageExpress
  35.  
  36. ; Here's the section which performs the install of the FrontPage Express option.
  37. [FrontPageExpress]
  38. ; FrontPage Express second level option
  39. OptionDesc    = %FPXpressDesc%
  40. Tip        = %FPXpress_TIP%
  41. Parent        = InternetTop
  42. InstallType    = 14 ; 1 = compact, 2 = typical, 4 = portable, 8 = custom
  43. IconIndex    = 69 ; FrontPage Express' Icon
  44. Uninstall    = FPXpress_Uninstall
  45. Copyfiles=FPEBinCopy, FPESysCopy, FPENormalCopy, FPEConfirmCopy, FPEHomeCopy, FPESurveyCopy, FPEFormCopy, FPETempCopy
  46. AddReg = WinOptionInstallKeys, ActiveSetupKeys, GeneralRegKeys, GeneralRegKeys.User
  47. UpdateInis = FPEIni, FPEAddLink
  48. PerUserInstall=FPXpress.Stub.Add
  49.  
  50. [DefaultInstall]
  51. Copyfiles=FPEBinCopy, FPESysCopy, FPENormalCopy, FPEConfirmCopy, FPEHomeCopy, FPESurveyCopy, FPEFormCopy, FPETempCopy
  52. AddReg = WinOptionInstallKeys, ActiveSetupKeys, GeneralRegKeys ,GeneralRegKeys.User
  53. UpdateInis = FPEIni, FPEAddLink
  54. PerUserInstall=FPXpress.Stub.Add
  55.  
  56. [FPXpress_Uninstall]
  57. DelFiles = FPEBinCopy, FPENormalCopy, FPEConfirmCopy, FPEHomeCopy, FPESurveyCopy, FPEFormCopy, FPETempCopy
  58. DelReg = ActiveSetupKeys, GeneralRegKeys, GeneralRegKeys.User
  59. AddReg = WinOptionUninstallKeys        ; Mark us as uninstalled.
  60. ;AddReg = DebugRegKeys ; DEBUG!
  61. UpdateInis = FPERemoveLink
  62. PerUserInstall=FPXpress.Stub.Remove
  63.  
  64. ; The following sections implement the user profile install/uninstall.
  65.  
  66. [PerUserStub]
  67. RunPostSetupCommands=RunPostSetupCommandsSection
  68. UpdateInis = FPEIni,FPEAddLink
  69. AddReg = GeneralRegKeys.User
  70.  
  71. [PerUserRemove]
  72. RunPreSetupCommands=RunPreUserRemCommandsSection
  73. UpdateInis = FPERemoveLink
  74. DelReg = GeneralRegKeys.User
  75.  
  76. [FPXpress.Stub.Add]
  77. ComponentName=%ComponentID% ; Intentionally not localized.
  78. DisplayName=%FPXpressDesc%
  79. GUID={E4066320-E4AE-11CF-B1B0-00AA00BBAD66}
  80. Version=%VersionNumber%
  81. Locale=%LocaleID%
  82. IsInstalled=1
  83. StubPath="rundll32.exe advpack.dll,LaunchINFSection %17%\fpxprs16.inf,PerUserStub"
  84.  
  85. [FPXpress.Stub.Remove]
  86. ComponentName=%ComponentID% ; Intentionally not localized.
  87. DisplayName=%FPXpressDesc%
  88. GUID={E4066320-E4AE-11CF-B1B0-00AA00BBAD66}
  89. Version=%VersionNumber%
  90. Locale=%LocaleID%
  91. IsInstalled=0
  92. StubPath="rundll32.exe advpack.dll,LaunchINFSection %17%\fpxprs16.inf,PerUserRemove"
  93.  
  94. [RunPostSetupCommandsSection]
  95. "%11%\setdefed.exe" -i """%29200%\bin\fpxpress.exe %%1""" %ShellVerb%
  96.  
  97. [RunPreUserRemCommandsSection]
  98. "%11%\setdefed.exe" -u
  99.  
  100. ; The file copy sections.
  101.  
  102. [FPEBinCopy]
  103. fp20ime.dll
  104. fpxpress.exe
  105. lead52n.dll
  106. fpxpress.chm
  107. fp20htp.dll
  108. fp20utl.dll
  109. fp20tl.dll
  110.  
  111. [FPESysCopy]
  112. setdefed.exe
  113.  
  114. [FPENormalCopy]
  115. normal.htm
  116. normal.inf
  117.  
  118. [FPEConfirmCopy]
  119. confirm.htm
  120. confirm.inf
  121.  
  122. [FPESurveyCopy]
  123. survey.htm
  124. survey.inf
  125.  
  126. [FPEFormCopy]
  127. vtiform.exe
  128. vtiform.inf
  129.  
  130. [FPEHomeCopy]
  131. vtihome.exe
  132. vtihome.inf
  133.  
  134. ; Can't just make an empty directory, so copy an empty file into it.
  135. [FPETempCopy]
  136. empty.tmp
  137.  
  138. [DestinationDirs]
  139. FPEBinCopy=29200,bin
  140. FPESysCopy=11
  141. FPENormalCopy=29200,pages\normal.tem
  142. FPEConfirmCopy=29200,pages\confirm.tem
  143. FPESurveyCopy=29200,pages\survey.tem
  144. FPEHomeCopy=29200,pages\vtihome.wiz
  145. FPEFormCopy=29200,pages\vtiform.wiz
  146. FPETempCopy=29200,temp
  147. Register_FPXpress.Copy=17
  148.  
  149. [WinOptionInstallKeys]
  150. HKLM,%KEY_OPTIONAL%\FrontPageExpress,Installed,,"1"
  151. HKLM,%KEY_RUNONCE%,"%FPXpressDesc%",,"%11%\setdefed.exe -i ""%29200%\bin\fpxpress.exe %%1"" %ShellVerb%"
  152.  
  153. [WinOptionUninstallKeys]
  154. HKLM,%KEY_OPTIONAL%\FrontPageExpress,Installed,,"0"
  155. HKLM,%KEY_RUNONCE%,"%FPXpressDesc%",,"%11%\setdefed.exe -u"
  156.  
  157. [ActiveSetupKeys]
  158. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%",,,"%FPXpressDesc%"
  159. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","ComponentID",,"%ComponentID%"
  160. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","IsInstalled",1,01,00,00,00
  161. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Version",,"%VersionNumber%"
  162. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Locale",,"%LocaleID%"
  163. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%UninstallFolderName%",,,""
  164.  
  165. [GeneralRegKeys]
  166. ; Let the shell know the path to our EXE and that we accept URLs.
  167. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FPXPRESS.EXE",,,"%29200%\bin\fpxpress.exe"
  168. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FPXPRESS.EXE","useURL",,"yes"
  169.  
  170. ; Let HTML Help know where our help file is installed.
  171. HKLM,"SOFTWARE\Microsoft\Windows\HTML Help","fpxpress.chm",,"%29200%\bin"
  172.  
  173. ; Remember where we were installed for uninstall.
  174. HKLM,SOFTWARE\Microsoft\FrontPageExpress,"InstallDir",,"%29200%"
  175.  
  176. [GeneralRegKeys.User]
  177. ; Insert menu customizations for FrontPage Express.
  178. HKCU,"Software\Microsoft\FrontPageExpress\Init Commands",MenuItem1,,"2,1,1,%MenuLabel%,%ItemLabel1%,<!--webbot bot=HTMLMarkup alt='<B><I>%ItemHTML1%</I></B> ' startspan -->%THISDIRNAME%<!--webbot bot=HTMLMarkup endspan -->,%InsertBefore%,2,%ItemComment1%,"
  179. HKCU,"Software\Microsoft\FrontPageExpress\Init Commands",MenuItem2,,"2,1,1,%MenuLabel%,%ItemLabel2%,<!--webbot bot=HTMLMarkup u-src='file:///%29200%\Data\FoldData.gif' startspan --><object width="100%" height="85%" classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2"></object><!--webbot bot=HTMLMarkup endspan -->,%InsertBefore%,2,%ItemComment2%,"
  180. HKCU,"Software\Microsoft\FrontPageExpress\Init Commands",MenuItem3,,"2,1,1,%MenuLabel%,-,,%InsertBefore%,,,"
  181.  
  182. ; Insert menu customizations for the FrontPage Editor.
  183. HKCU,"Software\Microsoft\FrontPage\Editor\Init Commands",MenuItem1,,"2,1,1,%MenuLabel%,%ItemLabel1%,<!--webbot bot=HTMLMarkup alt='<B><I>%ItemHTML1%</I></B> ' startspan -->%THISDIRNAME%<!--webbot bot=HTMLMarkup endspan -->,%InsertBefore%,2,%ItemComment1%,"
  184. HKCU,"Software\Microsoft\FrontPage\Editor\Init Commands",MenuItem2,,"2,1,1,%MenuLabel%,%ItemLabel2%,<!--webbot bot=HTMLMarkup u-src='file:///%29200%\Data\FoldData.gif' startspan --><object width="100%" height="85%" classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2"></object><!--webbot bot=HTMLMarkup endspan -->,%InsertBefore%,2,%ItemComment2%,"
  185. HKCU,"Software\Microsoft\FrontPage\Editor\Init Commands",MenuItem3,,"2,1,1,%MenuLabel%,-,,%InsertBefore%,,,"
  186.  
  187. ;DEBUG!
  188. ;[DebugRegKeys]
  189. ;"HKLM","SOFTWARE\Microsoft\FrontPageExpress\Debug","InstallDir",,"FPEInstallDriveAndDir = %29200%"
  190.  
  191. [FPEAddLink]
  192. setup.ini, progman.groups,, "group99="%ShortcutInternetSuite%""    ; creates folder (if not already there)
  193. setup.ini, group99,, """%FPXpressLink%"", """"""%29200%\bin\fpxpress.exe"""""""
  194.  
  195. [FPEIni]
  196. fpxpress.ini, FrontPage Express 2.0,, "FrontPageExpressRoot=%29200%"
  197.  
  198. [FPERemoveLink]
  199. setup.ini, progman.groups,, "group99="%ShortcutInternetSuite%""
  200. setup.ini, group99,, """%FPXpressLink%"""
  201.  
  202. [Strings]
  203. ; Unlocalized Strings.
  204. KEY_OPTIONAL = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
  205. KEY_RUNONCE = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
  206.  
  207. ; Active Setup Strings.
  208. GUID = "{E4066320-E4AE-11CF-B1B0-00AA00BBAD66}"
  209. ComponentID = "FrontPad"
  210. VersionNumber = "2,0,1,1120"
  211. UninstallFolderName = "FrontPageExpress"
  212.  
  213. ; Strings to be localized.
  214. LocaleID = "EN"
  215. ShortcutInternetSuite = "Internet Explorer"
  216. DiskName = "Microsoft FrontPage Express Installation Disk"
  217.  
  218. FPXpressLink = "FrontPage Express"
  219. FPXpressDesc = "Microsoft FrontPage Express"
  220. UserPrompt = "Where would you like to install the FrontPage Express files?"
  221. ShellVerb = "&Edit"
  222. BeginPrompt = "Remove Microsoft FrontPage Express from your system?"
  223. EndPrompt = "Microsoft FrontPage Express was successfully removed."
  224.  
  225. ; Menu Item Labels to be localized:
  226. MenuLabel = "&Insert"
  227. InsertBefore = "&Image..."
  228. ItemLabel1 = "Web View Folde&r Title"
  229. ItemLabel2 = "Web View Folder &Contents"
  230.  
  231. ; Menu Item Comments to be localized:
  232. ItemComment1 = "Insert the title of the current folder"
  233. ItemComment2 = "Insert the contents (program icons) of the current folder"
  234.  
  235. ; Inserted HTML to be localized:
  236. ItemHTML1 = "Web View Folder Title"
  237. ItemHTML2 = "Web View Folder Contents"
  238.  
  239. ;New Memphis strings:
  240. FPXpress_TIP = "HTML page editor based on the award-winning Microsoft FrontPage"
  241.