Merge branch 'master' into gfio
[fio.git] / os / windows / install.wxs
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">\r
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
9 \r
10         <Product Id="*"\r
11           Codepage="1252" Language="1033"\r
12           Manufacturer="fio" Name="fio"\r
13           UpgradeCode="2338A332-5511-43CF-B9BD-5C60496CCFCC" Version="2.0.13">\r
14                 <Package\r
15                   Description="Flexible IO Tester"\r
16                   InstallerVersion="301" Keywords="Installer,MSI,Database"\r
17                   Languages="1033" Manufacturer="fio"\r
18                   InstallScope="perMachine" InstallPrivileges="elevated" Compressed="yes"/>\r
19 \r
20                 <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" CompressionLevel="high"/>\r
21 \r
22                 <Directory Id="TARGETDIR" Name="SourceDir">\r
23                         <Directory Id="$(var.ProgramDirectory)">\r
24                                 <Directory Id="INSTALLDIR">\r
25                                         <Directory Id="fio" Name="fio">\r
26                                                 <Component>\r
27                                                         <File Source="..\..\fio.exe"/>\r
28                                                 </Component>\r
29                                                 <Component>\r
30                                                         <File KeyPath="yes" Source="..\..\pthreadGC2.dll"/>\r
31                                                 </Component>\r
32                                                 <Component>\r
33                                                         <File Id="README" Name="README.rtf" Source="..\..\README"/>\r
34                                                 </Component>\r
35                                                 <Component>\r
36                                                         <File Id="REPORTING_BUGS" Name="REPORTING-BUGS.rtf" Source="..\..\REPORTING-BUGS"/>\r
37                                                 </Component>\r
38                                                 <Component>\r
39                                                         <File Id="HOWTO" Name="HOWTO.rtf" Source="..\..\HOWTO"/>\r
40                                                 </Component>\r
41                                                 <Component>\r
42                                                         <File Id="COPYING" Name="COPYING.rtf" Source="..\..\COPYING"/>\r
43                                                 </Component>\r
44                                                 <Directory Id="examples" Name="examples"/>\r
45                                         </Directory>\r
46                                 </Directory>\r
47                         </Directory>\r
48         </Directory>\r
49 \r
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
53                 <ComponentRef Id="HOWTO"/>\r
54                 <ComponentRef Id="README"/>\r
55                 <ComponentRef Id="REPORTING_BUGS"/>\r
56                 <ComponentRef Id="COPYING"/>\r
57                 <ComponentGroupRef Id="examples"/>\r
58         </Feature>\r
59 \r
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
64 \r
65         <WixVariable Id="WixUILicenseRtf" Value="eula.rtf" />\r
66 \r
67         <UIRef Id="WixUI_Minimal"/>\r
68 \r
69         <MajorUpgrade AllowDowngrades="no" DowngradeErrorMessage="A newer version of the application is already installed."/>\r
70 </Product>\r
71 </Wix>\r