home *** CD-ROM | disk | FTP | other *** search
/ MSN Premier 2.5 / MSN_Setup.iso / MSNSetup / Compnts / mcdpkgtm.exe / mcdetect.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1997-06-11  |  5.5 KB  |  179 lines

  1. [Version]
  2. signature="$CHICAGO$"
  3. AdvancedINF=2.5,"You need a new version of advpack.dll"
  4.  
  5. [SourceDisksNames]
  6. 55=%APPTITLE%,,0
  7.  
  8. [SourceDisksFiles]
  9. MCDetect.exe=55
  10. MCDetect.hlp=55
  11. MCDetect.inf=55
  12.  
  13. ;install
  14. ; copy all the heartbeat client files
  15. ; update the registry entries
  16. ; add a link to heartbeat client in the startup folder
  17. ;
  18. [DefaultInstall]
  19. RunPreSetupCommands=MyPreInstSetup
  20. Copyfiles=CopyFilesSection,InfSection
  21. AddReg=Install.AddReg
  22. ; short cut add to the start folder is removed for now
  23. ;UpdateInis=AddLink
  24. ;bug fix for 17544 since mcd is still in start up group
  25. ;for some people having installs prior to beta timeframe
  26. ;this will try to remove the link from startup at the time
  27. ;of install itself
  28. UpdateInis=RemoveLink
  29. CustomDestination=MyCustomDestination
  30. RunPostSetupCommands=MyPostInstSetup
  31. EndPrompt=Install.EndPromptSection
  32.  
  33. [Uninstall]
  34. RunPreSetupCommands=MyPreInstSetup
  35. CustomDestination=UninstallDestination
  36. DelFiles=DelFilesSection
  37. DelReg=Uninstall.DelReg
  38. ; short cut remove from the start folder is removed for now
  39. UpdateInis=RemoveLink
  40.  
  41. [MyPreInstSetup]
  42. ;kill any running instance
  43. %CLIENTEXE% -k
  44.  
  45. [MyPostInstSetup]
  46. %49000%\%CLIENTEXE% -r
  47.  
  48. [Install.EndPromptSection]
  49. Prompt="%INSTALL_COMPLETION_PROMPT%"
  50. Title="%APPTITLE%"
  51.  
  52. [Uninstall.BeginPromptSection]
  53. Prompt="%UNINSTALL_CONFIRMATION_PROMPT%"
  54. ButtonType=YESNO
  55. Title="%APPTITLE%"
  56.  
  57. [Uninstall.EndPromptSection]
  58. Prompt="%UNINSTALL_COMPLETION_PROMPT%"
  59. Title="%APPTITLE%"
  60.  
  61. [CopyFilesSection]
  62. MCDetect.exe
  63. MCDetect.hlp
  64. mcdetect.inf
  65.  
  66. [DelFilesSection]
  67. MCDetect.exe
  68. MCDetect.hlp
  69. MCDetect.gid
  70. mcdetect.inf
  71.  
  72. ;[AddLink]
  73. ;setup.ini, progman.groups,,"programs=Startup"
  74. ;setup.ini, programs,,"""%APPTITLE%"",""%49000%\MCDetect.exe -s"",,,,%49000%"
  75. ;setup.ini, progman.groups,,"programs=Startup"
  76. ;setup.ini, programs,,"""%APPTITLE%"",""%49000%\MCDetect.exe"",,,,%49000%"
  77.  
  78. [RemoveLink]
  79. setup.ini, progman.groups,,"programs=Startup"
  80. setup.ini, programs,,"%APPTITLE%"
  81.  
  82. [Install.AddReg]
  83. HKLM,%MCASTSWITCHKEY%,InstallDir,,"%49000%\"
  84. HKLM,%MCASTSWITCHKEY%,%Version%,,1
  85. HKLM,%MCASTSWITCHKEY%,%MCastGroupIP%,,%MCASTGROUPADDRESS%
  86. HKLM,%MCASTSWITCHKEY%,%LastSyncd%,,%Never%
  87. ;
  88. ;
  89. ; All the following are moved into the actual client
  90. ; since IExpress is not able to set the DWORDS directly
  91. ;HKLM,%MCASTSWITCHKEY%,%MCastGroupPortStr%,1,123
  92. ;HKLM,%MCASTSWITCHKEY%,%MCastEnabled%,1,0
  93. ;HKLM,%MCASTSWITCHKEY%,%SvrSendIntvl%,65537,64,0,0,0
  94. ;HKLM,%MCASTSWITCHKEY%,%RecvIntvl%,1,80
  95. ;HKLM,%MCASTSWITCHKEY%,%IntfcIntvl%,1,12c
  96. ;HKLM,%MCASTSWITCHKEY%,%AutoTimeIntvl%,1,0
  97. ;HKLM,%MCASTSWITCHKEY%,%AutoTimeEnabled%,1,0
  98. ;HKLM,%MCASTSWITCHKEY%,%LossFactor%,1,3
  99.  
  100.  
  101. ;below keys are used by the std ADD/Remove programs
  102. ;HKLM,%UninstallPath%,DisplayName,,%APPTITLE%
  103. ;HKLM,%UninstallPath%,UninstallString,,"RunDll32 advpack.dll,LaunchINFSection %49000%\mcdetect.inf,Uninstall"
  104. ;HKLM,%UninstallPath%,UninstallString,,"%49000%\mcdetect.exe -k ""RunDll32 advpack.dll,LaunchINFSection %49000%\mcdetect.inf,Uninstall"""
  105. [Uninstall.DelReg]
  106. HKLM,%MCASTSWITCHKEY%,InstallDir
  107. HKLM,%MCASTSWITCHKEY%,%Version%
  108. HKLM,%MCASTSWITCHKEY%,%MCastEnabled%
  109. HKLM,%MCASTSWITCHKEY%,%MCastGroupIP%
  110. HKLM,%MCASTSWITCHKEY%,%MCastGroupPortStr%
  111. HKLM,%MCASTSWITCHKEY%,%SvrSendIntvl%
  112. HKLM,%MCASTSWITCHKEY%,%RecvIntvl%
  113. HKLM,%MCASTSWITCHKEY%,%IntfcIntvl%
  114. HKLM,%MCASTSWITCHKEY%,%LossFactor%
  115. HKLM,%MCASTSWITCHKEY%,%AutoTimeIntvl%
  116. HKLM,%MCASTSWITCHKEY%,%AutoTimeIntvlIndex%
  117. HKLM,%MCASTSWITCHKEY%,%MaxCorrection%
  118. HKLM,%MCASTSWITCHKEY%,%MaxCorrectionIndex%
  119. HKLM,%MCASTSWITCHKEY%,%AutoTimeEnabled%
  120. HKLM,%MCASTSWITCHKEY%,%LastSyncd%
  121. HKLM,%MCASTSWITCHKEY%
  122. ;HKLM,%UninstallPath%
  123. ;HKLM,%UninstallPath%
  124.  
  125. [DestinationDirs]
  126. CopyFilesSection=49000
  127. DelFilesSection=49000
  128. InfSection=17
  129.  
  130. [MyCustomDestination]
  131. ;5 means don't prompt user
  132. ;listing the second LDID allows "Program Files" to appear instead of Progra~1, very weird.
  133. 49300,49302=ProgramFilesDir49300,5
  134. 49000=PackageDestination49000,5
  135.  
  136. [UninstallDestination]
  137. 49300,49302=ProgramFilesDir49300,5
  138. 49000=PackageDestination49000,5
  139.  
  140. [ProgramFilesDir49300]
  141. HKLM,"Software\Microsoft\Windows\CurrentVersion",'ProgramFilesDir',,"%24%\Program Files"
  142.  
  143. [PackageDestination49000]
  144. HKLM,%MCASTSWITCHKEY%,InstallDir,%INSTALLPROMPT%,"%49302%\%MCASTDIR%"
  145. "","","",%INSTALLPROMPT%,"%49302%\%MCASTDIR%"
  146.  
  147. [Strings]
  148. INSTALLPROMPT="Where would you like to install the Multicast Detector Client?"
  149. INSTALL_COMPLETION_PROMPT = "Multicast Detector Client has been installed successfully."
  150. APPTITLE="MSN Multicast Detector Client"
  151. CLIENTEXE="MCDetect.exe"
  152. MCASTSWITCHKEY="Software\Microsoft\McDetect"
  153. STARTUP="Startup"
  154. UNINSTALL_CONFIRMATION_PROMPT = "This will remove the Multicast Detector Client. This may prevent some multicast applications from running correctly. Do you wish to continue?"
  155. UNINSTALL_COMPLETION_PROMPT = "Multicast Detector Client has been removed successfully."
  156. ;PROGRAMF="Progra~1" ; first 6 chars of Program_Files, + "~1"
  157. MSN="OnMsn"
  158. MCASTDIR="McDetect"
  159. UninstallPath      = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MSN Multicast Detector Client"
  160. ;
  161. ;
  162. MCASTGROUPADDRESS = "224.0.1.53"
  163. Version="Version"
  164. MCastEnabled="MCastEnabled"
  165. MCastGroupIP="MCastGroupIP"
  166. MCastGroupPortStr="MCastGroupPort"
  167. SvrSendIntvl="SvrSendIntvl"
  168. RecvIntvl="RecvIntvl"
  169. IntfcIntvl="IntfcIntvl"
  170. AutoTimeIntvl="AutoTimeIntvl"
  171. AutoTimeIntvlIndex="AutoTimeIntvlIndex"
  172. MaxCorrection="MaxCorrection"
  173. MaxCorrectionIndex="MaxCorrectionIndex"
  174. LastSyncd="LastSynchronized"
  175. EmptyStr=""
  176. Never="Never"
  177. AutoTimeEnabled="AutoTimeEnabled"
  178. LossFactor="LossFactor"
  179.