home *** CD-ROM | disk | FTP | other *** search
- ; 08/20/97 Mod by Lisa Gelobter made into a 16 bit inf
- ; 07/24/97 Created by Matt Abarbanel w/IE 4 changes (uninstall)
- ; and macromed\flash directory
-
-
- [Version]
- Signature="$Chicago$"
- SetupClass = BASE ; allow INF to be loaded during Win98 Setup
- LayoutFile = layout.inf, layout1.inf ; instead of SourceDisks* sections for file locations in the CABs
- ;;;AdvancedINF = 2.5 ; not supported, but ignored
-
-
- ; Win98Setup entrypoint
- [BaseWinOptions]
- ; list the section(s) to be installed during Setup
- SwFlash.Base
-
- [SwFlash.Base]
- AddReg = Register_SwFlash.AddReg
- DelReg = Register_SwFlash.DelReg
- CopyFiles = Register_SwFlash.CopyInf
-
- ; entrypoint for Right-Click, Install
- [DefaultInstall]
- AddReg = Register_SwFlash.AddReg
- DelReg = Register_SwFlash.DelReg
- CopyFiles = Register_SwFlash.CopyInf
-
- [Register_SwFlash.CopyInf]
- swflsh16.inf
-
- [Register_SwFlash.AddReg]
- ; set up the optional component in the registry - initialize to uninstalled
- HKLM,%KEY_OPTIONAL%,%OCsection%,,%OCsection%
- HKLM,%KEY_OPTIONAL%\%OCsection%,INF,,"swflsh16.inf"
- HKLM,%KEY_OPTIONAL%\%OCsection%,Section,,%OCsection%
- HKLM,%KEY_OPTIONAL%\%OCsection%,Installed,,"0"
-
- [Register_SwFlash.DelReg]
- HKLM,%KEY_UNINSTALL%\Shockwave\Flash
-
- [Optional Components]
- SwFlash
-
- [SwFlash]
- OptionDesc = %SWFLASH_DESC%
- Tip = %SWFLASH_TIP%
- Parent = MultiM ; InternetTop = Internet Tools ... MultiM = Multimedia
- CopyFiles = SWFiles
- AddReg = SW.AddReg, RegisterOCXSection.addreg, SwFlash.OCinstalled.addreg
- InstallType = 10 ; 1 = Compact, 2 = Typical, 4 = Portable, 8 = Custom
- IconIndex = 35 ; icon index into setupx.dll
- Uninstall = SwFlash.Uninstall
-
- [SwFlash.OCinstalled.addreg]
- HKLM,%KEY_OPTIONAL%\%OCsection%,Installed,,"1"
-
- [SwFlash.OCuninstalled.addreg]
- HKLM,%KEY_OPTIONAL%\%OCsection%,Installed,,"0"
-
- [RegisterOCXSection.addreg]
- ; add runonce item to be run on 1st/2nd boot
- HKLM,%KEY_RUNONCE%,"Register_SwFlash_OCX",,"%11%\regsvr32.exe /s %11%\macromed\Flash\swflash.OCX"
-
- [SwFlash.Uninstall]
- ; delete the files that were added during the install. Do not include the inf section
- ; Delete the key that were added to the registry during the install
- ; unregister the OCX
- Delreg = SW.DelReg
- AddReg = UnRegisterOCXSection.addreg, SwFlash.OCuninstalled.addreg
-
- [UnRegisterOCXSection.addreg]
- ; add runonce item to be run on 1st/2nd boot
- HKLM,%KEY_RUNONCE%,"UnRegister_SwFlash_OCX",,"%11%\regsvr32.exe /s /u %11%\macromed\flash\swflash.OCX"
-
- [strings]
- ; define strings used in the INF
- ; productname= is used for naming the install when called from IE
- ; this is also what sholud be localized if necessary
-
-
- ;Non-Localizable strings:
- KEY_OPTIONAL = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
- KEY_RUNONCE = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
- KEY_UNINSTALL = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
-
- OCsection = "SwFlash"
- SWFLASH_DESC = "Macromedia Shockwave Flash"
- SWFLASH_TIP = "Macromedia Shockwave plays Flash files."
-
- productname="Shockwave Flash"
- GUID = "{D27CDB6E-AE6D-11cf-96B8-444553540000}"
- DefaultName = "Macromedia Shockwave Flash"
- ComponentID = "Shockwave Flash"
- VersionNumber = "2.1.0.12"
- LocaleID = "EN"
-
- [SW.AddReg]
- ; These uninstall keys are not needed for Win98... apparently
- ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shockwave\Flash,"QuietDisplayName",,"%ProductName%"
- ; add the 5 after uninstall for the silent mode
- ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shockwave\Flash,"QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\swflash.inf,DefaultUninstall,5"
- ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shockwave\Flash,"RequiresIESysFile",,"4.70.0.1155"
-
- ; these were added for the win 98 CD
- HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%",,,"%DefaultName%"
- HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","ComponentID",,"%ComponentID%"
- HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","IsInstalled",1,01,00,00,00
- HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Version",,"%VersionNumber%"
- HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Locale",,"%LocaleID%"
-
- [SW.DelReg]
- ; These uninstall keys are not needed for Win98... apparently
- ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shockwave\Flash,"QuietDisplayName",,"%ProductName%"
- ; add the 5 after uninstall for the silent mode
- ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shockwave\Flash,"QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\swflash.inf,DefaultUninstall,5"
- ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shockwave\Flash,"RequiresIESysFile",,"4.70.0.1155"
-
- ; these were added for the win 98 CD
- HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%",,,"%DefaultName%"
- HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","ComponentID",,"%ComponentID%"
- HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","IsInstalled",1,01,00,00,00
- HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Version",,"%VersionNumber%"
- HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Locale",,"%LocaleID%"
-
- [SWFiles]
- swflash.ocx
-
- [DestinationDirs]
- SWFiles=11, Macromed\Flash
- Register_SwFlash.CopyInf = 17 ; LDID_INF
-