23 lines
984 B
Plaintext
23 lines
984 B
Plaintext
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||
|
<Fragment>
|
||
|
|
||
|
<DirectoryRef Id="INSTALLDIR">
|
||
|
<!-- Create a subdirectory for the console binary so that we can add it to PATH -->
|
||
|
<Directory Id="BinDir" Name="bin">
|
||
|
<Component Id="CliBinary" Guid="b6358c8e-504f-41fd-b14b-38af821dcd04">
|
||
|
<!-- Same name as the main executable, so that it can be invoked as just "creddy" -->
|
||
|
<File Id="Bin_Cli" Source="..\..\creddy_cli.exe" Name="creddy.exe" KeyPath="yes"/>
|
||
|
</Component>
|
||
|
</Directory>
|
||
|
</DirectoryRef>
|
||
|
|
||
|
<DirectoryRef Id="TARGETDIR">
|
||
|
<Component Id="AddToPath" Guid="b5fdaf7e-94f2-4aad-9144-aa3a8edfa675">
|
||
|
<Environment Id="CreddyInstallDir" Action="set" Name="PATH" Part="last" Permanent="no" Value="[BinDir]" />
|
||
|
</Component>
|
||
|
</DirectoryRef>
|
||
|
|
||
|
</Fragment>
|
||
|
</Wix>
|