home *** CD-ROM | disk | FTP | other *** search
/ PC go! 1999 February / PCGO_2.ISO / PROGRAMM / MS / MSDCTX86.EXE / MSDApp.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1997-04-14  |  3.4 KB  |  131 lines

  1. [Version]
  2. Signature="$Chicago$"
  3. AdvancedINF=2.5,"You need a new version of advpack.dll"
  4.  
  5. [SourceDisksNames]
  6. 1=%AppName%,,1
  7.  
  8. [DefaultInstall]
  9. Copyfiles=DictAppFiles,InfSection
  10. AddReg=DictAppReg
  11. CustomDestination=MyCustomDestination
  12. UpdateInis=AddLink
  13. ; IMPORTANT: comment the next line out to not install other components
  14. RunPostSetupCommands=RunPostSetupCommandsSection
  15.  
  16. [DefaultInstall.NT]
  17. Copyfiles=DictAppFiles,InfSection
  18. AddReg=DictAppReg
  19. CustomDestination=MyCustomDestination
  20. UpdateInis=AddLinkNT
  21. ; IMPORTANT: comment the next line out to not install other components
  22. RunPostSetupCommands=RunPostSetupCommandsSection
  23.  
  24. [RunPostSetupCommandsSection]
  25. mslex.exe /R:N
  26. msdct.exe /R:N
  27. spchapi.exe /R:N
  28.  
  29. [Uninstall]
  30. BeginPrompt=BeginPromptSection
  31. EndPrompt=EndPromptSection
  32. CustomDestination=UninstallDestination
  33. DelFiles=DictAppFiles,GeneratedFiles
  34. Deldirs=RemoveFolder
  35. DelReg=DelRegSection
  36. UpdateInis=RemoveLink
  37. SmartReboot=I
  38. Cleanup=1
  39.  
  40. [AddLinkNT]
  41. setup.ini, progman.groups,, "MSDict="
  42. setup.ini, MSDict,, """%MSDict_LINK%"", """"""%49002%\MSDict.Exe"""""""
  43.  
  44. [AddLink]
  45. setup.ini, progman.groups,, "MSDict="
  46. setup.ini, MSDict,, """%MSDict_LINK%"", ""%49002%\MSDict.Exe"""
  47.  
  48. [RemoveLink]
  49. setup.ini, progman.groups,, "MSDict="
  50. setup.ini, MSDict,, """%MSDict_LINK%"""
  51.  
  52. [DestinationDirs]
  53. DictAppFiles=49000
  54. GeneratedFiles=49000
  55. InfSection=17
  56. LinkSection=25,desktop
  57.  
  58. [MyCustomDestination]
  59. 49000,49001,49002,49003=PackageDestination49000,1
  60.  
  61. [UninstallDestination]
  62. 49000=UninstallDestination49000,5
  63.  
  64. [PackageDestination49000]
  65. HKLM,Software\Microsoft\MSDictation,InstallDir,%InstallPrompt%,%DefaultDir%
  66. HKLM,Software\Microsoft\MSDictation,InstallDir,%InstallPrompt%,%DefaultDir%
  67.  
  68. [UninstallDestination49000]
  69. HKLM,Software\Microsoft\MSDictation,InstallDir,%InstallPrompt%,%DefaultDir%
  70.  
  71. [DictAppFiles]
  72. msdict.exe
  73. DictHook.dll
  74. msdict.cnt
  75. msdict.hlp
  76. msdict.key
  77. ;msconv97.dll
  78. ;mswrd632.cnv
  79. ;mswrd832.cnv
  80. ;works332.cnv
  81. ;works432.cnv
  82.  
  83. [GeneratedFiles]
  84. msdict.gid
  85.  
  86. [InfSection]
  87. MSDApp.inf
  88.  
  89. [RemoveFolder]
  90. %49000%
  91.  
  92.  
  93. [DictAppReg]
  94. ; so can create file from explorer
  95. HKCR,.msd,,, MSDictation.1
  96. HKCR,.msd\MSDictation.1\ShellNew,NullFile
  97. HKCR,MSDictation.1,,,Microsoft Dictation Document
  98. HKCR,MSDictation.1\DefaultIcon,,,"%49000%\MSDict.exe,1"
  99. HKCR,MSDictation.1\protocol\StdFileEditing\Server,,,"%49000%\MSDict.exe"
  100. HKCR,MSDictation.1\shell\open\command,,,"""%49000%\MSDict.exe"" %1"
  101.  
  102. ; for uninstall
  103. HKLM,Software\Microsoft\MSDict,InstallDir,,"%49001%"
  104. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\MSDict,"DisplayName",,"%AppName%
  105. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\MSDict,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\MSDApp.inf, Uninstall"
  106.  
  107. [DelRegSection]
  108. HKCU,Software\Microsoft\MSDictation
  109. HKCR,.msd
  110. HKCR,MSDictation.1
  111.  
  112. ; uninstall
  113. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\MSDict
  114. HKLM,Software\Microsoft\MSDict,InstallDir
  115.  
  116. [BeginPromptSection]
  117. Prompt=%BeginPrompt%
  118. ButtonType=YESNO
  119. Title=%AppName%
  120.  
  121. [EndPromptSection]
  122. Prompt=%EndPrompt%
  123.  
  124. [Strings]
  125. AppName="Microsoft Dictation (Research Demonstration)"
  126. InstallPrompt="Where would you like to install Microsoft Dictation?"
  127. BeginPrompt="Are you sure you want to remove Microsoft Dictation?"
  128. EndPrompt="Microsoft Dictation was successfully removed."
  129. DefaultDir="c:\Program Files\Microsoft Dictation"
  130. MSDict_LINK="Microsoft Dictation"
  131.