home *** CD-ROM | disk | FTP | other *** search
Wrap
[Version] signature="$CHICAGO$" AdvancedINF=2.5,"You need a new version of advpack.dll" [SourceDisksNames] 55=%APPTITLE%,,0 [SourceDisksFiles] MCDetect.exe=55 MCDetect.hlp=55 MCDetect.inf=55 ;install ; copy all the heartbeat client files ; update the registry entries ; add a link to heartbeat client in the startup folder ; [DefaultInstall] RunPreSetupCommands=MyPreInstSetup Copyfiles=CopyFilesSection,InfSection AddReg=Install.AddReg ; short cut add to the start folder is removed for now ;UpdateInis=AddLink ;bug fix for 17544 since mcd is still in start up group ;for some people having installs prior to beta timeframe ;this will try to remove the link from startup at the time ;of install itself UpdateInis=RemoveLink CustomDestination=MyCustomDestination RunPostSetupCommands=MyPostInstSetup EndPrompt=Install.EndPromptSection [Uninstall] RunPreSetupCommands=MyPreInstSetup CustomDestination=UninstallDestination DelFiles=DelFilesSection DelReg=Uninstall.DelReg ; short cut remove from the start folder is removed for now UpdateInis=RemoveLink [MyPreInstSetup] ;kill any running instance %CLIENTEXE% -k [MyPostInstSetup] %49000%\%CLIENTEXE% -r [Install.EndPromptSection] Prompt="%INSTALL_COMPLETION_PROMPT%" Title="%APPTITLE%" [Uninstall.BeginPromptSection] Prompt="%UNINSTALL_CONFIRMATION_PROMPT%" ButtonType=YESNO Title="%APPTITLE%" [Uninstall.EndPromptSection] Prompt="%UNINSTALL_COMPLETION_PROMPT%" Title="%APPTITLE%" [CopyFilesSection] MCDetect.exe MCDetect.hlp mcdetect.inf [DelFilesSection] MCDetect.exe MCDetect.hlp MCDetect.gid mcdetect.inf ;[AddLink] ;setup.ini, progman.groups,,"programs=Startup" ;setup.ini, programs,,"""%APPTITLE%"",""%49000%\MCDetect.exe -s"",,,,%49000%" ;setup.ini, progman.groups,,"programs=Startup" ;setup.ini, programs,,"""%APPTITLE%"",""%49000%\MCDetect.exe"",,,,%49000%" [RemoveLink] setup.ini, progman.groups,,"programs=Startup" setup.ini, programs,,"%APPTITLE%" [Install.AddReg] HKLM,%MCASTSWITCHKEY%,InstallDir,,"%49000%\" HKLM,%MCASTSWITCHKEY%,%Version%,,1 HKLM,%MCASTSWITCHKEY%,%MCastGroupIP%,,%MCASTGROUPADDRESS% HKLM,%MCASTSWITCHKEY%,%LastSyncd%,,%Never% ; ; ; All the following are moved into the actual client ; since IExpress is not able to set the DWORDS directly ;HKLM,%MCASTSWITCHKEY%,%MCastGroupPortStr%,1,123 ;HKLM,%MCASTSWITCHKEY%,%MCastEnabled%,1,0 ;HKLM,%MCASTSWITCHKEY%,%SvrSendIntvl%,65537,64,0,0,0 ;HKLM,%MCASTSWITCHKEY%,%RecvIntvl%,1,80 ;HKLM,%MCASTSWITCHKEY%,%IntfcIntvl%,1,12c ;HKLM,%MCASTSWITCHKEY%,%AutoTimeIntvl%,1,0 ;HKLM,%MCASTSWITCHKEY%,%AutoTimeEnabled%,1,0 ;HKLM,%MCASTSWITCHKEY%,%LossFactor%,1,3 ;below keys are used by the std ADD/Remove programs ;HKLM,%UninstallPath%,DisplayName,,%APPTITLE% ;HKLM,%UninstallPath%,UninstallString,,"RunDll32 advpack.dll,LaunchINFSection %49000%\mcdetect.inf,Uninstall" ;HKLM,%UninstallPath%,UninstallString,,"%49000%\mcdetect.exe -k ""RunDll32 advpack.dll,LaunchINFSection %49000%\mcdetect.inf,Uninstall""" [Uninstall.DelReg] HKLM,%MCASTSWITCHKEY%,InstallDir HKLM,%MCASTSWITCHKEY%,%Version% HKLM,%MCASTSWITCHKEY%,%MCastEnabled% HKLM,%MCASTSWITCHKEY%,%MCastGroupIP% HKLM,%MCASTSWITCHKEY%,%MCastGroupPortStr% HKLM,%MCASTSWITCHKEY%,%SvrSendIntvl% HKLM,%MCASTSWITCHKEY%,%RecvIntvl% HKLM,%MCASTSWITCHKEY%,%IntfcIntvl% HKLM,%MCASTSWITCHKEY%,%LossFactor% HKLM,%MCASTSWITCHKEY%,%AutoTimeIntvl% HKLM,%MCASTSWITCHKEY%,%AutoTimeIntvlIndex% HKLM,%MCASTSWITCHKEY%,%MaxCorrection% HKLM,%MCASTSWITCHKEY%,%MaxCorrectionIndex% HKLM,%MCASTSWITCHKEY%,%AutoTimeEnabled% HKLM,%MCASTSWITCHKEY%,%LastSyncd% HKLM,%MCASTSWITCHKEY% ;HKLM,%UninstallPath% ;HKLM,%UninstallPath% [DestinationDirs] CopyFilesSection=49000 DelFilesSection=49000 InfSection=17 [MyCustomDestination] ;5 means don't prompt user ;listing the second LDID allows "Program Files" to appear instead of Progra~1, very weird. 49300,49302=ProgramFilesDir49300,5 49000=PackageDestination49000,5 [UninstallDestination] 49300,49302=ProgramFilesDir49300,5 49000=PackageDestination49000,5 [ProgramFilesDir49300] HKLM,"Software\Microsoft\Windows\CurrentVersion",'ProgramFilesDir',,"%24%\Program Files" [PackageDestination49000] HKLM,%MCASTSWITCHKEY%,InstallDir,%INSTALLPROMPT%,"%49302%\%MCASTDIR%" "","","",%INSTALLPROMPT%,"%49302%\%MCASTDIR%" [Strings] INSTALLPROMPT="Where would you like to install the Multicast Detector Client?" INSTALL_COMPLETION_PROMPT = "Multicast Detector Client has been installed successfully." APPTITLE="MSN Multicast Detector Client" CLIENTEXE="MCDetect.exe" MCASTSWITCHKEY="Software\Microsoft\McDetect" STARTUP="Startup" UNINSTALL_CONFIRMATION_PROMPT = "This will remove the Multicast Detector Client. This may prevent some multicast applications from running correctly. Do you wish to continue?" UNINSTALL_COMPLETION_PROMPT = "Multicast Detector Client has been removed successfully." ;PROGRAMF="Progra~1" ; first 6 chars of Program_Files, + "~1" MSN="OnMsn" MCASTDIR="McDetect" UninstallPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MSN Multicast Detector Client" ; ; MCASTGROUPADDRESS = "224.0.1.53" Version="Version" MCastEnabled="MCastEnabled" MCastGroupIP="MCastGroupIP" MCastGroupPortStr="MCastGroupPort" SvrSendIntvl="SvrSendIntvl" RecvIntvl="RecvIntvl" IntfcIntvl="IntfcIntvl" AutoTimeIntvl="AutoTimeIntvl" AutoTimeIntvlIndex="AutoTimeIntvlIndex" MaxCorrection="MaxCorrection" MaxCorrectionIndex="MaxCorrectionIndex" LastSyncd="LastSynchronized" EmptyStr="" Never="Never" AutoTimeEnabled="AutoTimeEnabled" LossFactor="LossFactor"