Windows: add install directory to the Path environment variable
[fio.git] / os / windows / install.wxs
index 599fe39d21d26926cf3f681daa211a01e15fd939..fc853d3b67e5c73db202d84d0939226880c73e8f 100755 (executable)
@@ -10,7 +10,7 @@
        <Product Id="*"
          Codepage="1252" Language="1033"
          Manufacturer="fio" Name="fio"
-         UpgradeCode="2338A332-5511-43CF-B9BD-5C60496CCFCC" Version="2.1.4">
+         UpgradeCode="2338A332-5511-43CF-B9BD-5C60496CCFCC" Version="2.1.5">
                <Package
                  Description="Flexible IO Tester"
                  InstallerVersion="301" Keywords="Installer,MSI,Database"
@@ -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"/>