Get rid of fio_version.h
[fio.git] / os / windows / install.wxs
CommitLineData
03e20d68
BC
1<?xml version="1.0" encoding="utf-8"?>\r
2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">\r
93bcfd20
BC
3 \r
4 <?if $(env.FIO_ARCH) = x86 ?>\r
5 <?define ProgramDirectory = ProgramFilesFolder ?>\r
6 <?else?>\r
7 <?define ProgramDirectory = ProgramFiles64Folder ?>\r
8 <?endif?>\r
c2019d39 9\r
03e20d68 10 <Product Id="*"\r
c2019d39
BC
11 Codepage="1252" Language="1033"\r
12 Manufacturer="fio" Name="FIO"\r
8029542b 13 UpgradeCode="{2338A332-5511-43cf-b9BD-5C60496CCFCC}" Version="$(env.FIO_VERSION)">\r
03e20d68 14 <Package \r
c2019d39
BC
15 Comments="Contact: Your local administrator"\r
16 Description="Flexible IO Tester"\r
17 InstallerVersion="200" Keywords="Installer,MSI,Database"\r
93bcfd20 18 Languages="1033" Manufacturer="fio"\r
c2019d39 19 InstallScope="perMachine" InstallPrivileges="elevated" Compressed="yes"/>\r
03e20d68 20\r
93bcfd20 21 <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" CompressionLevel="high"/>\r
03e20d68 22\r
c2019d39 23 <Directory Id="TARGETDIR" Name="SourceDir">\r
93bcfd20 24 <Directory Id="$(var.ProgramDirectory)">\r
c2019d39 25 <Directory Id="INSTALLDIR">\r
93bcfd20
BC
26 <Directory Id="fio" Name="fio">\r
27 <Component>\r
28 <File Source="..\..\fio.exe"/>\r
c2019d39 29 </Component>\r
93bcfd20
BC
30 <Component>\r
31 <File KeyPath="yes" Source="..\..\pthreadGC2.dll"/>\r
c2019d39 32 </Component>\r
93bcfd20
BC
33 <Component>\r
34 <File Id="README" Name="README.rtf" Source="..\..\README"/>\r
c2019d39 35 </Component>\r
93bcfd20
BC
36 <Component>\r
37 <File Id="REPORTING_BUGS" Name="REPORTING-BUGS.rtf" Source="..\..\REPORTING-BUGS"/>\r
c2019d39 38 </Component>\r
93bcfd20
BC
39 <Component>\r
40 <File Id="HOWTO" Name="HOWTO.rtf" Source="..\..\HOWTO"/>\r
c2019d39 41 </Component>\r
93bcfd20
BC
42 <Component>\r
43 <File Id="COPYING" Name="COPYING.rtf" Source="..\..\COPYING"/>\r
44 </Component>\r
45 <Directory Id="examples" Name="examples"/>\r
c2019d39
BC
46 </Directory>\r
47 </Directory>\r
48 </Directory>\r
c2019d39 49 </Directory>\r
03e20d68 50\r
93bcfd20
BC
51 <Feature Id="AlwaysInstall" Absent="disallow" ConfigurableDirectory="INSTALLDIR" Display="hidden" Level="1" Title="Flexible IO Tester">\r
52 <ComponentRef Id="fio.exe"/>\r
53 <ComponentRef Id="pthreadGC2.dll"/>\r
c2019d39
BC
54 <ComponentRef Id="HOWTO"/>\r
55 <ComponentRef Id="README"/>\r
56 <ComponentRef Id="REPORTING_BUGS"/>\r
57 <ComponentRef Id="COPYING"/>\r
93bcfd20 58 <ComponentGroupRef Id="examples"/>\r
c2019d39 59 </Feature>\r
03e20d68 60 \r
c2019d39
BC
61 <Property Id="ARPURLINFOABOUT" Value="http://git.kernel.dk/?p=fio.git" />\r
62 <Property Id='ARPCONTACT'>fio@vger.kernel.org</Property>\r
63 <Property Id='ARPHELPLINK'>http://www.spinics.net/lists/fio/</Property>\r
64 <Property Id='ARPURLUPDATEINFO'>http://git.kernel.dk/?p=fio.git</Property>\r
03e20d68 65\r
c2019d39 66 <WixVariable Id="WixUILicenseRtf" Value="eula.rtf" />\r
03e20d68 67\r
c2019d39 68 <UIRef Id="WixUI_Minimal"/>\r
03e20d68 69\r
93bcfd20 70 <Condition Message="Per-user installations are not supported">\r
c2019d39
BC
71 Installed OR\r
72 ALLUSERS=1\r
73 </Condition>\r
03e20d68 74\r
c2019d39
BC
75 <MajorUpgrade AllowDowngrades="no" DowngradeErrorMessage="A newer version of the application is already installed."/>\r
76</Product>\r
77</Wix>\r