Add section 9 to HOWTO table of contents.
[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.0.14">
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.rtf" Source="..\..\README"/>
34                                                 </Component>
35                                                 <Component>
36                                                         <File Id="REPORTING_BUGS" Name="REPORTING-BUGS.rtf" Source="..\..\REPORTING-BUGS"/>
37                                                 </Component>
38                                                 <Component>
39                                                         <File Id="HOWTO" Name="HOWTO.rtf" Source="..\..\HOWTO"/>
40                                                 </Component>
41                                                 <Component>
42                                                         <File Id="COPYING" Name="COPYING.rtf" Source="..\..\COPYING"/>
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="pthreadGC2.dll"/>
53                 <ComponentRef Id="HOWTO"/>
54                 <ComponentRef Id="README"/>
55                 <ComponentRef Id="REPORTING_BUGS"/>
56                 <ComponentRef Id="COPYING"/>
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://git.kernel.dk/?p=fio.git</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 </Product>
71 </Wix>