Fio 1.99.11
[fio.git] / os / windows / install.wxs
CommitLineData
03e20d68
BC
1<?xml version="1.0" encoding="utf-8"?>\r
2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">\r
3\r
c2019d39 4<?define VersionMajor = 1?>\r
178cde9f 5<?define VersionMinor = 99?>\r
b25b86bc 6<?define VersionBuild = 11?>\r
c2019d39 7\r
03e20d68 8 <Product Id="*"\r
c2019d39
BC
9 Codepage="1252" Language="1033"\r
10 Manufacturer="fio" Name="FIO"\r
11 UpgradeCode="{2338a332-5511-43cf-b9bd-5c60496ccfcc}" Version="$(var.VersionMajor).$(var.VersionMinor).$(var.VersionBuild)">\r
03e20d68 12 <Package \r
c2019d39
BC
13 Comments="Contact: Your local administrator"\r
14 Description="Flexible IO Tester"\r
15 InstallerVersion="200" Keywords="Installer,MSI,Database"\r
16 Languages="1033" Manufacturer="fio" Platform="x86"\r
17 InstallScope="perMachine" InstallPrivileges="elevated" Compressed="yes"/>\r
03e20d68
BC
18\r
19 <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" />\r
20\r
c2019d39
BC
21 <Directory Id="TARGETDIR" Name="SourceDir">\r
22 <Directory Id="ProgramFilesFolder" SourceName="program files">\r
23 <Directory Id="INSTALLDIR">\r
24 <Directory Id="cygwin" Name="FIO">\r
25 <Directory Id="bin" Name="bin">\r
26 <Component Id="fio.exe" Location="either">\r
27 <File Id="fio.exe" Name="fio.exe" KeyPath="yes" Source="..\..\fio.exe"/>\r
28 </Component>\r
29 </Directory>\r
30 \r
31 <Component Id="fio.lnk" Location="either">\r
32 <File Id="fio.lnk" Name="FIO.lnk" KeyPath="yes" Source="FIO.lnk"/>\r
33 <Shortcut Id="FIO_SC" Name="FIO" Description="Opens an FIO shell" Directory="ApplicationProgramsFolder" Target="[cygwin]\FIO.lnk"/>\r
34 </Component>\r
03e20d68 35\r
c2019d39
BC
36 <Directory Id="examples" Name="examples"/>\r
37 <Component Id="README">\r
38 <File Id="README" Name="README.txt" KeyPath="yes" Source="..\..\README"/>\r
39 <Shortcut Id="README_SC" Name="Readme" Description="Documentation" Directory="ApplicationProgramsFolder" Target="[#README]"/>\r
40 </Component>\r
41 <Component Id="REPORTING_BUGS">\r
42 <File Id="REPORTING_BUGS" Name="REPORTING-BUGS.txt" KeyPath="yes" Source="..\..\REPORTING-BUGS"/>\r
43 <Shortcut Id="REPORTING_BUGS_SC" Name="Reporting bugs" Description="How to report bugs in FIO" Directory="ApplicationProgramsFolder" Target="[#REPORTING_BUGS]"/>\r
44 </Component>\r
45 <Component Id="HOWTO">\r
46 <File Id="HOWTO" Name="HOWTO.txt" KeyPath="yes" Source="..\..\HOWTO"/>\r
47 <Shortcut Id="HOWTO_SC" Name="How to use FIO" Description="FIO Tutorial - how to setup FIO" Directory="ApplicationProgramsFolder" Target="[#HOWTO]"/>\r
48 </Component>\r
49 <Component Id="COPYING">\r
50 <File Id="COPYING" Name="COPYING.txt" KeyPath="yes" Source="..\..\COPYING"/>\r
51 <Shortcut Id="COPYING_SC" Name="License" Description="FIO license" Directory="ApplicationProgramsFolder" Target="[#COPYING]"/>\r
52 </Component>\r
53 </Directory>\r
54 </Directory>\r
55 </Directory>\r
56 <Directory Id="ProgramMenuFolder">\r
57 <Directory Id="ApplicationProgramsFolder" Name="FIO">\r
58 <Component Id="ShortcutDir" Guid="475862c2-ae75-4325-96c8-335edb490214">\r
59 <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>\r
60 </Component>\r
61 </Directory>\r
62 </Directory>\r
63 </Directory>\r
03e20d68 64\r
c2019d39
BC
65 <Feature Id="AlwaysInstall" Absent="disallow" ConfigurableDirectory="INSTALLDIR" Display="hidden" Level="1" Title="Always Install">\r
66 <ComponentRef Id="fio.exe" />\r
67 <ComponentRef Id="fio.lnk" />\r
68 <ComponentGroupRef Id="examples"/>\r
69 <ComponentGroupRef Id="cygwin"/>\r
03e20d68 70\r
c2019d39
BC
71 <ComponentRef Id="HOWTO"/>\r
72 <ComponentRef Id="README"/>\r
73 <ComponentRef Id="REPORTING_BUGS"/>\r
74 <ComponentRef Id="COPYING"/>\r
03e20d68 75\r
c2019d39
BC
76 <ComponentRef Id="ShortcutDir"/>\r
77 </Feature>\r
03e20d68 78 \r
c2019d39
BC
79 <Property Id="ARPURLINFOABOUT" Value="http://git.kernel.dk/?p=fio.git" />\r
80 <Property Id='ARPCONTACT'>fio@vger.kernel.org</Property>\r
81 <Property Id='ARPHELPLINK'>http://www.spinics.net/lists/fio/</Property>\r
82 <Property Id='ARPURLUPDATEINFO'>http://git.kernel.dk/?p=fio.git</Property>\r
03e20d68 83\r
c2019d39 84 <WixVariable Id="WixUILicenseRtf" Value="eula.rtf" />\r
03e20d68 85\r
c2019d39 86 <UIRef Id="WixUI_Minimal"/>\r
03e20d68 87\r
c2019d39
BC
88 <Condition Message="Per-User installations are not supported">\r
89 Installed OR\r
90 ALLUSERS=1\r
91 </Condition>\r
03e20d68 92\r
c2019d39
BC
93 <MajorUpgrade AllowDowngrades="no" DowngradeErrorMessage="A newer version of the application is already installed."/>\r
94</Product>\r
95</Wix>\r