home *** CD-ROM | disk | FTP | other *** search
/ What the Doctor Required - The Freshest December / December.iso / windows / mem1614 / precopy3.cab / swdir16.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1997-10-20  |  6.0 KB  |  193 lines

  1. ;    08/20/97  Mod by Lisa Gelobter        made into a 16 bit inf
  2. ;    08/15/97  Mod by Matt Abarbanel        added new reg keys & strings for the win98 cd installer
  3. ;    07/23/97  Mod by Matt Abarbanel        added new IE 4 keys and uninstall sections and added coments
  4. ;    ???      Mod by Matt Abarbanel            added deletion of old elmo files
  5. ;    ???      Created by Lisa Gelobter                
  6. ;                        
  7. ;            General notes
  8. ;    11 = the windows\system directory read in from the currentVersion key
  9. ;    17 = Windows\inf directory
  10.  
  11.  
  12. [Version] 
  13. Signature   = "$Chicago$" 
  14. SetupClass  = BASE    ; allow INF to be loaded during Win98 Setup
  15. LayoutFile  = layout.inf, layout1.inf    ; instead of SourceDisks* sections for file locations in the CABs
  16. ;;;AdvancedINF = 2.5    ; not supported, but ignored
  17.  
  18. ; Win98Setup entrypoint
  19. [BaseWinOptions]
  20.    ; list the section(s) to be installed during Setup
  21. SwDir.Base
  22.  
  23. [SwDir.Base]
  24. AddReg    = Register_SwDir.AddReg
  25. DelReg    = Register_SwDir.DelReg
  26. CopyFiles = Register_SwDir.CopyInf
  27.  
  28. ; entrypoint for Right-Click, Install
  29. [DefaultInstall]
  30. AddReg    = Register_SwDir.AddReg
  31. DelReg    = Register_SwDir.DelReg
  32. CopyFiles = Register_SwDir.CopyInf
  33.  
  34. [Register_SwDir.CopyInf]
  35. swdir16.inf
  36.  
  37. [Register_SwDir.AddReg]
  38. ; set up the optional component in the registry - initialize to uninstalled
  39. HKLM,%KEY_OPTIONAL%,%OCsection%,,%OCsection%
  40. HKLM,%KEY_OPTIONAL%\%OCsection%,INF,,"swdir16.inf"
  41. HKLM,%KEY_OPTIONAL%\%OCsection%,Section,,%OCsection%
  42. HKLM,%KEY_OPTIONAL%\%OCsection%,Installed,,"0"
  43.  
  44. [Register_SwDir.DelReg]
  45. HKLM,%KEY_UNINSTALL%\Shockwave\Director
  46.  
  47. [Optional Components]
  48. SwDir
  49.  
  50. [SwDir]
  51. OptionDesc  = %SWDIR_DESC%
  52. Tip         = %SWDIR_TIP%
  53. Parent      = MultiM   ; InternetTop = Internet Tools ... MultiM = Multimedia
  54. CopyFiles   = SWFiles, xtrafiles
  55. Delfiles    = OldElmoFiles, OldHopperFiles, OldHopperXtraFiles
  56. AddReg      = SW.AddReg, RegisterOCXSection.addreg, SwDir.OCinstalled.addreg
  57. InstallType = 10            ; 1 = Compact, 2 = Typical, 4 = Portable, 8 = Custom
  58. IconIndex   = 35            ; icon index into setupx.dll
  59. Uninstall   = SwDir.Uninstall
  60.  
  61. [SwDir.OCinstalled.addreg]
  62. HKLM,%KEY_OPTIONAL%\%OCsection%,Installed,,"1"
  63.  
  64. [SwDir.OCuninstalled.addreg]
  65. HKLM,%KEY_OPTIONAL%\%OCsection%,Installed,,"0"
  66.  
  67. [RegisterOCXSection.addreg]
  68.    ; add runonce item to be run on 1st/2nd boot
  69. HKLM,%KEY_RUNONCE%,"Register_SwDir_OCX",,"%11%\regsvr32.exe /s %11%\macromed\director\IE32DSW.OCX"
  70.  
  71. [SwDir.Uninstall]
  72. ;    delete the files that were added during the install.  Do not include the inf section
  73. ;    Delete the key that were added to the registry during the install
  74. ;    unregister the OCX
  75. AddReg   = UnRegisterOCXSection.addreg, SwDir.OCuninstalled.addreg
  76. Delfiles = SWDelFiles, xtrafiles
  77. Delreg   = SW.DelReg
  78.  
  79.  
  80. [UnRegisterOCXSection.addreg]
  81.    ; add runonce item to be run on 1st/2nd boot
  82. HKLM,%KEY_RUNONCE%,"UnRegister_SwDir_OCX",,"%11%\regsvr32.exe /s /u %11%\macromed\director\IE32DSW.OCX"
  83.  
  84. [strings]
  85. ;    define strings used in the INF
  86. ;    productname= is used for naming the install when called from IE
  87. ;    this is also what sholud be localized if necessary
  88.  
  89. ;Non-Localizable strings:
  90. KEY_OPTIONAL   = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
  91. KEY_RUNONCE    = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
  92. KEY_UNINSTALL  = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
  93.  
  94. OCsection      = "SwDir"
  95. SWDIR_DESC     = "Macromedia Shockwave Director"
  96. SWDIR_TIP      = "Macromedia Shockwave plays Director files."
  97.  
  98. productname="Shockwave Director 6.0.1"
  99. GUID = "{166B1BCA-3F9C-11CF-8075-444553540000}"
  100. DefaultName = "Macromedia Shockwave Director 6.0.1"
  101. ComponentID = "Shockwave for Director 6.0.1"
  102. VersionNumber = "6.0.0.6110"
  103. LocaleID = "EN"
  104.  
  105. [SW.AddReg]
  106. ;HKLM,"SOFTWARE\Microsoft\Active Setup\Installed ;Components\{2A202491-F00D-11cf-87CC-0020AFEECF20}",,0,"MacroMedia ;ShockWave ActiveX ;Control"
  107. ;HKLM,"SOFTWARE\Microsoft\Active Setup\Installed ;Components\{2A202491-F00D-11cf-87CC-0020AFEECF20}","Version",1,05,00,00,00;,01,00,3D,00
  108.  
  109. ;    these were added for the win 98 CD
  110. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%",,,"%DefaultName%"
  111. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","ComponentID",,"%ComponentID%"
  112. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","IsInstalled",1,01,00,00,00
  113. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Version",,"%VersionNumber%"
  114. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Locale",,"%LocaleID%"
  115.  
  116.  
  117. [SW.DelReg]
  118. ;    these were added for the win 98 CD
  119. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%",,,"%DefaultName%"
  120. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","ComponentID",,"%ComponentID%"
  121. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","IsInstalled",1,01,00,00,00
  122. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Version",,"%VersionNumber%"
  123. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Locale",,"%LocaleID%"
  124.  
  125. [SWFiles]
  126. SwDir.dll
  127. Dirapi.dll
  128. Idle32.exe
  129. Iml32.dll
  130. M5if32.dll
  131. M5drvr32.exe
  132.  
  133. [SWDelFiles]
  134.  
  135. ; we must leave in the ocx, b/c file must exist to unregister dll.
  136. ; we must also leave m5if32.dll, b/c it is needed for the ocx to load to unregister.
  137. xobglu32.dll
  138. xobglu16.dll
  139. m5drvr32.exe
  140. m5drvr32.rsr
  141. asifont.map
  142. asiport.rsr
  143.  
  144. [xtrafiles]
  145. Swadcmpr.x32
  146. Swastrm.x32
  147.  
  148. [OldElmoFiles]
  149. ie32dsw.ocx
  150. xobglu32.dll
  151. xobglu16.dll
  152. m5if32.dll
  153. m5drvr32.exe
  154. m5drvr32.rsr
  155. asifont.map
  156. asiport.rsr
  157. swadcmpr.x32
  158. swastrm.x32
  159. intro.dcr
  160. ie32dsw.txt
  161.  
  162. [OldHopperFiles]
  163. IE32DSW.ocx
  164. ie32dsw.txt
  165. xobglu32.dll
  166. xobglu16.dll
  167. m5if32.dll
  168. m5drvr32.exe
  169. m5drvr32.rsr
  170. asifont.map
  171. asiport.rsr
  172. D60Xtra.MCH
  173.  
  174. [OldHopperXtraFiles]
  175. Brwsserv.x32
  176. GIFImpor.x32
  177. JPEGImpo.x32
  178. Mix32.x32
  179. Netfile.x32
  180. Netlingo.x32
  181. SoundImp.x32
  182. Swadcmpr.x32
  183. Swastrm.x32
  184.  
  185. [DestinationDirs]
  186. OldElmoFiles=11
  187. SWFiles=11, Macromed\Director
  188. SWDelFiles=11, Macromed\Director
  189. OldHopperFiles=11, Macromed\Director
  190. xtrafiles=11, Macromed\Director\Xtras
  191. OldHopperXtraFiles=11, Macromed\Director\Xtras
  192. Register_SwDir.CopyInf = 17    ; LDID_INF
  193.