Add support for cpus_allowed_policy
[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 $(env.FIO_ARCH) = 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="2.1.5">
14                 <Package
15                   Description="Flexible IO 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                                                 </Component>
29                                                 <Component>
30                                                         <File Id="README" Name="README.txt" Source="..\..\README"/>
31                                                 </Component>
32                                                 <Component>
33                                                         <File Id="REPORTING_BUGS" Name="REPORTING-BUGS.txt" Source="..\..\REPORTING-BUGS"/>
34                                                 </Component>
35                                                 <Component>
36                                                         <File Id="HOWTO" Name="HOWTO.txt" Source="..\..\HOWTO"/>
37                                                 </Component>
38                                                 <Component>
39                                                         <File Id="COPYING" Name="COPYING.txt" Source="..\..\COPYING"/>
40                                                 </Component>
41                                                 <Component>
42                                                         <File Id="LICENSE" Name="LICENSE.txt" Source="..\..\LICENSE"/>
43                                                 </Component>
44                                                 <Directory Id="examples" Name="examples"/>
45                                         </Directory>
46                                 </Directory>
47                         </Directory>
48         </Directory>
49
50         <Feature Id="AlwaysInstall" Absent="disallow" ConfigurableDirectory="INSTALLDIR" Display="hidden" Level="1" Title="Flexible IO Tester">
51                 <ComponentRef Id="fio.exe"/>
52                 <ComponentRef Id="HOWTO"/>
53                 <ComponentRef Id="README"/>
54                 <ComponentRef Id="REPORTING_BUGS"/>
55                 <ComponentRef Id="COPYING"/>
56                 <ComponentRef Id="LICENSE"/>
57                 <ComponentGroupRef Id="examples"/>
58         </Feature>
59
60         <Property Id="ARPURLINFOABOUT" Value="http://git.kernel.dk/?p=fio.git" />
61         <Property Id='ARPCONTACT'>fio@vger.kernel.org</Property>
62         <Property Id='ARPHELPLINK'>http://www.spinics.net/lists/fio/</Property>
63         <Property Id='ARPURLUPDATEINFO'>http://bluestop.org/fio/</Property>
64
65         <WixVariable Id="WixUILicenseRtf" Value="eula.rtf" />
66
67         <UIRef Id="WixUI_Minimal"/>
68
69         <MajorUpgrade AllowDowngrades="no" DowngradeErrorMessage="A newer version of the application is already installed."
70                   AllowSameVersionUpgrades="yes"/>
71 </Product>
72 </Wix>