home *** CD-ROM | disk | FTP | other *** search
- ;inf for the microsoft agent character editor
- ;5/2/97 02:00 added mashelp presetupcommnad
- ;5/9/97 added new directory greping...
- ;5/12/97 now write out LFN's to registry...
- ;5/15/97 removed c runtime dll
- ;5/21/97 now we use a 'Vanilla' prompt if found or not
- ;6/19/97 removed IE 3.0 check
- ;7/22/97 file name changes
-
- [Version]
- Signature="$Chicago$"
- AdvancedINF=2.5,%ADVPKPRMPT%
-
- [SourceDisksNames]
- 1=%AppName%,,1
-
- [DestinationDirs]
- AppFiles=49009
- SysFiles=11
- InfFiles=17
- HelpFiles=18
-
- ;we have two install sections due to quotes for AddLinkNT
- ;but get away with one uninstall section
- [DefaultInstall]
- RunPreSetupCommands = RunPreSetupSection
- Copyfiles=AppFiles, InfFiles, HelpFiles
- AddReg=AppReg
- CustomDestination=CustomDirsSection
- UpdateInis=AddLink
-
- [DefaultInstall.NT]
- RunPreSetupCommands = RunPreSetupSection
- Copyfiles=AppFiles, InfFiles, HelpFiles
- AddReg=AppReg
- CustomDestination=CustomDirsSection
- UpdateInis=AddLinkNT
-
- [CustomDirsSection]
- ;49000 = CustomLDID49000,18 ;check for IE3.X
- 49001,49002,49003,49004 = CustomLDID49001,5 ;progam files dir
- 49005,49006,49007,49008 = CustomLDID49005,5 ;Dir we already had...
- 49009,49010,49011,49012 = CustomLDID49009,1 ;Dir we append 'tools' to...
-
- [CustomLDID49000]
- "HKLM","SOFTWARE\Microsoft\Internet Explorer","Build",%IEPRMPT%,
-
- [CustomLDID49001]
- "HKLM","SOFTWARE\Microsoft\Windows\CurrentVersion","ProgramFilesDir",,%24%\%PROGRAMF%
-
- [CustomLDID49005]
- HKLM,"SOFTWARE\Microsoft\Microsoft Agent","AgentDir",,
- HKLM,"SOFTWARE\Microsoft\Agent","InstallDir",,
- ,,,,%49002%\%MSAGENT%\
-
- [CustomLDID49009]
- HKLM,"SOFTWARE\Microsoft\Microsoft Agent","LISETDir",%INSTPRMPT%,%49006%\%TOOLSDIR%
-
- [RunPreSetupSection]
- aceinst.exe
- ;acehelp.inf
- ;RunDll32 advpack.dll,LaunchINFSection acehelp.inf, DefaultInstall
-
- [AddLinkNT]
- setup.ini, progman.groups,, "MSACE="
- setup.ini, MSACE,, """%AppName%"", """"""%49011%\Ace.exe"""""""
-
- [AddLink]
- setup.ini, progman.groups,, "MSACE="
- setup.ini, MSACE,, """%AppName%"", ""%49011%\Ace.exe"""
-
- [Uninstall]
- BeginPrompt=BeginPromptSection
- EndPrompt=EndPromptSection
- CustomDestination=UninstallDestination
- DelFiles=AppFiles, HelpFiles
- Deldirs=RemoveFolder
- DelReg=DelRegSection
- UpdateInis=RemoveLink
- Cleanup=1
-
- [RemoveLink]
- setup.ini, progman.groups,, "MSACE="
- setup.ini, MSACE,, """%AppName%"""
-
- [UninstallDestination]
- 49009,49010,49011,49012 = CustomLDIDR49011,5
-
- ;this is used to remove the ace
- [CustomLDIDR49011]
- HKLM,"SOFTWARE\Microsoft\Microsoft Agent","ACEDir",,
-
- [AppFiles]
- ace.exe
-
- [InfFiles]
- aceinst.inf
-
- [HelpFiles]
- Ace.hlp
- Ace.cnt
-
- [RemoveFolder]
- %49011%
-
- [AppReg]
- HKCR,.aaf,,,Agent.Character
- HKCR,.acf,,,Agent.Character
- HKCR,.acs,,,Agent.Character
- HKCR,.acd,,,Agent.Editor
- HKCR,Agent.Character,,2,"Microsoft Agent Character File"
- HKCR,Agent.Character\DefaultIcon,,2,"%49011%\Ace.exe,-153"
- HKCR,Agent.Editor,,,"Microsoft Agent Character Definition"
- HKCR,Agent.Editor\DefaultIcon,,,"%49011%\Ace.exe,-136"
- HKCR,Agent.Editor\Shell,,,"open, edit"
- HKCR,Agent.Editor\Shell\edit,,,"&Edit"
- HKCR,Agent.Editor\Shell\edit\command,,,"notepad %1"
- HKCR,Agent.Editor\Shell\open,,,
- HKCR,Agent.Editor\Shell\open\command,,,"%49011%\%EXENAME% %1"
- HKLM,"SOFTWARE\Microsoft\Microsoft Agent","ACEDir",,%49010%
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AgentCharEd,"DisplayName",,%AppName%
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AgentCharEd,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\aceinst.inf, Uninstall"
-
- [DelRegSection]
- HKCR,.acd
- HKCR,Agent.Editor
- HKCU,"Software\Microsoft\Microsoft Agent\Tools","Character Editor"
- HKLM,"SOFTWARE\Microsoft\Microsoft Agent","ACEDir"
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AgentCharEd
-
- [BeginPromptSection]
- Prompt=%BeginPrompt%
- ButtonType=YESNO
- Title=%AppName%
-
- [EndPromptSection]
- Prompt=%EndPrompt%
-
- [Strings]
- AppName="Microsoft Agent Character Editor"
- ADVPKPRMPT = "The correct version of Advpack.dll was not found, installation halted."
- IEPRMPT = "You need to have Microsoft Internet Explorer version 3.0 or later, installation halted."
- INSTPRMPT = "Where would you like to install the Microsoft Agent Character Editor?"
- BeginPrompt="Are you sure you want to remove the Microsoft Agent Character Editor?"
- EndPrompt="The Microsoft Agent Character Editor was successfully removed."
- AskInstall = "Where would you like to install the Character Editor and future Microsoft Agent components?"
- TellInstall = "Setup has detected Microsoft Agent components in the directory below. It is strongly recommended that you not change this path."
- PROGRAMF="Program Files"
- TOOLSDIR="Tools"
- MSAGENT="Microsoft Agent"
- EXENAME="Ace.exe"
-