home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 June B / Pcwk6b98.iso / Outlk98 / En / OL98 / FPESETUP.CAB / fpxpress.inf < prev    next >
Windows Setup INFormation  |  1997-10-16  |  9KB  |  257 lines

  1. ; FPXpress.inf
  2. ; Installation file for Microsoft FrontPage Express.
  3.  
  4. [Version]
  5. Signature=$CHICAGO$
  6. AdvancedINF=2.5
  7.  
  8. [DefaultInstall]
  9. RunPostSetupCommands=RunPostSetupCommandsSection
  10. Copyfiles=FPEBinCopy, FPESysCopy, FPENormalCopy, FPEConfirmCopy, FPEHomeCopy, FPESurveyCopy, FPEFormCopy, FPEINFCopy, FPETempCopy
  11. DelFiles=FPadBinCopy, FPadINFCopy
  12. AddReg = GeneralRegKeys ,GeneralRegKeys.User
  13. DelReg = FPadRegRemove
  14. UpdateInis = FPEIni, FPEAddLink, FPadRemoveLink
  15. CustomDestination=FPEDestination
  16. PerUserInstall=FPXpress.Stub.Add
  17.  
  18. [PerUserStub]
  19. RunPostSetupCommands=RunPostSetupCommandsSection
  20. UpdateInis = FPEIni,FPEAddLink
  21. AddReg = GeneralRegKeys.User
  22. CustomDestination=FPEDestination
  23.  
  24. [PerUserRemove]
  25. RunPreSetupCommands=RunPreUserRemCommandsSection
  26. UpdateInis = FPERemoveLink
  27. DelReg = GeneralRegKeys.User
  28. CustomDestination=FPEDestination
  29.  
  30. [FPXpress.Stub.Add]
  31. ComponentName=FrontPad ; Intentionally not localized.
  32. DisplayName=%FPXpressDesc%
  33. GUID={E4066320-E4AE-11CF-B1B0-00AA00BBAD66}
  34. Version=%VersionNumber%
  35. Locale=%LocaleID%
  36. IsInstalled=1
  37. StubPath=rundll32.exe advpack.dll,LaunchINFSection %17%\fpxpress.inf,PerUserstub
  38.  
  39. [FPXpress.Stub.Remove]
  40. ComponentName=FrontPad ; Intentionally not localized.
  41. DisplayName=%FPXpressDesc%
  42. GUID={E4066320-E4AE-11CF-B1B0-00AA00BBAD66}
  43. Version=%VersionNumber%
  44. Locale=%LocaleID%
  45. IsInstalled=0
  46. StubPath=rundll32.exe advpack.dll,LaunchINFSection %17%\fpxpress.inf,PerUserRemove
  47.  
  48. [Uninstall]
  49. RunPreSetupCommands=RunPreUserRemCommandsSection
  50. BeginPrompt=BeginPromptSection
  51. EndPrompt=EndPromptSection
  52. DelFiles = FPEBinCopy, FPENormalCopy, FPEConfirmCopy, FPEHomeCopy, FPESurveyCopy, FPEFormCopy, FPETempCopy
  53. DelReg = GeneralRegKeys, DelUninstallKey, GeneralRegKeys.User
  54. ;AddReg = DebugRegKeys ; DEBUG!
  55. UpdateInis = FPERemoveLink
  56. CustomDestination=FPEDestination
  57. PerUserInstall=FPXpress.Stub.Remove
  58.  
  59. [BeginPromptSection]
  60. Prompt=%BeginPrompt%
  61. ButtonType=YESNO
  62. Title=%FPXpressDesc%
  63.  
  64. [EndPromptSection]
  65. Prompt=%EndPrompt%
  66.  
  67. [RunPostSetupCommandsSection]
  68. "%11%\setdefed.exe" -i """%49100%\bin\fpxpress.exe %%1""" %ShellVerb%
  69.  
  70. [RunPreUserRemCommandsSection]
  71. "%11%\setdefed.exe" -u
  72.  
  73. ; Delete this stuff, it's old and upgrading will now remove it.
  74. [FPadBinCopy]
  75. frontpad.exe
  76. frontpad.hlp
  77. frontpad.cnt
  78.  
  79. [FPadINFCopy]
  80. fpxpress.inf
  81.  
  82. [FPadRegRemove]
  83. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FrontPad
  84.  
  85. [FPEBinCopy]
  86. fp20ime.dll
  87. fpxpress.exe
  88. lead52n.dll
  89. fpxpress.chm
  90. fp20htp.dll
  91. fp20utl.dll
  92. fp20tl.dll
  93.  
  94. [FPESysCopy]
  95. setdefed.exe
  96.  
  97. [FPENormalCopy]
  98. normal.htm
  99. normal.inf
  100.  
  101. [FPEConfirmCopy]
  102. confirm.htm
  103. confirm.inf
  104.  
  105. [FPESurveyCopy]
  106. survey.htm
  107. survey.inf
  108.  
  109. [FPEFormCopy]
  110. vtiform.exe
  111. vtiform.inf
  112.  
  113. [FPEHomeCopy]
  114. vtihome.exe
  115. vtihome.inf
  116.  
  117. [FPEINFCopy]
  118. fpxpress.inf
  119.  
  120. ; Can't just make an empty directory, so copy an empty file into it.
  121. [FPETempCopy]
  122. empty.tmp
  123.  
  124. [DestinationDirs]
  125. FPadBinCopy=49100,bin
  126. FPEBinCopy=49100,bin
  127. FPESysCopy=11
  128. FPENormalCopy=49100,pages\normal.tem
  129. FPEConfirmCopy=49100,pages\confirm.tem
  130. FPESurveyCopy=49100,pages\survey.tem
  131. FPEHomeCopy=49100,pages\vtihome.wiz
  132. FPEFormCopy=49100,pages\vtiform.wiz
  133. FPETempCopy=49100,temp
  134. FPEINFCopy=17
  135. FPADINFCopy=17
  136. WindowsDir=25
  137.  
  138. [GeneralRegKeys]
  139. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FrontPageExpress,"DisplayName",,"%FPXpressDesc%"
  140. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FrontPageExpress,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\fpxpress.inf, Uninstall"
  141. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FrontPageExpress,"QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\fpxpress.inf, Uninstall,5"
  142. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FrontPageExpress,"RequiresIESysFile",,"4.71"
  143.  
  144. ; Let the shell know the path to our EXE and that we accept URLs.
  145. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FPXPRESS.EXE",,,"%49100%\bin\fpxpress.exe"
  146. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FPXPRESS.EXE","useURL",,"yes"
  147.  
  148. ; Let HTML Help know where our help file is installed.
  149. HKLM,"SOFTWARE\Microsoft\Windows\HTML Help","fpxpress.chm",,"%49100%\bin"
  150.  
  151. ; Remember where we were installed for uninstall.
  152. HKLM,SOFTWARE\Microsoft\FrontPageExpress,"InstallDir",,"%49100%"
  153.  
  154. [GeneralRegKeys.User]
  155. ; Insert menu customizations for FrontPage Express.
  156. 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%,"
  157. HKCU,"Software\Microsoft\FrontPageExpress\Init Commands",MenuItem2,,"2,1,1,%MenuLabel%,%ItemLabel2%,<!--webbot bot=HTMLMarkup u-src='file:///%49100%\Data\FoldData.gif' startspan --><object width="100%" height="85%" classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2"></object><!--webbot bot=HTMLMarkup endspan -->,%InsertBefore%,2,%ItemComment2%,"
  158. HKCU,"Software\Microsoft\FrontPageExpress\Init Commands",MenuItem3,,"2,1,1,%MenuLabel%,-,,%InsertBefore%,,,"
  159.  
  160. ; Insert menu customizations for the FrontPage Editor.
  161. 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%,"
  162. HKCU,"Software\Microsoft\FrontPage\Editor\Init Commands",MenuItem2,,"2,1,1,%MenuLabel%,%ItemLabel2%,<!--webbot bot=HTMLMarkup u-src='file:///%49100%\Data\FoldData.gif' startspan --><object width="100%" height="85%" classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2"></object><!--webbot bot=HTMLMarkup endspan -->,%InsertBefore%,2,%ItemComment2%,"
  163. HKCU,"Software\Microsoft\FrontPage\Editor\Init Commands",MenuItem3,,"2,1,1,%MenuLabel%,-,,%InsertBefore%,,,"
  164.  
  165. [DelUninstallKey] 
  166. HKLM, SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FrontPageExpress
  167.  
  168. ;DEBUG!
  169. ;[DebugRegKeys]
  170. ;"HKLM","SOFTWARE\Microsoft\FrontPageExpress\Debug","InstallDir",,"49100 = %49100%"
  171.  
  172. [FPEAddLink]
  173. setup.ini, progman.groups,, "group99="%ShortcutInternetSuite%""    ; creates folder (if not already there)
  174. setup.ini, group99,, """%FPXpressLink%"", """"""%49100%\bin\fpxpress.exe"""""""
  175.  
  176. [FPEIni]
  177. fpxpress.ini, FrontPageExpress 2.0,, "FrontPageExpressRoot=%49100%"
  178.  
  179. [FPERemoveLink]
  180. setup.ini, progman.groups,, "group99="%ShortcutInternetSuite%""
  181. setup.ini, group99,, """%FPXpressLink%"""
  182.  
  183. [FPadRemoveLink]
  184. setup.ini, progman.groups,, "group99="%InternetSuite%""
  185. setup.ini, group99,, """%FrontPadLink%"""
  186.  
  187. [SourceDisksFiles]
  188. fp20htp.dll = 1
  189. fp20ime.dll = 1
  190. fp20tl.dll = 1
  191. fp20utl.dll = 1
  192. fpxpress.exe = 1
  193. lead52n.dll = 1
  194. fpxpress.chm = 1
  195. normal.htm = 1
  196. normal.inf = 1
  197. confirm.htm = 1
  198. confirm.inf = 1
  199. survey.htm = 1
  200. survey.inf = 1
  201. vtihome.exe = 1
  202. vtihome.inf = 1
  203. vtiform.exe = 1
  204. vtiform.inf = 1
  205. empty.tmp = 1
  206. fpxpress.inf = 1
  207. setdefed.exe = 1
  208.  
  209. [SourceDisksNames]
  210. 1 = %DiskName%,fpesetup.cab,0
  211.  
  212. ; Change 5 to 1 below to prompt user for path.  We need to be quiet for IE4, so disable user choice.
  213. [FPEDestination]
  214. 49000=ProgramFilesDir,5
  215. 49100=CustomInstallDir,5
  216.  
  217. [ProgramFilesDir]
  218. "HKLM","SOFTWARE\Microsoft\Windows\CurrentVersion","ProgramFilesDir",,"%24%\%PROGRAMS%"
  219.  
  220. [CustomInstallDir]
  221. "HKLM","SOFTWARE\Microsoft\FrontPad","InstallDir",%UserPrompt%,"%49000%\%FPXpressDesc%"
  222. "HKLM","SOFTWARE\Microsoft\FrontPageExpress","InstallDir",%UserPrompt%,"%49000%\%FPXpressDesc%"
  223.  
  224. [Strings]
  225. ; Unlocalized strings.
  226. VersionNumber = "2,0,1,1120"
  227.  
  228. ; Strings to be localized.
  229. LocaleID = "EN"
  230. InternetSuite = "Internet Explorer"
  231. ShortcutInternetSuite = "Internet Explorer"
  232. DiskName = "Microsoft FrontPage Express Installation Disk"
  233. OldDiskName = "Microsoft FrontPad Installation Disk"
  234. PROGRAMS = "Progra~1" ; Should be "Program Files", but it fails to create link on NT.
  235.  
  236. FPXpressLink = "FrontPage Express"
  237. FrontPadLink = "FrontPad"
  238. FPXpressDesc = "Microsoft FrontPage Express"
  239. UserPrompt = "Where would you like to install the Microsoft FrontPage Express files?"
  240. ShellVerb = "&Edit"
  241. BeginPrompt = "Remove Microsoft FrontPage Express from your system?"
  242. EndPrompt = "Microsoft FrontPage Express was successfully removed."
  243.  
  244. ; Menu Item Labels to be localized:
  245. MenuLabel = "&Insert"
  246. InsertBefore = "&Image..."
  247. ItemLabel1 = "Web View Folde&r Title"
  248. ItemLabel2 = "Web View Folder &Contents"
  249.  
  250. ; Menu Item Comments to be localized:
  251. ItemComment1 = "Insert the title of the current folder"
  252. ItemComment2 = "Insert the contents (program icons) of the current folder"
  253.  
  254. ; Inserted HTML to be localized:
  255. ItemHTML1 = "Web View Folder Title"
  256. ItemHTML2 = "Web View Folder Contents"
  257.