home *** CD-ROM | disk | FTP | other *** search
/ MSN Premier 2.5 / MSN_Setup.iso / MSNSetup / Compnts / optional.exe / optional.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1997-09-10  |  3.3 KB  |  131 lines

  1. [Version]
  2. Signature="$CHICAGO$"
  3. AdvancedINF=2.0
  4.  
  5. [SourceDisksNames]            
  6. 1="MSN Optional Controls",,1
  7.  
  8. [SourceDisksFiles]
  9. iemenu.ocx=1
  10. webpopup.ocx=1
  11. vista.ocx=1
  12. ikbutton.ocx=1
  13. ikmenu.ocx=1
  14. hsctl.dll=1
  15.  
  16.  
  17.  
  18. [DefaultInstall]
  19. Copyfiles=Install.CopyFiles,Install.CopyFiles.INF,Install.CopyFiles.Sys
  20. AddReg=Install.AddReg
  21. CustomDestination=MyCustomDestination
  22. RunPostSetupCommands=Register.Custom
  23.  
  24. [Remove]
  25. BeginPrompt=Remove.BeginPrompt
  26. EndPrompt=Remove.EndPrompt
  27. DelFiles=Remove.DelFiles,Remove.DelFiles.Sys
  28. DelReg=Remove.DelReg
  29. RunPreSetupCommands=Unregister.Custom
  30. CustomDestination=UnCustomDestination
  31.  
  32. [Install.CopyFiles]
  33. iemenu.ocx,,,32
  34. webpopup.ocx,,,32
  35. vista.ocx,,,32
  36. ikbutton.ocx,,,32
  37. ikmenu.ocx,,,32
  38. hsctl.dll,,,32
  39.  
  40. [Install.CopyFile.Sys]
  41.  
  42. [Remove.DelFiles]
  43. iemenu.ocx=1
  44. webpopup.ocx=1
  45. vista.ocx=1
  46. ikbutton.ocx=1
  47. ikmenu.ocx=1
  48. hsctl.dll=1
  49.  
  50. [Remove.DelFiles.Sys]
  51.  
  52. [Install.CopyFiles.INF]
  53. optional.inf
  54.  
  55. [Register.Controls]
  56. %49000%\iemenu.ocx
  57. %49000%\webpopup.ocx
  58. %49000%\vista.ocx
  59. %49000%\ikbutton.ocx
  60. %49000%\ikmenu.ocx
  61. %49000%\hsctl.dll
  62.  
  63. [Register.Custom]
  64. %11%\regsvr32.exe /s %49000%\iemenu.ocx
  65. %11%\regsvr32.exe /s %49000%\webpopup.ocx
  66. %11%\regsvr32.exe /s %49000%\vista.ocx
  67. %11%\regsvr32.exe /s %49000%\ikbutton.ocx
  68. %11%\regsvr32.exe /s %49000%\ikmenu.ocx
  69. %11%\regsvr32.exe /s %49000%\ikbutton.ocx
  70. %11%\regsvr32.exe /s %49000%\hsctl.dll
  71.  
  72. [Unregister.Custom]
  73. %11%\regsvr32.exe /u /s %49000%\iemenu.ocx
  74. %11%\regsvr32.exe /u /s %49000%\webpopup.ocx
  75. %11%\regsvr32.exe /u /s %49000%\vista.ocx
  76. %11%\regsvr32.exe /u /s %49000%\ikbutton.ocx
  77. %11%\regsvr32.exe /u /s %49000%\ikmenu.ocx
  78. %11%\regsvr32.exe /u /s %49000%\ikbutton.ocx
  79. %11%\regsvr32.exe /u /s %49000%\hsctl.dll
  80.  
  81. [Install.AddReg]
  82. HKLM,%MSNOCXKEY%,InstallDir,,%49000%
  83. HKLM,%UninstallPath%,DisplayName,,%APPTITLE%
  84. HKLM,%UninstallPath%,UninstallString,,"RunDll32 advpack.dll,LaunchINFSection %49000%\optional.inf,Remove"
  85.  
  86. [Remove.DelReg]
  87. HKLM,%MSNOCXKEY%,InstallDir
  88. HKLM,%UninstallPath%
  89. HKLM,"Software\Microsoft\Active Setup\Installed Components\{D32D7FF3-075C-11D0-95A4-00C04FD658CE}"
  90.  
  91. [DestinationDirs]
  92. Install.CopyFiles=49000
  93. Install.CopyFiles.INF=49000
  94. Remove.DelFiles=49000
  95. Install.CopyFiles.Sys=11
  96. Remove.DelFiles.Sys=11
  97.  
  98. [Remove.BeginPrompt]
  99. Prompt="%REMOVE_CONFIRMATION_PROMPT%"
  100. ButtonType=YESNO
  101. TITLE="%APPTITLE%"
  102.  
  103. [Remove.EndPrompt]
  104. Prompt="%REMOVE_COMPLETION_PROMPT%"
  105.  
  106. [MyCustomDestination]
  107. 49000=PackageDestination49000,1
  108.  
  109. [UnCustomDestination]
  110. 49000=PackageDestination49000,5
  111.  
  112. [PackageDestination49000]
  113. HKLM,%MSNOCXKEY%,InstallDir,"",""
  114. "","","",%DirPrompt%,"%24%\Progra~1\OnMSN\OCX\"
  115.  
  116. [Strings]
  117. MSNOCXKEY     = "SOFTWARE\Microsoft\MSN\OptionalOCX"
  118. APPTITLE     = "MSN Optional Controls"
  119. UninstallPath= "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MSN Optional Controls"
  120.  
  121. ; ************************************************************************
  122. ; LOCALIZATION BORDER
  123. ;
  124. ; No strings above this line should be localized.
  125. ; All strings below this line should be localized.
  126. ; ************************************************************************
  127.  
  128. DirPrompt      = "Where do you want to install the MSN Optional Controls?"
  129. REMOVE_CONFIRMATION_PROMPT = "This will remove the MSN Optional Controls.  Do you wish to continue?"
  130. REMOVE_COMPLETION_PROMPT = "MSN Optional Controls have been removed successfully."
  131.