home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 March / PCWorld_2002-03_cd.bin / Novinky / grada / MSagent / MSagent.exe / RCDATA / CABINET / AGTINST.INF < prev    next >
Windows Setup INFormation  |  1998-10-02  |  8KB  |  249 lines

  1. ;Agent.INF for 1.5.  This is the modified version which ships with
  2. ;Agent 2.0.  It overwrites a large portion of the uninstall code to make
  3. ;it more compatible with 2.0.
  4.  
  5. [Version] 
  6. Signature=$CHICAGO$ 
  7. AdvancedINF=2.5,%ADVPKPRMPT%
  8.  
  9. [DestinationDirs] 
  10. LWVCopy = 49005        ;49007
  11. LWVRemove = 49005    ;49007
  12. TTSCopy = 49010                                         
  13. AgentCopy = 49005    ;49007                                          
  14. AgentRemove = 49005    ;49007
  15. AgentOCA = 49005    ;49007
  16. AgentINFCopy = 17 
  17. AgentHLPCopy = 18 
  18. RemoveINF = 17
  19. RemoveCab = 25,occache
  20.  
  21. [AgentCustomDestination]
  22. ;<oemSFN>,<ansiLFN>,<ansiSFN>,<oemLFN>
  23. ;49000 = CustomLDID49000,18                       ;Check for IE
  24. 49001,49002,49003,49004 = CustomLDID49001,21        ;program files      
  25. 49005,49006,49007,49008 = CustomInstallDir,5        ;this is where we install to...
  26.  
  27. [CustomLDID49000]
  28. HKLM,SOFTWARE\Microsoft\Internet Explorer,Build,%IEPRMPT%,
  29.  
  30. [CustomLDID49001]
  31. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion,ProgramFilesDir,,%24%\%PROGRAMF%
  32.  
  33. [CustomInstallDir]
  34. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","AgentDir",%TellInstall%,
  35. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","CgramDir",%TellInstall%,
  36. HKLM,"SOFTWARE\Microsoft\Agent","InstallDir",%TellInstall%,
  37. ,,,%AskInstall%,%49002%\%MSAGENT%
  38.  
  39. [DefaultInstall] 
  40. ;RequiredEngine=setupapi.dll,"Required setupapi.dll missing"
  41. CheckAdminRights=1
  42. CopyFiles = AgentCopy, AgentINFCopy, LWVCopy, AgentHLPCopy 
  43. AddReg = AgentRegSection  
  44. RunPreSetupCommands = RunPreSetup 
  45. CustomDestination = AgentCustomDestination
  46. RunPostSetupCommands = RunPostSetupCmds
  47.  
  48. [DefaultInstall.NT] 
  49. ;RequiredEngine=setupapi.dll,"Required setupapi.dll missing"
  50. CheckAdminRights=1 
  51. CopyFiles = AgentCopy, AgentINFCopy, LWVCopy, AgentHLPCopy 
  52. AddReg = AgentRegSection  
  53. RunPreSetupCommands = RunPreSetup 
  54. CustomDestination = AgentCustomDestination
  55. RunPostSetupCommands = RunPostSetupCmdsNT
  56.  
  57. [RunPreSetup]
  58. agtinst.exe
  59. "RunDll32 advpack.dll,LaunchINFSection DelGenie.inf, RemoveGenie"
  60.  
  61. [RunPostSetupCmds]
  62. regsvr32 /s %49007%\AgentCtl.dll
  63. regsvr32 /s %49007%\AgentDPv.dll
  64. regsvr32 /s %49007%\mslwvtts.dll
  65. %49007%\AgentSvr.exe /regserver
  66.  
  67. agtpost %49006%\AgentCtl.dll
  68. agtpost %49006%\AgentDPv.dll
  69. agtpost %49006%\mslwvtts.dll
  70. agtpost %49006%\AgentSvr.exe
  71.  
  72. [RunPostSetupCmdsNT]
  73. ;These have to be triple-double quoted for NT cause of the spaces in the path...
  74. regsvr32 /s """%49007%\AgentCtl.dll"""
  75. regsvr32 /s """%49007%\AgentDPv.dll"""
  76. regsvr32 /s """%49007%\mslwvtts.dll"""
  77. %49007%\AgentSvr.exe /regserver
  78.  
  79. agtpost %49006%\AgentCtl.dll
  80. agtpost %49006%\AgentDPv.dll
  81. agtpost %49006%\mslwvtts.dll
  82. agtpost %49006%\AgentSvr.exe
  83.  
  84. [AgentRegSection]
  85. HKCR,.aaf,,,Agent.Character
  86. HKCR,.acs,,,Agent.Character
  87. HKCR,.acf,,,Agent.Character
  88. HKCR,.lwv,,,LWVFile
  89. HKCR,Agent.Character,,,"Microsoft Agent Character File"
  90. HKCR,Agent.Character\DefaultIcon,,,"%49007%\AgentSvr.exe,-211"
  91. HKCR,LWVFile,,,"Microsoft Linguistically Enhanced Sound File"
  92. HKCR,LWVFile\DefaultIcon,,,"%49007%\mslwvtts.dll,-133"
  93. HKCR,FileType\{1EAF7042-9F92-11D0-89AA-00A0C9054129}\0,,,"0,4,FFFFFFFF,C2ABCDAB"
  94. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","AgentDir",,%49006%
  95. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Agent,"DisplayName",,%PRODNAME%
  96. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Agent,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\agtinst.inf, RemoveAgent"
  97. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Agent,"RequiresIESysFile",,"0"
  98. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,"MSAgent",,"RunDll32 advpack.dll,LaunchINFSection %17%\agtinst.inf, RemoveCabinet" 
  99.  
  100. ;these are left over from the ugly rename operation
  101. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Agent,,,%49003%
  102. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Agent,"AGENTC~1.DLL",,"AgentControl.dll"
  103. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Agent,"AGENTD~1.DLL",,"AgentDataProvider.dll"
  104. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Agent,"AGENTS~1.EXE",,"AgentServer.exe"
  105.  
  106. ; ***********************************************************
  107. ; here is the UNINSTALL Stuff.....
  108.  
  109. ;this is the entry point to remove the exe from occache...
  110. [RemoveCabinet]
  111. DelFiles=RemoveCab
  112.  
  113. [RemoveAgent] 
  114. NTAdmin=1 
  115. BeginPrompt=BeginPromptSection
  116. EndPrompt=EndPromptSection
  117. CustomDestination = UninstallDestination
  118. RunPreSetupCommands = RunPreRemoveCmd 
  119. UnregisterOCXs = UnRegisterFilesSection
  120. DelFiles = AgentRemove, AgentOCA, LWVRemove, RemoveINF, AgentHLPCopy   
  121. AddReg = ModifyRegSection
  122. DelReg = AgentUnRegister 
  123. Deldirs=RemoveDirSection
  124. Cleanup=1
  125.  
  126. [UninstallDestination]
  127. ;<oemSFN>,<ansiLFN>,<ansiSFN>,<oemLFN>
  128. 49005,49006,49007,49008 = CustomRemoveDir,5
  129. ;49010 = CustomLDID49010,5
  130.  
  131. [CustomRemoveDir]
  132. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","AgentDir",,
  133.  
  134. [CustomLDID49010]
  135. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","CgramDir",,%24%
  136.  
  137. [RemoveDirSection]
  138. %49007%
  139. ;%49010%
  140.  
  141. [RunPreRemoveCmd]
  142. "RunDll32 advpack.dll,LaunchINFSection %17%\msrmcgrm.inf, RemoveCgram, 5"
  143.  
  144. [BeginPromptSection]
  145. Prompt="%AskUninstall%"
  146. ButtonType=YESNO
  147. Title="%AgentDesc%"
  148.  
  149. [EndPromptSection]
  150. Prompt="%DoneUnInstall%"
  151.  
  152. [UnRegisterFilesSection]
  153. %49007%\AgentSvr.exe
  154. %49007%\AgentDPv.dll
  155. %49007%\mslwvtts.dll
  156. ;%49007%\wrapcgrm.dll
  157.  
  158. [AgentUnRegister]
  159. HKCR,TypeLib\{A7B93C73-7B81-11D0-AC5F-00C04FD97575}\1.5
  160. HKCR,TypeLib\{BB64DF30-88E4-11D0-9E87-00C04FD7081F}\1.5
  161. HKCR,TypeLib\{95A893C0-543A-11D0-AC45-00C04FD97575}\1.5
  162. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","AgentDir"
  163. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Agent
  164. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,"MSAgent"
  165.  
  166. [ModifyRegSection]
  167. HKCR,CLSID\{F5BE8BD2-7DE6-11D0-91FE-00C04FD701A5}\InprocServer32,,,%25%\msagent\agentctl.dll
  168. HKCR,CLSID\{F5BE8BD2-7DE6-11D0-91FE-00C04FD701A5}\ToolboxBitmap32,,,"%25%\msagent\agentctl.dll, 105"
  169.  
  170. [TTSUnRegister]
  171. HKCR, CLSID\{1B6BF831-9299-101B-8A19-265D428C60FF}
  172. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","CgramDir"
  173. HKLM, Software\Microsoft\Windows\CurrentVersion\Uninstall\TruVoice
  174.  
  175. ; ***********************************************************
  176. ; here is the FILES SECTION.....
  177.  
  178. [LWVCopy]
  179. mslwvtts.dll
  180.  
  181. [TTSCopy]
  182. Cgrm_enp.dll
  183. wrapcgrm.dll
  184.  
  185. [AgentCopy]
  186. AgentCtl.dll
  187. AgentDPv.dll
  188. AgentSvr.exe
  189. AgentHks.dll
  190.  
  191. [AgentRemove]
  192. AgentCtl.dll,,,1
  193. AgentDPv.dll,,,1
  194. AgentSvr.exe,,,1
  195. AgentHks.dll,,,1
  196.  
  197. [LWVRemove]
  198. mslwvtts.dll,,,1
  199.  
  200. [AgentOCA]
  201. AgentCtl.oca
  202.  
  203. [AgentINFCopy]
  204. agtinst.inf
  205. msrmcgrm.inf
  206.  
  207. [RemoveINF]
  208. msrmcgrm.inf
  209. msagent.inf
  210.  
  211. [AgentHLPCopy] 
  212. msagent.hlp
  213.  
  214. [RemoveCab]
  215. msagent.exe
  216.  
  217. [SourceDisksNames] 
  218. 1 = %DiskName%,agent,0
  219.  
  220. [SourceDisksFiles] 
  221. agtinst.inf = 1
  222. ;DelGenie.inf = 1
  223. ;agtinst.exe = 1
  224. ;genie.inf = 1
  225. ;msagent2.inf = 1
  226. AgentCtl.dll = 1
  227. AgentDPv.dll = 1
  228. AgentSvr.exe = 1
  229. AgentHks.dll = 1
  230. mslwvtts.dll = 1
  231. ;setupapi.dll = 1
  232. msagent.hlp = 1
  233.  
  234. [Strings] 
  235. PROGRAMF = "Program Files"
  236. SPEECH = "Speech"
  237. CHARACTERS = "Characters"
  238. MSAGENT = "Microsoft Agent"
  239. PRODNAME = "Microsoft Agent 1.5"
  240. ADVPKPRMPT = "The correct version of Advpack.dll was not found, installation halted."
  241. IEPRMPT = "You need to have Microsoft Internet Explorer version 3.0 or later, installation halted."
  242. AskInstall = "Where would you like to install Microsoft Agent 1.5 and its components?"
  243. TellInstall = "Setup has detected Microsoft Agent components in the directory below. It is strongly recommended that you not change this path."
  244. DiskName = "Microsoft Agent Installation Disk"
  245. AgentDesc = "Microsoft Agent 1.5 Uninstall"  
  246. AskUninstall = "Are you sure you want to remove Microsoft Agent 1.5?"
  247. DoneUninstall = "Microsoft Agent 1.5 has been removed."
  248.  
  249.