Fio 2.9
[fio.git] / os / windows / install.wxs
CommitLineData
35922a21
BC
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"
fe8d0f4c 13 UpgradeCode="2338A332-5511-43CF-B9BD-5C60496CCFCC" Version="2.9">
35922a21
BC
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"/>
30ba7222 28 <Environment Action="set" Part="last" Id="PATH" Name="PATH" Value="[INSTALLDIR]fio\" System="yes"/>
35922a21 29 </Component>
35922a21 30 <Component>
cc8350ab 31 <File Id="README" Name="README.txt" Source="..\..\README"/>
35922a21
BC
32 </Component>
33 <Component>
cc8350ab 34 <File Id="REPORTING_BUGS" Name="REPORTING-BUGS.txt" Source="..\..\REPORTING-BUGS"/>
35922a21
BC
35 </Component>
36 <Component>
cc8350ab 37 <File Id="HOWTO" Name="HOWTO.txt" Source="..\..\HOWTO"/>
35922a21
BC
38 </Component>
39 <Component>
cc8350ab
BC
40 <File Id="COPYING" Name="COPYING.txt" Source="..\..\COPYING"/>
41 </Component>
42 <Component>
188ee570 43 <File Id="MORAL_LICENSE" Name="MORAL-LICENSE.txt" Source="..\..\MORAL-LICENSE"/>
35922a21
BC
44 </Component>
45 <Directory Id="examples" Name="examples"/>
46 </Directory>
47 </Directory>
48 </Directory>
49 </Directory>
50
51 <Feature Id="AlwaysInstall" Absent="disallow" ConfigurableDirectory="INSTALLDIR" Display="hidden" Level="1" Title="Flexible IO Tester">
52 <ComponentRef Id="fio.exe"/>
35922a21
BC
53 <ComponentRef Id="HOWTO"/>
54 <ComponentRef Id="README"/>
55 <ComponentRef Id="REPORTING_BUGS"/>
56 <ComponentRef Id="COPYING"/>
188ee570 57 <ComponentRef Id="MORAL_LICENSE"/>
35922a21
BC
58 <ComponentGroupRef Id="examples"/>
59 </Feature>
60
61 <Property Id="ARPURLINFOABOUT" Value="http://git.kernel.dk/?p=fio.git" />
62 <Property Id='ARPCONTACT'>fio@vger.kernel.org</Property>
63 <Property Id='ARPHELPLINK'>http://www.spinics.net/lists/fio/</Property>
cc8350ab 64 <Property Id='ARPURLUPDATEINFO'>http://bluestop.org/fio/</Property>
35922a21
BC
65
66 <WixVariable Id="WixUILicenseRtf" Value="eula.rtf" />
67
68 <UIRef Id="WixUI_Minimal"/>
69
9f873e2e
BC
70 <MajorUpgrade AllowDowngrades="no" DowngradeErrorMessage="A newer version of the application is already installed."
71 AllowSameVersionUpgrades="yes"/>
35922a21
BC
72</Product>
73</Wix>