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

  1. ;    08/20/97  Mod by Lisa Gelobter        made into a 16 bit inf
  2. ;    07/24/97  Created by Matt Abarbanel    w/IE 4 changes (uninstall)
  3. ;                        and macromed\flash directory
  4.  
  5.  
  6. [Version]
  7. Signature="$Chicago$"
  8. SetupClass  = BASE    ; allow INF to be loaded during Win98 Setup
  9. LayoutFile  = layout.inf, layout1.inf    ; instead of SourceDisks* sections for file locations in the CABs
  10. ;;;AdvancedINF = 2.5    ; not supported, but ignored
  11.  
  12.  
  13. ; Win98Setup entrypoint
  14. [BaseWinOptions]
  15.    ; list the section(s) to be installed during Setup
  16. SwFlash.Base
  17.  
  18. [SwFlash.Base]
  19. AddReg    = Register_SwFlash.AddReg
  20. DelReg    = Register_SwFlash.DelReg
  21. CopyFiles = Register_SwFlash.CopyInf
  22.  
  23. ; entrypoint for Right-Click, Install
  24. [DefaultInstall]
  25. AddReg    = Register_SwFlash.AddReg
  26. DelReg    = Register_SwFlash.DelReg
  27. CopyFiles = Register_SwFlash.CopyInf
  28.  
  29. [Register_SwFlash.CopyInf]
  30. swflsh16.inf
  31.  
  32. [Register_SwFlash.AddReg]
  33. ; set up the optional component in the registry - initialize to uninstalled
  34. HKLM,%KEY_OPTIONAL%,%OCsection%,,%OCsection%
  35. HKLM,%KEY_OPTIONAL%\%OCsection%,INF,,"swflsh16.inf"
  36. HKLM,%KEY_OPTIONAL%\%OCsection%,Section,,%OCsection%
  37. HKLM,%KEY_OPTIONAL%\%OCsection%,Installed,,"0"
  38.  
  39. [Register_SwFlash.DelReg]
  40. HKLM,%KEY_UNINSTALL%\Shockwave\Flash
  41.  
  42. [Optional Components]
  43. SwFlash
  44.  
  45. [SwFlash]
  46. OptionDesc  = %SWFLASH_DESC%
  47. Tip         = %SWFLASH_TIP%
  48. Parent      = MultiM   ; InternetTop = Internet Tools ... MultiM = Multimedia
  49. CopyFiles   = SWFiles
  50. AddReg      = SW.AddReg, RegisterOCXSection.addreg, SwFlash.OCinstalled.addreg
  51. InstallType = 10            ; 1 = Compact, 2 = Typical, 4 = Portable, 8 = Custom
  52. IconIndex   = 35            ; icon index into setupx.dll
  53. Uninstall   = SwFlash.Uninstall
  54.  
  55. [SwFlash.OCinstalled.addreg]
  56. HKLM,%KEY_OPTIONAL%\%OCsection%,Installed,,"1"
  57.  
  58. [SwFlash.OCuninstalled.addreg]
  59. HKLM,%KEY_OPTIONAL%\%OCsection%,Installed,,"0"
  60.  
  61. [RegisterOCXSection.addreg]
  62.    ; add runonce item to be run on 1st/2nd boot
  63. HKLM,%KEY_RUNONCE%,"Register_SwFlash_OCX",,"%11%\regsvr32.exe /s %11%\macromed\Flash\swflash.OCX"
  64.  
  65. [SwFlash.Uninstall]
  66. ;    delete the files that were added during the install.  Do not include the inf section
  67. ;    Delete the key that were added to the registry during the install
  68. ;    unregister the OCX
  69. Delreg   = SW.DelReg
  70. AddReg   = UnRegisterOCXSection.addreg, SwFlash.OCuninstalled.addreg
  71.  
  72. [UnRegisterOCXSection.addreg]
  73.    ; add runonce item to be run on 1st/2nd boot
  74. HKLM,%KEY_RUNONCE%,"UnRegister_SwFlash_OCX",,"%11%\regsvr32.exe /s /u %11%\macromed\flash\swflash.OCX"
  75.  
  76. [strings]
  77. ;    define strings used in the INF
  78. ;    productname= is used for naming the install when called from IE
  79. ;    this is also what sholud be localized if necessary
  80.  
  81.  
  82. ;Non-Localizable strings:
  83. KEY_OPTIONAL   = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
  84. KEY_RUNONCE    = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
  85. KEY_UNINSTALL  = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
  86.  
  87. OCsection      = "SwFlash"
  88. SWFLASH_DESC     = "Macromedia Shockwave Flash"
  89. SWFLASH_TIP      = "Macromedia Shockwave plays Flash files."
  90.  
  91. productname="Shockwave Flash"
  92. GUID = "{D27CDB6E-AE6D-11cf-96B8-444553540000}"
  93. DefaultName = "Macromedia Shockwave Flash"
  94. ComponentID = "Shockwave Flash"
  95. VersionNumber = "2.1.0.12"
  96. LocaleID = "EN"
  97.  
  98. [SW.AddReg]
  99. ;    These uninstall keys are not needed for Win98... apparently
  100. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shockwave\Flash,"QuietDisplayName",,"%ProductName%"
  101. ;    add the 5 after uninstall for the silent mode
  102. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shockwave\Flash,"QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\swflash.inf,DefaultUninstall,5"
  103. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shockwave\Flash,"RequiresIESysFile",,"4.70.0.1155"
  104.  
  105. ;    these were added for the win 98 CD
  106. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%",,,"%DefaultName%"
  107. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","ComponentID",,"%ComponentID%"
  108. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","IsInstalled",1,01,00,00,00
  109. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Version",,"%VersionNumber%"
  110. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Locale",,"%LocaleID%"
  111.  
  112. [SW.DelReg]
  113. ;    These uninstall keys are not needed for Win98... apparently
  114. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shockwave\Flash,"QuietDisplayName",,"%ProductName%"
  115. ;    add the 5 after uninstall for the silent mode
  116. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shockwave\Flash,"QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\swflash.inf,DefaultUninstall,5"
  117. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shockwave\Flash,"RequiresIESysFile",,"4.70.0.1155"
  118.  
  119. ;    these were added for the win 98 CD
  120. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%",,,"%DefaultName%"
  121. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","ComponentID",,"%ComponentID%"
  122. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","IsInstalled",1,01,00,00,00
  123. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Version",,"%VersionNumber%"
  124. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Locale",,"%LocaleID%"
  125.  
  126. [SWFiles]
  127. swflash.ocx
  128.  
  129. [DestinationDirs]
  130. SWFiles=11, Macromed\Flash
  131. Register_SwFlash.CopyInf = 17    ; LDID_INF
  132.