home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Basic / Visual Basic.60 / COMMON / TOOLS / VB / MSAGENT / INSTALL / ACE.EXE / aceinst.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1997-10-29  |  4.6 KB  |  152 lines

  1. ;inf for the microsoft agent character editor
  2. ;5/2/97  02:00  added mashelp presetupcommnad
  3. ;5/9/97  added new directory greping...
  4. ;5/12/97 now write out LFN's to registry...
  5. ;5/15/97 removed c runtime dll
  6. ;5/21/97 now we use a 'Vanilla' prompt if found or not
  7. ;6/19/97 removed IE 3.0 check
  8. ;7/22/97 file name changes
  9.  
  10. [Version]
  11. Signature="$Chicago$"
  12. AdvancedINF=2.5,%ADVPKPRMPT%
  13.  
  14. [SourceDisksNames]
  15. 1=%AppName%,,1
  16.  
  17. [DestinationDirs]
  18. AppFiles=49009
  19. SysFiles=11
  20. InfFiles=17
  21. HelpFiles=18
  22.  
  23. ;we have two install sections due to quotes for AddLinkNT
  24. ;but get away with one uninstall section
  25. [DefaultInstall]
  26. RunPreSetupCommands = RunPreSetupSection
  27. Copyfiles=AppFiles, InfFiles, HelpFiles
  28. AddReg=AppReg
  29. CustomDestination=CustomDirsSection
  30. UpdateInis=AddLink
  31.  
  32. [DefaultInstall.NT]
  33. RunPreSetupCommands = RunPreSetupSection
  34. Copyfiles=AppFiles, InfFiles, HelpFiles
  35. AddReg=AppReg
  36. CustomDestination=CustomDirsSection
  37. UpdateInis=AddLinkNT
  38.  
  39. [CustomDirsSection]
  40. ;49000 = CustomLDID49000,18   ;check for IE3.X
  41. 49001,49002,49003,49004 = CustomLDID49001,5    ;progam files dir
  42. 49005,49006,49007,49008 = CustomLDID49005,5    ;Dir we already had...
  43. 49009,49010,49011,49012 = CustomLDID49009,1    ;Dir we append 'tools' to...
  44.  
  45. [CustomLDID49000]
  46. "HKLM","SOFTWARE\Microsoft\Internet Explorer","Build",%IEPRMPT%,
  47.  
  48. [CustomLDID49001]
  49. "HKLM","SOFTWARE\Microsoft\Windows\CurrentVersion","ProgramFilesDir",,%24%\%PROGRAMF%
  50.  
  51. [CustomLDID49005]
  52. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","AgentDir",,
  53. HKLM,"SOFTWARE\Microsoft\Agent","InstallDir",,
  54. ,,,,%49002%\%MSAGENT%\
  55.  
  56. [CustomLDID49009]
  57. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","LISETDir",%INSTPRMPT%,%49006%\%TOOLSDIR%
  58.  
  59. [RunPreSetupSection]
  60. aceinst.exe
  61. ;acehelp.inf
  62. ;RunDll32 advpack.dll,LaunchINFSection acehelp.inf, DefaultInstall
  63.  
  64. [AddLinkNT]
  65. setup.ini, progman.groups,, "MSACE="
  66. setup.ini, MSACE,, """%AppName%"", """"""%49011%\Ace.exe"""""""
  67.  
  68. [AddLink]
  69. setup.ini, progman.groups,, "MSACE="
  70. setup.ini, MSACE,, """%AppName%"", ""%49011%\Ace.exe"""
  71.  
  72. [Uninstall]
  73. BeginPrompt=BeginPromptSection
  74. EndPrompt=EndPromptSection
  75. CustomDestination=UninstallDestination
  76. DelFiles=AppFiles, HelpFiles
  77. Deldirs=RemoveFolder
  78. DelReg=DelRegSection
  79. UpdateInis=RemoveLink
  80. Cleanup=1
  81.  
  82. [RemoveLink]
  83. setup.ini, progman.groups,, "MSACE="
  84. setup.ini, MSACE,, """%AppName%"""
  85.  
  86. [UninstallDestination]
  87. 49009,49010,49011,49012 = CustomLDIDR49011,5
  88.  
  89. ;this is used to remove the ace
  90. [CustomLDIDR49011]
  91. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","ACEDir",,
  92.  
  93. [AppFiles]
  94. ace.exe
  95.  
  96. [InfFiles]
  97. aceinst.inf
  98.  
  99. [HelpFiles]
  100. Ace.hlp
  101. Ace.cnt
  102.  
  103. [RemoveFolder]
  104. %49011%
  105.  
  106. [AppReg]
  107. HKCR,.aaf,,,Agent.Character
  108. HKCR,.acf,,,Agent.Character
  109. HKCR,.acs,,,Agent.Character
  110. HKCR,.acd,,,Agent.Editor
  111. HKCR,Agent.Character,,2,"Microsoft Agent Character File"
  112. HKCR,Agent.Character\DefaultIcon,,2,"%49011%\Ace.exe,-153"
  113. HKCR,Agent.Editor,,,"Microsoft Agent Character Definition"
  114. HKCR,Agent.Editor\DefaultIcon,,,"%49011%\Ace.exe,-136"
  115. HKCR,Agent.Editor\Shell,,,"open, edit"
  116. HKCR,Agent.Editor\Shell\edit,,,"&Edit"
  117. HKCR,Agent.Editor\Shell\edit\command,,,"notepad %1"
  118. HKCR,Agent.Editor\Shell\open,,,
  119. HKCR,Agent.Editor\Shell\open\command,,,"%49011%\%EXENAME% %1"
  120. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","ACEDir",,%49010%
  121. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AgentCharEd,"DisplayName",,%AppName%
  122. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AgentCharEd,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\aceinst.inf, Uninstall"
  123.  
  124. [DelRegSection]
  125. HKCR,.acd
  126. HKCR,Agent.Editor
  127. HKCU,"Software\Microsoft\Microsoft Agent\Tools","Character Editor"
  128. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","ACEDir"
  129. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AgentCharEd
  130.  
  131. [BeginPromptSection]
  132. Prompt=%BeginPrompt%
  133. ButtonType=YESNO
  134. Title=%AppName%
  135.  
  136. [EndPromptSection]
  137. Prompt=%EndPrompt%
  138.  
  139. [Strings]
  140. AppName="Microsoft Agent Character Editor"
  141. ADVPKPRMPT = "The correct version of Advpack.dll was not found, installation halted."
  142. IEPRMPT = "You need to have Microsoft Internet Explorer version 3.0 or later, installation halted."
  143. INSTPRMPT = "Where would you like to install the Microsoft Agent Character Editor?"
  144. BeginPrompt="Are you sure you want to remove the Microsoft Agent Character Editor?"
  145. EndPrompt="The Microsoft Agent Character Editor was successfully removed."
  146. AskInstall = "Where would you like to install the Character Editor and future Microsoft Agent components?"
  147. TellInstall = "Setup has detected Microsoft Agent components in the directory below. It is strongly recommended that you not change this path."
  148. PROGRAMF="Program Files"
  149. TOOLSDIR="Tools"
  150. MSAGENT="Microsoft Agent"
  151. EXENAME="Ace.exe"
  152.