Update the Windows installer
[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
79f9ec8f 3\r
93bcfd20
BC
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
dd8dd3de 10 <Product Id="*"\r
c2019d39 11 Codepage="1252" Language="1033"\r
84306c1d 12 Manufacturer="fio" Name="fio"\r
dd8dd3de 13 UpgradeCode="2338A332-5511-43CF-B9BD-5C60496CCFCC" Version="2.0.13">\r
79f9ec8f 14 <Package\r
c2019d39 15 Description="Flexible IO Tester"\r
dd8dd3de 16 InstallerVersion="301" Keywords="Installer,MSI,Database"\r
93bcfd20 17 Languages="1033" Manufacturer="fio"\r
c2019d39 18 InstallScope="perMachine" InstallPrivileges="elevated" Compressed="yes"/>\r
03e20d68 19\r
93bcfd20 20 <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" CompressionLevel="high"/>\r
03e20d68 21\r
c2019d39 22 <Directory Id="TARGETDIR" Name="SourceDir">\r
93bcfd20 23 <Directory Id="$(var.ProgramDirectory)">\r
c2019d39 24 <Directory Id="INSTALLDIR">\r
93bcfd20
BC
25 <Directory Id="fio" Name="fio">\r
26 <Component>\r
27 <File Source="..\..\fio.exe"/>\r
c2019d39 28 </Component>\r
93bcfd20
BC
29 <Component>\r
30 <File KeyPath="yes" Source="..\..\pthreadGC2.dll"/>\r
c2019d39 31 </Component>\r
93bcfd20
BC
32 <Component>\r
33 <File Id="README" Name="README.rtf" Source="..\..\README"/>\r
c2019d39 34 </Component>\r
93bcfd20
BC
35 <Component>\r
36 <File Id="REPORTING_BUGS" Name="REPORTING-BUGS.rtf" Source="..\..\REPORTING-BUGS"/>\r
c2019d39 37 </Component>\r
93bcfd20
BC
38 <Component>\r
39 <File Id="HOWTO" Name="HOWTO.rtf" Source="..\..\HOWTO"/>\r
c2019d39 40 </Component>\r
93bcfd20
BC
41 <Component>\r
42 <File Id="COPYING" Name="COPYING.rtf" Source="..\..\COPYING"/>\r
43 </Component>\r
44 <Directory Id="examples" Name="examples"/>\r
c2019d39
BC
45 </Directory>\r
46 </Directory>\r
47 </Directory>\r
c2019d39 48 </Directory>\r
03e20d68 49\r
93bcfd20
BC
50 <Feature Id="AlwaysInstall" Absent="disallow" ConfigurableDirectory="INSTALLDIR" Display="hidden" Level="1" Title="Flexible IO Tester">\r
51 <ComponentRef Id="fio.exe"/>\r
52 <ComponentRef Id="pthreadGC2.dll"/>\r
c2019d39
BC
53 <ComponentRef Id="HOWTO"/>\r
54 <ComponentRef Id="README"/>\r
55 <ComponentRef Id="REPORTING_BUGS"/>\r
56 <ComponentRef Id="COPYING"/>\r
93bcfd20 57 <ComponentGroupRef Id="examples"/>\r
c2019d39 58 </Feature>\r
79f9ec8f 59\r
c2019d39
BC
60 <Property Id="ARPURLINFOABOUT" Value="http://git.kernel.dk/?p=fio.git" />\r
61 <Property Id='ARPCONTACT'>fio@vger.kernel.org</Property>\r
62 <Property Id='ARPHELPLINK'>http://www.spinics.net/lists/fio/</Property>\r
63 <Property Id='ARPURLUPDATEINFO'>http://git.kernel.dk/?p=fio.git</Property>\r
03e20d68 64\r
c2019d39 65 <WixVariable Id="WixUILicenseRtf" Value="eula.rtf" />\r
03e20d68 66\r
c2019d39 67 <UIRef Id="WixUI_Minimal"/>\r
03e20d68 68\r
c2019d39
BC
69 <MajorUpgrade AllowDowngrades="no" DowngradeErrorMessage="A newer version of the application is already installed."/>\r
70</Product>\r
71</Wix>\r