Browse Source

SAPI: Register the eSpeakNG.TtsEngine COM object.

master
Reece H. Dunn 9 years ago
parent
commit
188bf9e498
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      src/windows/installer/Product.wxs

+ 8
- 0
src/windows/installer/Product.wxs View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?define ProductName = "eSpeak NG Text-to-Speech" ?>
<?define CLSID_TtsEngine = "{61D23633-CE59-4101-8158-569FC6B51B49}" ?>
<?if $(var.Platform) = x64 ?>
<?define ProductDisplayName = "$(var.ProductName) 64-bit" ?>
<?define Win64 = "yes" ?>
@@ -127,6 +128,13 @@
<RegistryKey Root="HKLM" Key="SOFTWARE\eSpeak NG">
<RegistryValue Name="Path" Type="string" Value="[INSTALLDIR]"/>
</RegistryKey>
<RegistryKey Root="HKLM" Key="Software\Classes\CLSID\$(var.CLSID_TtsEngine)">
<RegistryValue Type="string" Value="eSpeakNG.TtsEngine"/>
<RegistryKey Key="InprocServer32">
<RegistryValue Type="string" Value="[INSTALLDIR]$(var.libespeak-ng.TargetFileName)"/>
<RegistryValue Name="ThreadingModel" Type="string" Value="Both"/>
</RegistryKey>
</RegistryKey>
</Component>
<Directory Id="ESPEAKDATA" Name="espeak-data">
<Component Id="phontab" Win64="$(var.Win64)" Guid="2F487F52-B95A-4894-AA14-F542865F05F8">

Loading…
Cancel
Save