home *** CD-ROM | disk | FTP | other *** search
- ;16 bit agt16.inf for 1.5 Memphis (IE 4.01()
- ;Last modified 10/14/97 martinso
- ; - use LDID (29500=<program files>\Microsoft Agent)
- ; - bug fix: set Installed value in correct key (MSAgent, not Agent)
- ; - shorten option tip string
- ;Last modified 10/6/97 martinso
- ; - add entries for active setup to detect when we are installed
- ; - change install type from 14 to 0 for optional component, not installed by default
- ; - do not remove INF on uninstall
- ; - use MSAgent consistently in optional components registry branch
- ; - use string constants for standard registry keys
- ;Last modified 8/6/97 by John Merrill (jmerrill)
- ; added code to delete HKCR/TypeLib/<CLSID>/1.5 for server, control, data provider, and mslwvtts
- ; converted to 16 bit format -- got rid of all references to advanced pack,
- ; shifted over to registry-based renaming. Shifted to BASE component structure
-
- [Version]
- LayoutFile=layout.inf, layout1.inf, layout2.inf
- Signature="$CHICAGO$"
- SetupClass=BASE
-
- [BaseWinOptions]
- Register_Agent
-
- [Register_Agent]
- AddReg=Register_Agent.AddReg
- CopyFiles=Register_Agent.Copy
-
- [Register_Agent.AddReg]
- ;Registers Agent so it shows up in Maint Mode Setup, set initial status to uninstalled:
- HKLM,%KEY_OPTIONAL%,"MSAgent",,"MSAgent"
- HKLM,%KEY_OPTIONAL%\MSAgent,INF,,"agt16.inf"
- HKLM,%KEY_OPTIONAL%\MSAgent,Section,,"MSAgent"
- HKLM,%KEY_OPTIONAL%\MSAgent,Installed,,"0"
-
- ;new entries for active setup
- 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%"
- HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%UninstallFolderName%",,,""
-
- [Register_Agent.Copy]
- agt16.inf
-
- [DestinationDirs]
- LWVCopy = 29500
- LWVRemove = 29500
- AgentCopy = 29500
- AgentRemove = 29500
- AgentOCA = 29500
- AgentINFCopy = 17
- Register_Agent.Copy = 17
- AgentHLPCopy = 18
- RemoveINF = 17
- RemoveCab = 25,occache
-
- [Optional Components]
- MSAgent
-
- [MSAgent]
- CopyFiles = AgentCopy, AgentINFCopy, LWVCopy, AgentHLPCopy
- AddReg = AgentRegSection, AgentRegSvrSection, AgentRegInstall
- DelReg = DelOldAgentReg
- ;UpdateInis = Agent.links
-
- OptionDesc = %MSAGENTOPT_DESC%
- Tip = %MSAGENTOPT_TIP%
- Parent = MultiM
- InstallType = 0 ; Optional in all configs
- IconIndex = 70 ; Agent mini-icon for dialogs
- Uninstall = MSAgent_remove
-
- [AgentRegSection]
- HKCR,.aaf,,,Agent.Character
- HKCR,.acs,,,Agent.Character
- HKCR,.acf,,,Agent.Character
- HKCR,.lwv,,,LWVFile
- HKCR,Agent.Character,,,"Microsoft Agent Character File"
- HKCR,Agent.Character\DefaultIcon,,,"%29500%\AgentSvr.exe,-211"
- HKCR,LWVFile,,,"Microsoft Linguistically Enhanced Sound File"
- HKCR,LWVFile\DefaultIcon,,,"%29500%\mslwvtts.dll,-133"
- HKCR,FileType\{1EAF7042-9F92-11D0-89AA-00A0C9054129}\0,,,"0,4,FFFFFFFF,C2ABCDAB"
-
- [AgentRenameSection]
- ; no longer used since we have an LDID now
- HKLM,%KEY_RENAME%\AgentRoot,,,"%24%"
- HKLM,%KEY_RENAME%\AgentRoot, "%24%\%PROGRAMF%",, !$!$!$!$.$!$
- HKLM,%KEY_RENAME%\AgentRoot, !$!$!$!$.$!$,, "%24%\%Program_Files%"
- HKLM,%KEY_RENAME%\AgentDir,,,"%24%\%PROGRAMF%"
- HKLM,%KEY_RENAME%\AgentDir, "%MSAGENT%",, !$!$!$!$.AGT
- HKLM,%KEY_RENAME%\AgentDir, !$!$!$!$.AGT,, "%Microsoft_Agent%"
-
- [AgentRegSvrSection]
- HKLM,%KEY_RUNONCE%,InitAgentControl,0,"%11%\regsvr32.exe /s ""%29500%\AgentCtl.dll"""
- HKLM,%KEY_RUNONCE%,InitAgentDataProvider,0,"%11%\regsvr32.exe /s ""%29500%\AgentDpv.dll"""
- HKLM,%KEY_RUNONCE%,InitMSLWVTTS,0,"%11%\regsvr32.exe /s ""%29500%\MSLWVTTS.dll"""
- HKLM,%KEY_RUNONCE%,InitAgentServer,0,"%29500%\AgentSvr.exe /regserver"
-
- [DelOldAgentReg]
- ; doesn't seem to be used
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Agent
-
- [AgentRegInstall]
- HKLM,%KEY_OPTIONAL%\MSAgent,Installed,,"1"
-
- [AgentRegUninstall]
- HKLM,%KEY_OPTIONAL%\MSAgent,Installed,,"0"
-
- ; ***********************************************************
- ; here is the UNINSTALL Stuff.....
-
- [MSAgent_remove]
- DelFiles = AgentRemove, AgentOCA, LWVRemove, AgentHLPCopy
- DelReg = AgentUnRegister, AgentDelGUIDs
- AddReg = AgentRegUninstall
- Deldirs = RemoveDirSection
- ;UpdateInis = Agent.links.remove
-
- [RemoveDirSection]
- %Program_files%\%Microsoft_Agent%
-
- [AgentUnRegister]
- HKCR,.aaf
- HKCR,.acf
- HKCR,.acs
- HKCR,.lwv
- HKCR,Agent.Character
- HKCR,LWVFile
- HKLM,%KEY_RUNONCE%,InitAgentControl
- HKLM,%KEY_RUNONCE%,InitAgentDataProvider
- HKLM,%KEY_RUNONCE%,InitMSLWVTTS
- HKLM,%KEY_RUNONCE%,InitAgentServer
- HKCU,"SOFTWARE\Microsoft\Microsoft Agent"
-
- [AgentDelGUIDs]
- HKCR,FileType\{1EAF7042-9F92-11D0-89AA-00A0C9054129}\0
- HKCR,TypeLib\{F5BE8BC2-7DE6-11D0-91FE-00C04FD701A5}\1.5
- HKCR,TypeLib\{A7B93C73-7B81-11D0-AC5F-00C04FD97575}\1.5
- HKCR,TypeLib\{BB64DF30-88E4-11D0-9E87-00C04FD7081F}\1.5
- HKCR,TypeLib\{95A893C0-543A-11D0-AC45-00C04FD97575}\1.5
- HKCR,CLSID\{A7B93C92-7B81-11D0-AC5F-00C04FD97575}
- HKCR,CLSID\{F5BE8BD2-7DE6-11D0-91FE-00C04FD701A5}
- HKCR,CLSID\{95A893C3-543A-11D0-AC45-00C04FD97575}
- HKCR,CLSID\{BB64DF2F-88E4-11D0-9E87-00C04FD7081F}
-
- ; ***********************************************************
- ; here is the FILES SECTION.....
-
- [LWVCopy]
- mslwvtts.dll
-
- [AgentCopy]
- AgentCtl.dll
- AgentDPv.dll
- AgentSvr.exe
- AgentHks.dll
-
- [AgentRemove]
- AgentCtl.dll,,,1
- AgentDPv.dll,,,1
- AgentSvr.exe,,,1
- AgentHks.dll,,,1
-
- [LWVRemove]
- mslwvtts.dll,,,1
-
- [AgentOCA]
- AgentCtl.oca
-
- [AgentINFCopy]
- agt16.inf
-
- [AgentHLPCopy]
- msagent.hlp
-
- [RemoveCab]
- msagent.exe
-
- [Strings]
-
- ;non-localized strings
-
- PRODNAME = "Microsoft Agent 1.5"
-
- Agent_Desc = "Microsoft Agent 1.5"
- Agent_ShortDesc = "Microsoft Agent"
-
- MSAGENTOPT_DESC = "Microsoft Agent 1.5"
-
- ; new strings for active setup
- GUID = "{1EAF7042-9F92-11D0-89AA-00A0C9054129}"
- DefaultName = "Microsoft Agent"
- ComponentID = "Agent"
- VersionNumber = "1,5,0,232"
- LocaleID = "EN"
- UninstallFolderName = "Agent"
-
- ; constants
- KEY_RUNONCE = "SOFTWARE\Microsoft\Windows\CurrentVersion\Runonce"
- KEY_RENAME = "Software\Microsoft\Windows\CurrentVersion\RenameFiles"
- KEY_OPTIONAL = "Software\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
-
- ;localized strings
-
- MSAGENTOPT_TIP = "A set of services that supports interactive animated characters within Microsoft Windows«."
-
-