| 1 | <?xml version="1.0" encoding="utf-8"?>\r |
| 2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">\r |
| 3 | \r |
| 4 | <?define VersionMajor = 1?>\r |
| 5 | <?define VersionMinor = 99?>\r |
| 6 | <?define VersionBuild = 6?>\r |
| 7 | \r |
| 8 | <Product Id="*"\r |
| 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 |
| 12 | <Package \r |
| 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 |
| 18 | \r |
| 19 | <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" />\r |
| 20 | \r |
| 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 |
| 35 | \r |
| 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 |
| 64 | \r |
| 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 |
| 70 | \r |
| 71 | <ComponentRef Id="HOWTO"/>\r |
| 72 | <ComponentRef Id="README"/>\r |
| 73 | <ComponentRef Id="REPORTING_BUGS"/>\r |
| 74 | <ComponentRef Id="COPYING"/>\r |
| 75 | \r |
| 76 | <ComponentRef Id="ShortcutDir"/>\r |
| 77 | </Feature>\r |
| 78 | \r |
| 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 |
| 83 | \r |
| 84 | <WixVariable Id="WixUILicenseRtf" Value="eula.rtf" />\r |
| 85 | \r |
| 86 | <UIRef Id="WixUI_Minimal"/>\r |
| 87 | \r |
| 88 | <Condition Message="Per-User installations are not supported">\r |
| 89 | Installed OR\r |
| 90 | ALLUSERS=1\r |
| 91 | </Condition>\r |
| 92 | \r |
| 93 | <MajorUpgrade AllowDowngrades="no" DowngradeErrorMessage="A newer version of the application is already installed."/>\r |
| 94 | </Product>\r |
| 95 | </Wix>\r |