Windows: add install directory to the Path environment variable
authorBruce Cran <bcran@fusionio.com>
Sun, 2 Mar 2014 00:05:03 +0000 (17:05 -0700)
committerJens Axboe <axboe@fb.com>
Sun, 2 Mar 2014 20:54:55 +0000 (12:54 -0800)
Signed-off-by: Jens Axboe <axboe@fb.com>
os/windows/install.wxs

index fd380414581c8461d836140f01fd53b6bf3b0ea4..fc853d3b67e5c73db202d84d0939226880c73e8f 100755 (executable)
@@ -25,6 +25,7 @@
                                        <Directory Id="fio" Name="fio">
                                                <Component>
                                                        <File Source="..\..\fio.exe"/>
+                                                       <Environment Action="set" Part="last" Id="PATH" Name="PATH" Value="[INSTALLDIR]fio\" System="yes"/>
                                                </Component>
                                                <Component>
                                                        <File Id="README" Name="README.txt" Source="..\..\README"/>