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