You can redistribute the SAPI 5.1 core components as Microsoft Windows Installer merge modules (known as .msm files). You must include these merge modules in the program's setup. To do this, create a Microsoft Installer (.msi) file that consumes the merge modules and handles the actual installation process. The Setup.exe program runs the .msi file.
The combined size of all the SAPI 5.1 redistributable .msm files is 131.58 megabytes (MB). These files provide both speech recognition (SR) and Text-to-speech (TTS) support for English and Simplified Chinese and only speech recognition for Japanese.
This article explains the minimum file requirements to support speech applications if you do not want to redistribute all of these files. Your reasons might include:
- The program only supports one language and is not designed to include .msm files for other languages.
- The program supports only TTS and is not designed to include the .msm files for SR.
Where do I get the .msm files?To download Microsoft Speech SDK 5.1, visit the following Microsoft Developer Network (MSDN) Web site:
The download process creates three folders that contain the following .msm files:
- The 1033 (English) folder contains .msm files for English TTS and SR.
- The 1041 (Japanese) folder contains .msm files for Japanese SR.
- The 2052 (Simplified Chinese) folder contains .msm files for Simplified Chinese TTS and SR.
Which .msm files do I need for TTS applications?The following files are required for TTS applications:
- English TTS support requires that the .msi file include the following files from the 1033 folder:
- Simplified Chinese TTS support requires that the .msi file include the following files from the 2052 folder:
- If you want to provide the Mike and Mary voice (for English TTS applications) on Windows XP, you must include the Sp5ttintxp.msm file.The following file is available for download from the Microsoft Download Center:
Download the Microsoft Speech SDK 5.1 package now.For more information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:119591 How to obtain Microsoft support files from online servicesMicrosoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
Which .msm files do I need for SR applications?To support SR applications, the .msi file must include the following files from the corresponding language folder:
How do I create an .msi file?These steps use English TTS to create an .msi file.
- Start the Microsoft Visual Studio Installer, which is available for download from the following MSDN Web site:Note You can also use third-party tools (for example, InstallShield) to author your setup.
- In the New Project dialog box, click to expand the Visual Studio folder (if it is not already expanded), click the Visual Studio Installer Projects folder, and then click Empty Installer.
- In the Name box, type the name of your project (for example, EmptyInstaller1), and then click Open.
- In the Project Explorer pane, under the workspace EmptyInstaller1, right-click Files, click Add, and then click Merge module(s).
- Browse and add the following files from the 1033 folder:
- Build the project, save the project, and then exit the program.
- To install the SAPI English TTS component on the client computer, locate the Emptyinstaller1.msi file in the C:\EmptyInstaller1\Output\disk_1 folder, and then run the Emptyinstaller1.msi file on the client computer.
ID do Artigo: 320207 - Última Revisão: 2 de jun de 2009 - Revisão: 1