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

  1. ;16 bit agt16.inf for 1.5 Memphis (IE 4.01()
  2. ;Last modified 10/14/97 martinso
  3. ;  - use LDID (29500=<program files>\Microsoft Agent)
  4. ;  - bug fix: set Installed value in correct key (MSAgent, not Agent)
  5. ;  - shorten option tip string
  6. ;Last modified 10/6/97 martinso
  7. ;  - add entries for active setup to detect when we are installed
  8. ;  - change install type from 14 to 0 for optional component, not installed by default
  9. ;  - do not remove INF on uninstall
  10. ;  - use MSAgent consistently in optional components registry branch
  11. ;  - use string constants for standard registry keys
  12. ;Last modified  8/6/97 by John Merrill (jmerrill)
  13. ;  added code to delete HKCR/TypeLib/<CLSID>/1.5 for server, control, data provider, and mslwvtts
  14. ;  converted to 16 bit format -- got rid of all references to advanced pack,
  15. ; shifted over to registry-based renaming.  Shifted to BASE component structure
  16.  
  17. [Version] 
  18. LayoutFile=layout.inf, layout1.inf, layout2.inf
  19. Signature="$CHICAGO$"
  20. SetupClass=BASE
  21.  
  22. [BaseWinOptions]
  23. Register_Agent
  24.  
  25. [Register_Agent]
  26. AddReg=Register_Agent.AddReg
  27. CopyFiles=Register_Agent.Copy
  28.  
  29. [Register_Agent.AddReg]
  30. ;Registers Agent so it shows up in Maint Mode Setup, set initial status to uninstalled:
  31. HKLM,%KEY_OPTIONAL%,"MSAgent",,"MSAgent"
  32. HKLM,%KEY_OPTIONAL%\MSAgent,INF,,"agt16.inf"
  33. HKLM,%KEY_OPTIONAL%\MSAgent,Section,,"MSAgent"
  34. HKLM,%KEY_OPTIONAL%\MSAgent,Installed,,"0"
  35.  
  36. ;new entries for active setup
  37. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%",,,"%DefaultName%"
  38. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","ComponentID",,"%ComponentID%"
  39. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","IsInstalled",1,01,00,00,00
  40. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Version",,"%VersionNumber%"
  41. HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\%GUID%","Locale",,"%LocaleID%"
  42. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%UninstallFolderName%",,,""
  43.  
  44. [Register_Agent.Copy]
  45. agt16.inf
  46.  
  47. [DestinationDirs] 
  48. LWVCopy            = 29500
  49. LWVRemove        = 29500
  50. AgentCopy        = 29500
  51. AgentRemove        = 29500
  52. AgentOCA        = 29500
  53. AgentINFCopy        = 17 
  54. Register_Agent.Copy    = 17
  55. AgentHLPCopy        = 18 
  56. RemoveINF        = 17
  57. RemoveCab        = 25,occache
  58.  
  59. [Optional Components]
  60. MSAgent
  61.  
  62. [MSAgent] 
  63. CopyFiles        = AgentCopy, AgentINFCopy, LWVCopy, AgentHLPCopy 
  64. AddReg            = AgentRegSection, AgentRegSvrSection, AgentRegInstall
  65. DelReg            = DelOldAgentReg
  66. ;UpdateInis        = Agent.links
  67.  
  68. OptionDesc        = %MSAGENTOPT_DESC%
  69. Tip            = %MSAGENTOPT_TIP%
  70. Parent            = MultiM
  71. InstallType        = 0      ; Optional in all configs
  72. IconIndex        = 70    ; Agent mini-icon for dialogs
  73. Uninstall        = MSAgent_remove
  74.  
  75. [AgentRegSection]
  76. HKCR,.aaf,,,Agent.Character
  77. HKCR,.acs,,,Agent.Character
  78. HKCR,.acf,,,Agent.Character
  79. HKCR,.lwv,,,LWVFile
  80. HKCR,Agent.Character,,,"Microsoft Agent Character File"
  81. HKCR,Agent.Character\DefaultIcon,,,"%29500%\AgentSvr.exe,-211"
  82. HKCR,LWVFile,,,"Microsoft Linguistically Enhanced Sound File"
  83. HKCR,LWVFile\DefaultIcon,,,"%29500%\mslwvtts.dll,-133"
  84. HKCR,FileType\{1EAF7042-9F92-11D0-89AA-00A0C9054129}\0,,,"0,4,FFFFFFFF,C2ABCDAB"
  85.  
  86. [AgentRenameSection]
  87. ; no longer used since we have an LDID now
  88. HKLM,%KEY_RENAME%\AgentRoot,,,"%24%"
  89. HKLM,%KEY_RENAME%\AgentRoot, "%24%\%PROGRAMF%",, !$!$!$!$.$!$
  90. HKLM,%KEY_RENAME%\AgentRoot, !$!$!$!$.$!$,, "%24%\%Program_Files%"
  91. HKLM,%KEY_RENAME%\AgentDir,,,"%24%\%PROGRAMF%"
  92. HKLM,%KEY_RENAME%\AgentDir, "%MSAGENT%",, !$!$!$!$.AGT
  93. HKLM,%KEY_RENAME%\AgentDir, !$!$!$!$.AGT,, "%Microsoft_Agent%" 
  94.  
  95. [AgentRegSvrSection]
  96. HKLM,%KEY_RUNONCE%,InitAgentControl,0,"%11%\regsvr32.exe /s ""%29500%\AgentCtl.dll"""
  97. HKLM,%KEY_RUNONCE%,InitAgentDataProvider,0,"%11%\regsvr32.exe /s ""%29500%\AgentDpv.dll"""
  98. HKLM,%KEY_RUNONCE%,InitMSLWVTTS,0,"%11%\regsvr32.exe /s ""%29500%\MSLWVTTS.dll"""
  99. HKLM,%KEY_RUNONCE%,InitAgentServer,0,"%29500%\AgentSvr.exe /regserver"
  100.  
  101. [DelOldAgentReg]
  102. ; doesn't seem to be used
  103. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Agent
  104.  
  105. [AgentRegInstall]
  106. HKLM,%KEY_OPTIONAL%\MSAgent,Installed,,"1"
  107.  
  108. [AgentRegUninstall]
  109. HKLM,%KEY_OPTIONAL%\MSAgent,Installed,,"0"
  110.  
  111. ; ***********************************************************
  112. ; here is the UNINSTALL Stuff.....
  113.  
  114. [MSAgent_remove] 
  115. DelFiles    = AgentRemove, AgentOCA, LWVRemove, AgentHLPCopy   
  116. DelReg        = AgentUnRegister, AgentDelGUIDs
  117. AddReg        = AgentRegUninstall
  118. Deldirs        = RemoveDirSection
  119. ;UpdateInis  = Agent.links.remove
  120.  
  121. [RemoveDirSection]
  122. %Program_files%\%Microsoft_Agent%
  123.  
  124. [AgentUnRegister]
  125. HKCR,.aaf
  126. HKCR,.acf
  127. HKCR,.acs
  128. HKCR,.lwv
  129. HKCR,Agent.Character
  130. HKCR,LWVFile
  131. HKLM,%KEY_RUNONCE%,InitAgentControl
  132. HKLM,%KEY_RUNONCE%,InitAgentDataProvider
  133. HKLM,%KEY_RUNONCE%,InitMSLWVTTS
  134. HKLM,%KEY_RUNONCE%,InitAgentServer
  135. HKCU,"SOFTWARE\Microsoft\Microsoft Agent"
  136.  
  137. [AgentDelGUIDs]
  138. HKCR,FileType\{1EAF7042-9F92-11D0-89AA-00A0C9054129}\0
  139. HKCR,TypeLib\{F5BE8BC2-7DE6-11D0-91FE-00C04FD701A5}\1.5
  140. HKCR,TypeLib\{A7B93C73-7B81-11D0-AC5F-00C04FD97575}\1.5
  141. HKCR,TypeLib\{BB64DF30-88E4-11D0-9E87-00C04FD7081F}\1.5
  142. HKCR,TypeLib\{95A893C0-543A-11D0-AC45-00C04FD97575}\1.5
  143. HKCR,CLSID\{A7B93C92-7B81-11D0-AC5F-00C04FD97575}
  144. HKCR,CLSID\{F5BE8BD2-7DE6-11D0-91FE-00C04FD701A5}
  145. HKCR,CLSID\{95A893C3-543A-11D0-AC45-00C04FD97575}
  146. HKCR,CLSID\{BB64DF2F-88E4-11D0-9E87-00C04FD7081F}
  147.  
  148. ; ***********************************************************
  149. ; here is the FILES SECTION.....
  150.  
  151. [LWVCopy]
  152. mslwvtts.dll
  153.  
  154. [AgentCopy]
  155. AgentCtl.dll
  156. AgentDPv.dll
  157. AgentSvr.exe
  158. AgentHks.dll
  159.  
  160. [AgentRemove]
  161. AgentCtl.dll,,,1
  162. AgentDPv.dll,,,1
  163. AgentSvr.exe,,,1
  164. AgentHks.dll,,,1
  165.  
  166. [LWVRemove]
  167. mslwvtts.dll,,,1
  168.  
  169. [AgentOCA]
  170. AgentCtl.oca
  171.  
  172. [AgentINFCopy]
  173. agt16.inf
  174.  
  175. [AgentHLPCopy] 
  176. msagent.hlp
  177.  
  178. [RemoveCab]
  179. msagent.exe
  180.  
  181. [Strings]
  182.  
  183. ;non-localized strings
  184.  
  185. PRODNAME = "Microsoft Agent 1.5"
  186.  
  187. Agent_Desc   = "Microsoft Agent 1.5"
  188. Agent_ShortDesc = "Microsoft Agent"
  189.  
  190. MSAGENTOPT_DESC = "Microsoft Agent 1.5"
  191.  
  192. ; new strings for active setup
  193. GUID = "{1EAF7042-9F92-11D0-89AA-00A0C9054129}"
  194. DefaultName = "Microsoft Agent"
  195. ComponentID = "Agent"
  196. VersionNumber = "1,5,0,232"
  197. LocaleID = "EN"
  198. UninstallFolderName = "Agent"
  199.  
  200. ; constants
  201. KEY_RUNONCE = "SOFTWARE\Microsoft\Windows\CurrentVersion\Runonce"
  202. KEY_RENAME = "Software\Microsoft\Windows\CurrentVersion\RenameFiles"
  203. KEY_OPTIONAL = "Software\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
  204.  
  205. ;localized strings
  206.  
  207. MSAGENTOPT_TIP = "A set of services that supports interactive animated characters within Microsoft Windows«."
  208.  
  209.