Skip to content

Commit 1e6264b

Browse files
committed
Modify installer to add client to PATH
1 parent 7b28cbd commit 1e6264b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

CliNetliteInstaller/Product.wxs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<Fragment>
2323
<Directory Id="TARGETDIR" Name="SourceDir">
2424
<Directory Id="ProgramFilesFolder">
25-
<Directory Id="INSTALLFOLDER" Name="CliNetlite" />
25+
<Directory Id="INSTALLFOLDER" Name="CliNetlite"/>
2626
</Directory>
2727
</Directory>
2828
</Fragment>
@@ -47,10 +47,14 @@
4747
<Component Id="NDesk.Options.dll">
4848
<File Id="NDesk.Options.dll" Source="..\ClientLib\bin\Debug\NDesk.Options.dll" KeyPath="yes" Checksum="yes"/>
4949
</Component>
50+
<Component Id="SetEnvPath"
51+
Guid="{016cb18d-0357-425b-90a8-caf1826ddee6}">
52+
<CreateFolder />
53+
<Environment Id="PATH" Name="PATH" Value="[INSTALLFOLDER]" Permanent="no" Part="last" Action="set" System="yes" />
54+
</Component>
5055
</ComponentGroup>
5156
</Fragment>
52-
53-
57+
5458
<Fragment>
5559
<Feature Id="MainApplication" Title="Main Application" Level="1">
5660
<ComponentRef Id="ClientLib.dll" />

0 commit comments

Comments
 (0)