Merge branch 'regrow_agg_logs' of https://github.com/pmoust/fio
[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>
76bc30ca
SW
30 <?if $(var.FioPDB) = true?>
31 <Component>
32 <File Id="fio.pdb" Name="fio.pdb" Source="..\..\fio.pdb"/>
33 </Component>
34 <?endif?>
35922a21 35 <Component>
cc8350ab 36 <File Id="README" Name="README.txt" Source="..\..\README"/>
35922a21
BC
37 </Component>
38 <Component>
cc8350ab 39 <File Id="REPORTING_BUGS" Name="REPORTING-BUGS.txt" Source="..\..\REPORTING-BUGS"/>
35922a21
BC
40 </Component>
41 <Component>
cc8350ab 42 <File Id="HOWTO" Name="HOWTO.txt" Source="..\..\HOWTO"/>
35922a21
BC
43 </Component>
44 <Component>
cc8350ab
BC
45 <File Id="COPYING" Name="COPYING.txt" Source="..\..\COPYING"/>
46 </Component>
47 <Component>
188ee570 48 <File Id="MORAL_LICENSE" Name="MORAL-LICENSE.txt" Source="..\..\MORAL-LICENSE"/>
35922a21
BC
49 </Component>
50 <Directory Id="examples" Name="examples"/>
c1f6f32e
RC
51 <Directory Id="tests" Name="tests">
52 <Component>
53 <File Source="../../t/fio-genzipf.exe"/>
54 </Component>
55 <Component>
56 <File Source="../../t/fio-dedupe.exe"/>
57 </Component>
58 <Component>
59 <File Source="../../t/stest.exe"/>
60 </Component>
61 <Component>
62 <File Source="../../t/ieee754.exe"/>
63 </Component>
64 <Component>
65 <File Source="../../t/axmap.exe"/>
66 </Component>
67 <Component>
68 <File Source="../../t/lfsr-test.exe"/>
69 </Component>
70 <Component>
71 <File Source="../../t/gen-rand.exe"/>
72 </Component>
73 <Component>
74 <File Source="../../t/fio-verify-state.exe"/>
75 </Component>
76 </Directory>
35922a21
BC
77 </Directory>
78 </Directory>
79 </Directory>
80 </Directory>
81
3a62cbac 82 <Feature Id="AlwaysInstall" Absent="disallow" ConfigurableDirectory="INSTALLDIR" Display="hidden" Level="1" Title="Flexible I/O Tester">
35922a21 83 <ComponentRef Id="fio.exe"/>
76bc30ca
SW
84 <?if $(var.FioPDB) = true?>
85 <ComponentRef Id="fio.pdb"/>
86 <?endif?>
35922a21
BC
87 <ComponentRef Id="HOWTO"/>
88 <ComponentRef Id="README"/>
89 <ComponentRef Id="REPORTING_BUGS"/>
90 <ComponentRef Id="COPYING"/>
188ee570 91 <ComponentRef Id="MORAL_LICENSE"/>
35922a21 92 <ComponentGroupRef Id="examples"/>
c1f6f32e
RC
93 <ComponentRef Id="fio_genzipf.exe"/>
94 <ComponentRef Id="fio_dedupe.exe"/>
95 <ComponentRef Id="stest.exe"/>
96 <ComponentRef Id="ieee754.exe"/>
97 <ComponentRef Id="axmap.exe"/>
98 <ComponentRef Id="lfsr_test.exe"/>
99 <ComponentRef Id="gen_rand.exe"/>
100 <ComponentRef Id="fio_verify_state.exe"/>
35922a21
BC
101 </Feature>
102
c6b80f7e 103 <Property Id="ARPURLINFOABOUT" Value="http://git.kernel.dk/cgit/fio/" />
35922a21
BC
104 <Property Id='ARPCONTACT'>fio@vger.kernel.org</Property>
105 <Property Id='ARPHELPLINK'>http://www.spinics.net/lists/fio/</Property>
1ef09871 106 <Property Id='ARPURLUPDATEINFO'>https://bluestop.org/fio/</Property>
35922a21
BC
107
108 <WixVariable Id="WixUILicenseRtf" Value="eula.rtf" />
109
110 <UIRef Id="WixUI_Minimal"/>
111
9f873e2e
BC
112 <MajorUpgrade AllowDowngrades="no" DowngradeErrorMessage="A newer version of the application is already installed."
113 AllowSameVersionUpgrades="yes"/>
35922a21
BC
114</Product>
115</Wix>