home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 April / PCWorld_1999-04_cd.bin / Novinky / Inec / Ie40 / CHL99.CAB / chl99.inf < prev    next >
Windows Setup INFormation  |  1997-09-10  |  4KB  |  120 lines

  1. [Version]
  2. Signature        = "$CHICAGO$"
  3. AdvancedINF        = 2.5
  4.  
  5. ;This section is used to start the main install.
  6. [DefaultInstall]
  7. Copyfiles=ChannelFiles,LocalINFFile
  8. RequiredEngine=Setupapi,"Couldn't find Setupapi.dll"
  9. Delreg=ChannelPrep.Reg
  10. Addreg=ChannelInstall.Reg
  11. PerUserInstall=StubSetup
  12.  
  13. ;This section is run per user when they login based on stubpath.
  14. [InstallUser]
  15. RequiredEngine=Setupapi,"Couldn't find Setupapi.dll"
  16. Delreg=ChannelPrep.Reg
  17. Addreg=ChannelInstall.Reg
  18. RegisterOCXs=Channel.Register
  19.  
  20. ;This section deletes the channel resources on uninstall
  21. [Uninstall]
  22. DelFiles=ChannelFiles,LocalINFFile
  23. Delreg=ChannelInstall.Reg,RemoveGUID
  24.  
  25. [RemoveGUID]
  26. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%CompName%
  27. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%CompName%"
  28.  
  29. ;Final locations for files being copied.
  30. [DestinationDirs]
  31. ChannelFiles    = 10,Web ;Windows\Web
  32. LocalINFFile        =17    ;Windows\INF
  33.  
  34. ;Required for Win95 INF
  35. [SourceDisksNames]
  36. 1 = %DiskName%,,0
  37.  
  38. ;Calls DLL to update channels after adding them.
  39. [Channel.Register]
  40. %11%\webcheck.dll,IN,Policy
  41.  
  42. ;Sets entries to track item and stubpath for per user install.
  43. [StubSetup]
  44. DisplayName=%Channel%
  45. ComponentName=%CompName%
  46. GUID=%CompName%
  47. Version=4,71,0,1710
  48. Locale=%LangID%
  49. IsInstalled=1
  50. StubPath="rundll32.exe advpack.dll,LaunchINFSection %17%\chl99.inf,InstallUser"
  51.  
  52. ;Files to copy to local web folder.
  53. [ChannelFiles]
  54.  
  55. chang.cdf
  56. chang_sl.gif
  57. chang_wl.gif
  58. chang.ico
  59.  
  60. ieupdate.cdf
  61. ieupdate.gif
  62. ieupdate.ico
  63.  
  64.  
  65. ;File for later per user stub running.
  66. [LocalINFFile]
  67. chl99.inf
  68.  
  69. ;Deletes past channel list so will get reinstalled.
  70. [ChannelPrep.Reg]
  71. HKCU,"Software\Policies\Microsoft\Internet Explorer\Infodelivery\CompletedModifications","ChannelDefault",,,
  72.  
  73. ;Actual entries to set values for channel. Four settings for each.
  74. [ChannelInstall.Reg]
  75. ; Delete old PP2 channels
  76. HKCU,"%CleanKey%\CleanUpA","OldIEVersion",,"4.71.1008.3"
  77.  
  78. ; Add new channels
  79. HKCU,"%ChannelKey%\ChannelA","Title",,"Microsoft Channel Guide"
  80. HKCU,"%ChannelKey%\ChannelA","URL",,"http://www.iechannelguide.com/guide.cdf?loc=en_us"
  81. HKCU,"%ChannelKey%\ChannelA","PreloadURL",,"file://%10%\web\chang.cdf"
  82. HKCU,"%ChannelKey%\ChannelA","WideLogo",,"file://%10%\web\chang_wl.gif"
  83. HKCU,"%ChannelKey%\ChannelA","Logo",,"file://%10%\web\chang_sl.gif"
  84. HKCU,"%ChannelKey%\ChannelA","Icon",,"file://%10%\web\chang.ico"
  85. HKCU,"%ChannelKey%\ChannelA","ChannelGuide",65537,1
  86.  
  87. HKCU,"%ChannelKey%\ChannelC","Title",,"Microsoft Internet Explorer"
  88. HKCU,"%ChannelKey%\ChannelC","Software",65537,1
  89. HKCU,"%ChannelKey%\ChannelC","URL",,"http://www.microsoft.com/ie/ie40/download/cdf/ie4updates-en.cdf"
  90. HKCU,"%ChannelKey%\ChannelC","PreloadURL",,"file://%10%\web\ieupdate.cdf"
  91. HKCU,"%ChannelKey%\ChannelC","Logo",,"file://%10%\web\ieupdate.gif"
  92. HKCU,"%ChannelKey%\ChannelC","Icon",,"file://%10%\web\ieupdate.ico"
  93.  
  94. HKCU,"%SubKey%\SubC","Title",,"Microsoft Internet Explorer"
  95. HKCU,"%SubKey%\SubC","URL",,"http://www.microsoft.com/ie/ie40/download/cdf/ie4updates-en.cdf"
  96. HKCU,"%SubKey%\SubC","SubscriptionType",65537,1
  97. HKCU,"%SubKey%\SubC","ScheduleGroup",,"Manual"
  98.  
  99. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}\AuthorizedCDFPrefix","http://www.microsoft.com",,""
  100. HKCU,"SOFTWARE\Microsoft\Internet Explorer\Main","ChannelsURL",,"http://www.iechannelguide.com/guide/en/en_us.asp"
  101. HKCU,"SOFTWARE\Microsoft\Internet Explorer\Main","ChannelsFirstURL",,"res://ie4tour.dll/channels.htm"
  102.  
  103. ; This key sets the size of the channel bar
  104. HKCU,"SOFTWARE\Microsoft\Internet Explorer\Desktop","ChannelSize",65537,0x03
  105. HKCU,"SOFTWARE\Microsoft\Internet Explorer\Desktop","OEMSize",65537,0x00
  106.  
  107. ;Register for Uninstall
  108. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%CompName%,"QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\chl99.inf,Uninstall,5"
  109. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%CompName%,"RequiresIESysFile",,"4.71"
  110.  
  111. [Strings]
  112. Channel="Default Channel Setup"
  113. CompName="Chl99"
  114. LangID="en-us"
  115. DiskName="Default Channel Files"
  116. ChannelKey="Software\Policies\Microsoft\Internet Explorer\Infodelivery\Modifications\ChannelDefault\AddChannels"
  117. SubKey="Software\Policies\Microsoft\Internet Explorer\Infodelivery\Modifications\ChannelDefault\AddSubscriptions"
  118. CleanKey="Software\Policies\Microsoft\Internet Explorer\Infodelivery\Modifications\ChannelDefault\RemoveAllChannels"
  119.  
  120.