Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

145 lines
4.6 KiB

  1. [Version]
  2. Signature="$Chicago$"
  3. AdvancedINF=2.5,"You need a new version of advpack.dll"
  4. [SourceDisksNames]
  5. 1=%AppName%,,1
  6. [DefaultInstall]
  7. CustomDestination=MyCustomDestination
  8. DelFiles=OldFiles
  9. Copyfiles=MSCSRFiles,InfSection
  10. AddReg=MSCSRReg,amengDelLong
  11. RunPostSetupCommands=RunPostSetupCommandsSection
  12. [DefaultInstall.NT]
  13. CustomDestination=MyCustomDestination
  14. DelFiles=OldFiles.NT
  15. Copyfiles=MSCSRFiles.NT,InfSection
  16. AddReg=MSCSRReg.NT
  17. RunPostSetupCommands=RunPostSetupCommandsSection
  18. [MyCustomDestination]
  19. 49010=ProgramFilesDestination,21
  20. 49000,49001,49002,49003=PackageDestination,1
  21. [UninstallDestination]
  22. 49010=ProgramFilesDestination,5
  23. 49000,49001,49002,49003=PackageDestination,5
  24. [ProgramFilesDestination]
  25. HKLM,software\microsoft\windows\currentversion,CommonFilesDir,"%InstallPrompt%","C:\Program Files\Common Files"
  26. [PackageDestination]
  27. HKLM,Software\Microsoft\MSCSR,InstallDir,"%InstallPrompt%","%49010%\%DefaultDir%"
  28. [Uninstall]
  29. BeginPrompt=BeginPromptSection
  30. EndPrompt=EndPromptSection
  31. CustomDestination=UninstallDestination
  32. DelFiles=MSCSRFiles,TempFiles
  33. Deldirs=RemoveFolder
  34. DelReg=DelRegSection
  35. SmartReboot=I
  36. Cleanup=1
  37. [Uninstall.NT]
  38. BeginPrompt=BeginPromptSection
  39. EndPrompt=EndPromptSection
  40. CustomDestination=UninstallDestination
  41. DelFiles=MSCSRFiles.NT,TempFiles
  42. Deldirs=RemoveFolder
  43. DelReg=DelRegSection
  44. SmartReboot=I
  45. Cleanup=1
  46. [RunPostSetupCommandsSection]
  47. srd1033.exe /R:N
  48. [DestinationDirs]
  49. MSCSRFiles=49000
  50. MSCSRFiles.NT=49000
  51. TempFiles=49000
  52. InfSection=17
  53. OldFiles=49000
  54. OldFiles.NT=49000
  55. [TempFiles]
  56. l1033.spk
  57. [OldFiles]
  58. amengpc.mod
  59. amengph.mod
  60. [OldFiles.NT]
  61. amengpc.mod
  62. amengph.mod
  63. mscsr-60k-3000.tre
  64. mscsr-60k-3000.dlm
  65. mscsr-60k-3000.ngr
  66. mscsr-60k-3000.phn
  67. mscsr-60k-3000.smp
  68. mscsr-60k-3000.cw
  69. [MSCSRFiles]
  70. CWFE.DLL
  71. MSCDE.DLL
  72. MSASR.DLL
  73. [MSCSRFiles.NT]
  74. "cwfe.dll", CWFE.DLL
  75. "mscde.dll", MSCDE.DLL
  76. "msasr.dll", MSASR.DLL
  77. [InfSection]
  78. mscsr4.inf
  79. [RemoveFolder]
  80. %49000%
  81. [MSCSRReg]
  82. HKLM,Software\Voice\SpeechRecognition\Engine,"Microsoft Continuous Dictation Engine",,{05DAC074-335F-11d0-9D1B-00AA00614EE1}
  83. HKCR,CLSID\{05DAC074-335F-11d0-9D1B-00AA00614EE1},,,"Microsoft Continuous Dictation Engine"
  84. HKCR,CLSID\{05DAC074-335F-11d0-9D1B-00AA00614EE1}\InprocServer32,,,"%49000%\mscde.dll"
  85. HKCR,CLSID\{05DAC074-335F-11d0-9D1B-00AA00614EE1}\InprocServer32,ThreadingModel,,Apartment
  86. ; for uninstall
  87. HKLM,Software\Microsoft\MSCSR,InstallDir,,"%49000%"
  88. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\MSCSR,"DisplayName",,"%AppName%
  89. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\MSCSR,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\mscsr4.inf, Uninstall"
  90. [MSCSRReg.NT]
  91. HKLM,Software\Voice\SpeechRecognition\Engine,"Microsoft Continuous Dictation Engine",,{05DAC074-335F-11d0-9D1B-00AA00614EE1}
  92. HKCR,CLSID\{05DAC074-335F-11d0-9D1B-00AA00614EE1},,,"Microsoft Continuous Dictation Engine"
  93. HKCR,CLSID\{05DAC074-335F-11d0-9D1B-00AA00614EE1}\InprocServer32,,,"%49000%\mscde.dll"
  94. HKCR,CLSID\{05DAC074-335F-11d0-9D1B-00AA00614EE1}\InprocServer32,ThreadingModel,,Apartment
  95. ; for uninstall
  96. HKLM,Software\Microsoft\MSCSR,InstallDir,,"%49000%"
  97. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\MSCSR,"DisplayName",,"%AppName%
  98. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\MSCSR,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\mscsr4.inf, Uninstall.NT"
  99. [amengDelLong]
  100. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\mscsr,,,"%49000%"
  101. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\mscsr,MSCSR.CW,, "mscsr-60k-3000.cw"
  102. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\mscsr,MSCSR.DLM,, "mscsr-60k-3000.dlm"
  103. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\mscsr,MSCSR.NGR,, "mscsr-60k-3000.ngr"
  104. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\mscsr,MSCSR.PHN,, "mscsr-60k-3000.phn"
  105. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\mscsr,MSCSR.SMP,, "mscsr-60k-3000.smp"
  106. HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\mscsr,MSCSR.TRE,, "mscsr-60k-3000.tre"
  107. [DelRegSection]
  108. ; CSR Engine
  109. HKCU,Software\Microsoft\MSCSR
  110. HKLM,Software\Voice\SpeechRecognition\Engine,"Microsoft Continuous Speech Recognizer"
  111. HKCR,CLSID\{05DAC074-335F-11d0-9D1B-00AA00614EE1}
  112. ; Uninstall of CSR Engine
  113. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\MSCSR
  114. HKLM,Software\Microsoft\MSCSR
  115. HKLM,Software\Voice\SpeechRecognition\Engine\{05DAC074-335F-11d0-9D1B-00AA00614EE1}
  116. [Strings]
  117. AppName="Microsoft Speech Recognition Engine 4.0"
  118. InstallPrompt="Where would you like to install the Microsoft Speech Recognition Engine?"
  119. BeginPrompt=
  120. EndPrompt=
  121. DefaultDir="Microsoft Shared\SpeechEngines\MSCSR"