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.

81 lines
1.9 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. Copyfiles=MSCSRFiles,InfSection
  9. AddReg=MSCSRReg
  10. RegisterOCXs=RegisterFilesSection
  11. RunPostSetupCommands=RunPostSetupCommandsSection
  12. [Uninstall]
  13. BeginPrompt=BeginPromptSection
  14. EndPrompt=EndPromptSection
  15. CustomDestination=UninstallDestination
  16. DelFiles=MSCSRFiles
  17. Deldirs=RemoveFolder
  18. DelReg=DelRegSection
  19. SmartReboot=I
  20. Cleanup=1
  21. UnRegisterOCXs=UnRegisterFilesSection
  22. [RunPostSetupCommandsSection]
  23. srd1033.exe /R:N /Q
  24. [MyCustomDestination]
  25. 49010=ProgramFilesDestination,21
  26. 49000,49001,49002,49003=PackageDestination,1
  27. [UninstallDestination]
  28. 49010=ProgramFilesDestination,5
  29. 49000,49001,49002,49003=PackageDestination,5
  30. [RegisterFilesSection]
  31. %49000%\spsreng.dll
  32. %49000%\spsrx.dll
  33. [UnRegisterFilesSection]
  34. %49000%\spsreng.dll
  35. %49000%\spsrx.dll
  36. [ProgramFilesDestination]
  37. HKLM,software\microsoft\windows\currentversion,CommonFilesDir,"%InstallPrompt%","C:\Program Files\Common Files"
  38. [PackageDestination]
  39. HKLM,Software\Microsoft\MSCSR,InstallDir,"%InstallPrompt%","%49010%\%DefaultDir%"
  40. [DestinationDirs]
  41. MSCSRFiles=49000
  42. InfSection=17
  43. [MSCSRFiles]
  44. spsreng.DLL
  45. spsrx.DLL
  46. [InfSection]
  47. mscsr5q.inf
  48. [RemoveFolder]
  49. %49000%
  50. [MSCSRReg]
  51. ; for uninstall
  52. HKLM,Software\Microsoft\MSCSR5,InstallDir,,"%49000%"
  53. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\MSCSR5,"DisplayName",,"%AppName%
  54. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\MSCSR5,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\mscsr5q.inf, Uninstall"
  55. [DelRegSection]
  56. ; Uninstall of CSR Engine
  57. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\MSCSR5
  58. HKLM,Software\Microsoft\MSCSR5
  59. [Strings]
  60. AppName="Microsoft Speech Recognition Engine 5.0"
  61. InstallPrompt="Where would you like to install the Microsoft Speech Recognition Engine?"
  62. BeginPrompt=
  63. EndPrompt=
  64. DefaultDir="Microsoft Shared\SpeechEngines\MSCSR"