Add tests from t/ to the Windows installer
[fio.git] / os / windows / install.wxs
CommitLineData
35922a21
BC
1<?xml version="1.0" encoding="utf-8"?>
2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3
3a62cbac 4 <?if $(sys.BUILDARCH) = x86 ?>
35922a21
BC
5 <?define ProgramDirectory = ProgramFilesFolder ?>
6 <?else?>
7 <?define ProgramDirectory = ProgramFiles64Folder ?>
8 <?endif?>
9
10 <Product Id="*"
11 Codepage="1252" Language="1033"
12 Manufacturer="fio" Name="fio"
3a62cbac 13 UpgradeCode="2338A332-5511-43CF-B9BD-5C60496CCFCC" Version="$(var.FioVersionNumbers)">
35922a21 14 <Package
3a62cbac 15 Description="Flexible I/O Tester"
35922a21
BC
16 InstallerVersion="301" Keywords="Installer,MSI,Database"
17 Languages="1033" Manufacturer="fio"
18 InstallScope="perMachine" InstallPrivileges="elevated" Compressed="yes"/>
19
20 <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" CompressionLevel="high"/>
21
22 <Directory Id="TARGETDIR" Name="SourceDir">
23 <Directory Id="$(var.ProgramDirectory)">
24 <Directory Id="INSTALLDIR">
25 <Directory Id="fio" Name="fio">
26 <Component>
27 <File Source="..\..\fio.exe"/>
30ba7222 28 <Environment Action="set" Part="last" Id="PATH" Name="PATH" Value="[INSTALLDIR]fio\" System="yes"/>
35922a21 29 </Component>
35922a21 30 <Component>
cc8350ab 31 <File Id="README" Name="README.txt" Source="..\..\README"/>
35922a21
BC
32 </Component>
33 <Component>
cc8350ab 34 <File Id="REPORTING_BUGS" Name="REPORTING-BUGS.txt" Source="..\..\REPORTING-BUGS"/>
35922a21
BC
35 </Component>
36 <Component>
cc8350ab 37 <File Id="HOWTO" Name="HOWTO.txt" Source="..\..\HOWTO"/>
35922a21
BC
38 </Component>
39 <Component>
cc8350ab
BC
40 <File Id="COPYING" Name="COPYING.txt" Source="..\..\COPYING"/>
41 </Component>
42 <Component>
188ee570 43 <File Id="MORAL_LICENSE" Name="MORAL-LICENSE.txt" Source="..\..\MORAL-LICENSE"/>
35922a21
BC
44 </Component>
45 <Directory Id="examples" Name="examples"/>
c1f6f32e
RC
46 <Directory Id="tests" Name="tests">
47 <Component>
48 <File Source="../../t/fio-genzipf.exe"/>
49 </Component>
50 <Component>
51 <File Source="../../t/fio-dedupe.exe"/>
52 </Component>
53 <Component>
54 <File Source="../../t/stest.exe"/>
55 </Component>
56 <Component>
57 <File Source="../../t/ieee754.exe"/>
58 </Component>
59 <Component>
60 <File Source="../../t/axmap.exe"/>
61 </Component>
62 <Component>
63 <File Source="../../t/lfsr-test.exe"/>
64 </Component>
65 <Component>
66 <File Source="../../t/gen-rand.exe"/>
67 </Component>
68 <Component>
69 <File Source="../../t/fio-verify-state.exe"/>
70 </Component>
71 </Directory>
35922a21
BC
72 </Directory>
73 </Directory>
74 </Directory>
75 </Directory>
76
3a62cbac 77 <Feature Id="AlwaysInstall" Absent="disallow" ConfigurableDirectory="INSTALLDIR" Display="hidden" Level="1" Title="Flexible I/O Tester">
35922a21 78 <ComponentRef Id="fio.exe"/>
35922a21
BC
79 <ComponentRef Id="HOWTO"/>
80 <ComponentRef Id="README"/>
81 <ComponentRef Id="REPORTING_BUGS"/>
82 <ComponentRef Id="COPYING"/>
188ee570 83 <ComponentRef Id="MORAL_LICENSE"/>
35922a21 84 <ComponentGroupRef Id="examples"/>
c1f6f32e
RC
85 <ComponentRef Id="fio_genzipf.exe"/>
86 <ComponentRef Id="fio_dedupe.exe"/>
87 <ComponentRef Id="stest.exe"/>
88 <ComponentRef Id="ieee754.exe"/>
89 <ComponentRef Id="axmap.exe"/>
90 <ComponentRef Id="lfsr_test.exe"/>
91 <ComponentRef Id="gen_rand.exe"/>
92 <ComponentRef Id="fio_verify_state.exe"/>
35922a21
BC
93 </Feature>
94
c6b80f7e 95 <Property Id="ARPURLINFOABOUT" Value="http://git.kernel.dk/cgit/fio/" />
35922a21
BC
96 <Property Id='ARPCONTACT'>fio@vger.kernel.org</Property>
97 <Property Id='ARPHELPLINK'>http://www.spinics.net/lists/fio/</Property>
1ef09871 98 <Property Id='ARPURLUPDATEINFO'>https://bluestop.org/fio/</Property>
35922a21
BC
99
100 <WixVariable Id="WixUILicenseRtf" Value="eula.rtf" />
101
102 <UIRef Id="WixUI_Minimal"/>
103
9f873e2e
BC
104 <MajorUpgrade AllowDowngrades="no" DowngradeErrorMessage="A newer version of the application is already installed."
105 AllowSameVersionUpgrades="yes"/>
35922a21
BC
106</Product>
107</Wix>