Add tests from t/ to the Windows installer
[fio.git] / os / windows / install.wxs
1 <?xml version="1.0" encoding="utf-8"?>
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3
4         <?if $(sys.BUILDARCH) = x86 ?>
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"
13           UpgradeCode="2338A332-5511-43CF-B9BD-5C60496CCFCC" Version="$(var.FioVersionNumbers)">
14                 <Package
15                   Description="Flexible I/O Tester"
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"/>
28                                                         <Environment Action="set" Part="last" Id="PATH" Name="PATH" Value="[INSTALLDIR]fio\" System="yes"/>
29                                                 </Component>
30                                                 <Component>
31                                                         <File Id="README" Name="README.txt" Source="..\..\README"/>
32                                                 </Component>
33                                                 <Component>
34                                                         <File Id="REPORTING_BUGS" Name="REPORTING-BUGS.txt" Source="..\..\REPORTING-BUGS"/>
35                                                 </Component>
36                                                 <Component>
37                                                         <File Id="HOWTO" Name="HOWTO.txt" Source="..\..\HOWTO"/>
38                                                 </Component>
39                                                 <Component>
40                                                         <File Id="COPYING" Name="COPYING.txt" Source="..\..\COPYING"/>
41                                                 </Component>
42                                                 <Component>
43                                                         <File Id="MORAL_LICENSE" Name="MORAL-LICENSE.txt" Source="..\..\MORAL-LICENSE"/>
44                                                 </Component>
45                                                 <Directory Id="examples" Name="examples"/>
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>
72                                         </Directory>
73                                 </Directory>
74                         </Directory>
75         </Directory>
76
77         <Feature Id="AlwaysInstall" Absent="disallow" ConfigurableDirectory="INSTALLDIR" Display="hidden" Level="1" Title="Flexible I/O Tester">
78                 <ComponentRef Id="fio.exe"/>
79                 <ComponentRef Id="HOWTO"/>
80                 <ComponentRef Id="README"/>
81                 <ComponentRef Id="REPORTING_BUGS"/>
82                 <ComponentRef Id="COPYING"/>
83                 <ComponentRef Id="MORAL_LICENSE"/>
84                 <ComponentGroupRef Id="examples"/>
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"/>
93         </Feature>
94
95         <Property Id="ARPURLINFOABOUT" Value="http://git.kernel.dk/cgit/fio/" />
96         <Property Id='ARPCONTACT'>fio@vger.kernel.org</Property>
97         <Property Id='ARPHELPLINK'>http://www.spinics.net/lists/fio/</Property>
98         <Property Id='ARPURLUPDATEINFO'>https://bluestop.org/fio/</Property>
99
100         <WixVariable Id="WixUILicenseRtf" Value="eula.rtf" />
101
102         <UIRef Id="WixUI_Minimal"/>
103
104         <MajorUpgrade AllowDowngrades="no" DowngradeErrorMessage="A newer version of the application is already installed."
105                   AllowSameVersionUpgrades="yes"/>
106 </Product>
107 </Wix>