home *** CD-ROM | disk | FTP | other *** search
- ; 08/20/97 Mod by Lisa Gelobter made into a 16 bit inf
- ; 08/15/97 Mod by Matt Abarbanel added new reg keys & strings for the win98 cd installer
- ; 07/23/97 Mod by Matt Abarbanel added new IE 4 keys and uninstall sections and added coments
- ; ??? Mod by Matt Abarbanel added deletion of old elmo files
- ; ??? Created by Lisa Gelobter
- ;
- ; General notes
- ; 11 = the windows\system directory read in from the currentVersion key
- ; 17 = Windows\inf 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
- SwDir.Base
-
- [SwDir.Base]
- AddReg = Register_SwDir.AddReg
- DelReg = Register_SwDir.DelReg
- CopyFiles = Register_SwDir.CopyInf
-
- ; entrypoint for Right-Click, Install
- [DefaultInstall]
- AddReg = Register_SwDir.AddReg
- DelReg = Register_SwDir.DelReg
- CopyFiles = Register_SwDir.CopyInf
-
- [Register_SwDir.CopyInf]
- swdir16.inf
-
- [Register_SwDir.AddReg]
- ; set up the optional component in the registry - initialize to uninstalled
- HKLM,%KEY_OPTIONAL%,%OCsection%,,%OCsection%
- HKLM,%KEY_OPTIONAL%\%OCsection%,INF,,"swdir16.inf"
- HKLM,%KEY_OPTIONAL%\%OCsection%,Section,,%OCsection%
- HKLM,%KEY_OPTIONAL%\%OCsection%,Installed,,"0"
-
- [Register_SwDir.DelReg]
- HKLM,%KEY_UNINSTALL%\Shockwave\Director
-
- [Optional Components]
- SwDir
-
- [SwDir]
- OptionDesc = %SWDIR_DESC%
- Tip = %SWDIR_TIP%
- Parent = MultiM ; InternetTop = Internet Tools ... MultiM = Multimedia
- CopyFiles = SWFiles, xtrafiles
- Delfiles = OldElmoFiles, OldHopperFiles, OldHopperXtraFiles
- AddReg = SW.AddReg, RegisterOCXSection.addreg, SwDir.OCinstalled.addreg
- InstallType = 10 ; 1 = Compact, 2 = Typical, 4 = Portable, 8 = Custom
- IconIndex = 35 ; icon index into setupx.dll
- Uninstall = SwDir.Uninstall
-
- [SwDir.OCinstalled.addreg]
- HKLM,%KEY_OPTIONAL%\%OCsection%,Installed,,"1"
-
- [SwDir.OCuninstalled.addreg]
- HKLM,%KEY_OPTIONAL%\%OCsection%,Installed,,"0"
-
- [RegisterOCXSection.addreg]
- ; add runonce item to be run on 1st/2nd boot
- HKLM,%KEY_RUNONCE%,"Register_SwDir_OCX",,"%11%\regsvr32.exe /s %11%\macromed\director\IE32DSW.OCX"
-
- [SwDir.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
- AddReg = UnRegisterOCXSection.addreg, SwDir.OCuninstalled.addreg
- Delfiles = SWDelFiles, xtrafiles
- Delreg = SW.DelReg
-
-
- [UnRegisterOCXSection.addreg]
- ; add runonce item to be run on 1st/2nd boot
- HKLM,%KEY_RUNONCE%,"UnRegister_SwDir_OCX",,"%11%\regsvr32.exe /s /u %11%\macromed\director\IE32DSW.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 = "SwDir"
- SWDIR_DESC = "Macromedia Shockwave Director"
- SWDIR_TIP = "Macromedia Shockwave plays Director files."
-
- productname="Shockwave Director 6.0.1"
- GUID = "{166B1BCA-3F9C-11CF-8075-444553540000}"
- DefaultName = "Macromedia Shockwave Director 6.0.1"
- ComponentID = "Shockwave for Director 6.0.1"
- VersionNumber = "6.0.0.6110"
- LocaleID = "EN"
-
- [SW.AddReg]
- ;HKLM,"SOFTWARE\Microsoft\Active Setup\Installed ;Components\{2A202491-F00D-11cf-87CC-0020AFEECF20}",,0,"MacroMedia ;ShockWave ActiveX ;Control"
- ;HKLM,"SOFTWARE\Microsoft\Active Setup\Installed ;Components\{2A202491-F00D-11cf-87CC-0020AFEECF20}","Version",1,05,00,00,00;,01,00,3D,00
-
- ; 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 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]
- SwDir.dll
- Dirapi.dll
- Idle32.exe
- Iml32.dll
- M5if32.dll
- M5drvr32.exe
-
- [SWDelFiles]
-
- ; we must leave in the ocx, b/c file must exist to unregister dll.
- ; we must also leave m5if32.dll, b/c it is needed for the ocx to load to unregister.
- xobglu32.dll
- xobglu16.dll
- m5drvr32.exe
- m5drvr32.rsr
- asifont.map
- asiport.rsr
-
- [xtrafiles]
- Swadcmpr.x32
- Swastrm.x32
-
- [OldElmoFiles]
- ie32dsw.ocx
- xobglu32.dll
- xobglu16.dll
- m5if32.dll
- m5drvr32.exe
- m5drvr32.rsr
- asifont.map
- asiport.rsr
- swadcmpr.x32
- swastrm.x32
- intro.dcr
- ie32dsw.txt
-
- [OldHopperFiles]
- IE32DSW.ocx
- ie32dsw.txt
- xobglu32.dll
- xobglu16.dll
- m5if32.dll
- m5drvr32.exe
- m5drvr32.rsr
- asifont.map
- asiport.rsr
- D60Xtra.MCH
-
- [OldHopperXtraFiles]
- Brwsserv.x32
- GIFImpor.x32
- JPEGImpo.x32
- Mix32.x32
- Netfile.x32
- Netlingo.x32
- SoundImp.x32
- Swadcmpr.x32
- Swastrm.x32
-
- [DestinationDirs]
- OldElmoFiles=11
- SWFiles=11, Macromed\Director
- SWDelFiles=11, Macromed\Director
- OldHopperFiles=11, Macromed\Director
- xtrafiles=11, Macromed\Director\Xtras
- OldHopperXtraFiles=11, Macromed\Director\Xtras
- Register_SwDir.CopyInf = 17 ; LDID_INF
-