Fix Windows installer build: LICENSE is now MORAL-LICENSE
[fio.git] / os / windows / install.wxs
index fd380414581c8461d836140f01fd53b6bf3b0ea4..f392606730cfc0f4148046642d852601ceb11d65 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.5">
+         UpgradeCode="2338A332-5511-43CF-B9BD-5C60496CCFCC" Version="2.2.7">
                <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"/>
@@ -39,7 +40,7 @@
                                                        <File Id="COPYING" Name="COPYING.txt" Source="..\..\COPYING"/>
                                                </Component>
                                                <Component>
-                                                       <File Id="LICENSE" Name="LICENSE.txt" Source="..\..\LICENSE"/>
+                                                       <File Id="MORAL_LICENSE" Name="MORAL-LICENSE.txt" Source="..\..\MORAL-LICENSE"/>
                                                </Component>
                                                <Directory Id="examples" Name="examples"/>
                                        </Directory>
@@ -53,7 +54,7 @@
                <ComponentRef Id="README"/>
                <ComponentRef Id="REPORTING_BUGS"/>
                <ComponentRef Id="COPYING"/>
-               <ComponentRef Id="LICENSE"/>
+               <ComponentRef Id="MORAL_LICENSE"/>
                <ComponentGroupRef Id="examples"/>
        </Feature>