Browse Source

windows: add installation directory to path

fixes #700
master
Alexander Epaneshnikov 3 years ago
parent
commit
4b7b4866af
No account linked to committer's email address
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      src/windows/installer/Product.wxs

+ 5
- 1
src/windows/installer/Product.wxs View File

</RegistryKey> </RegistryKey>
</RegistryKey> </RegistryKey>
</Component> </Component>
<Component Id="AddToEnv" Guid="EBBBAC5D-22BA-41EB-A30A-EF1A04FEBA08" KeyPath="yes">
<Environment Id="PATH" Name="PATH" Value="[INSTALLDIR]" Permanent="yes" Part="last" Action="set" System="yes"/>
</Component>
<Directory Id="espeak_ng_data" Name="espeak-ng-data"> <Directory Id="espeak_ng_data" Name="espeak-ng-data">
<Component Id="af_dict" Guid="96E3E35D-F41E-4BD7-BEDD-AA063E8CD2D3"> <Component Id="af_dict" Guid="96E3E35D-F41E-4BD7-BEDD-AA063E8CD2D3">
<File Id="af_dict" KeyPath="yes" Source="$(var.ProjectDir)\..\..\..\espeak-ng-data\af_dict" />
<File Id="af_dict" KeyPath="yes" Source="$(var.ProjectDir)\..\..\..\espeak-ng-data\af_dict " />
</Component> </Component>
<Component Id="am_dict" Guid="D213585E-DE66-452E-90D6-44B73F7AD2C6"> <Component Id="am_dict" Guid="D213585E-DE66-452E-90D6-44B73F7AD2C6">
<File Id="am_dict" KeyPath="yes" Source="$(var.ProjectDir)\..\..\..\espeak-ng-data\am_dict" /> <File Id="am_dict" KeyPath="yes" Source="$(var.ProjectDir)\..\..\..\espeak-ng-data\am_dict" />
<ComponentGroup Id="CoreComponents"> <ComponentGroup Id="CoreComponents">
<ComponentRef Id="espeak_ng_EXE"/> <ComponentRef Id="espeak_ng_EXE"/>
<ComponentRef Id="libespeak_ng_DLL"/> <ComponentRef Id="libespeak_ng_DLL"/>
<ComponentRef Id="AddToEnv"/>
</ComponentGroup> </ComponentGroup>
<ComponentGroup Id="Data"> <ComponentGroup Id="Data">
<ComponentRef Id="af_dict" /> <ComponentRef Id="af_dict" />

Loading…
Cancel
Save