- <Directory Id="TARGETDIR" Name="SourceDir">\r
- <Directory Id="ProgramFilesFolder" SourceName="program files">\r
- <Directory Id="INSTALLDIR">\r
- <Directory Id="cygwin" Name="fio">\r
- <Directory Id="bin" Name="bin">\r
- <Component Id="fio.exe" Location="either">\r
- <File Id="fio.exe" Name="fio.exe" KeyPath="yes" Source="..\..\fio.exe"/>\r
- <Shortcut Id="FIO_SC" Name="FIO" Description="Opens an FIO shell" Directory="ApplicationProgramsFolder" Target="[cygwin]\Cygwin.bat"/>\r
- </Component>\r
- </Directory>\r
- <Directory Id="usr" Name="usr">\r
- <Directory Id="share" Name="share">\r
- <Directory Id="doc" Name="doc">\r
- <Directory Id="fio" Name="fio">\r
- <Directory Id="examples" Name="examples"/>\r
- <Component Id="README">\r
- <File Id="README" Name="README.txt" KeyPath="yes" Source="..\..\README"/>\r
- <Shortcut Id="README_SC" Name="Readme" Description="Documentation" Directory="ApplicationProgramsFolder" Target="[#README]"/>\r
- </Component>\r
- <Component Id="REPORTING_BUGS">\r
- <File Id="REPORTING_BUGS" Name="REPORTING-BUGS.txt" KeyPath="yes" Source="..\..\REPORTING-BUGS"/>\r
- <Shortcut Id="REPORTING_BUGS_SC" Name="Reporting bugs" Description="How to report bugs in FIO" Directory="ApplicationProgramsFolder" Target="[#REPORTING_BUGS]"/>\r
- </Component>\r
- <Component Id="HOWTO">\r
- <File Id="HOWTO" Name="HOWTO.txt" KeyPath="yes" Source="..\..\HOWTO"/>\r
- <Shortcut Id="HOWTO_SC" Name="How to use FIO" Description="FIO Tutorial - how to setup FIO" Directory="ApplicationProgramsFolder" Target="[#HOWTO]"/>\r
- </Component>\r
- <Component Id="COPYING">\r
- <File Id="COPYING" Name="COPYING.txt" KeyPath="yes" Source="..\..\COPYING"/>\r
- <Shortcut Id="COPYING_SC" Name="License" Description="FIO license" Directory="ApplicationProgramsFolder" Target="[#COPYING]"/>\r
- </Component>\r
- </Directory>\r
- </Directory>\r
- </Directory>\r
- </Directory>\r
- </Directory>\r
- </Directory>\r
- </Directory>\r
- <Directory Id="ProgramMenuFolder">\r
- <Directory Id="ApplicationProgramsFolder" Name="FIO">\r
- <Component Id="ShortcutDir" Guid="475862c2-ae75-4325-96c8-335edb490214">\r
- <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>\r
- <!-- <RegistryValue Root="HKLM" Key="Software\FIO\FIO" Name="shortcuts" Type="string" Value="" KeyPath="yes"/> -->\r
- </Component>\r
- </Directory>\r
- </Directory>\r
- </Directory>\r
+ <Directory Id="TARGETDIR" Name="SourceDir">\r
+ <Directory Id="$(var.ProgramDirectory)">\r
+ <Directory Id="INSTALLDIR">\r
+ <Directory Id="fio" Name="fio">\r
+ <Component>\r
+ <File Source="..\..\fio.exe"/>\r
+ </Component>\r
+ <Component>\r
+ <File KeyPath="yes" Source="..\..\pthreadGC2.dll"/>\r
+ </Component>\r
+ <Component>\r
+ <File Id="README" Name="README.rtf" Source="..\..\README"/>\r
+ </Component>\r
+ <Component>\r
+ <File Id="REPORTING_BUGS" Name="REPORTING-BUGS.rtf" Source="..\..\REPORTING-BUGS"/>\r
+ </Component>\r
+ <Component>\r
+ <File Id="HOWTO" Name="HOWTO.rtf" Source="..\..\HOWTO"/>\r
+ </Component>\r
+ <Component>\r
+ <File Id="COPYING" Name="COPYING.rtf" Source="..\..\COPYING"/>\r
+ </Component>\r
+ <Directory Id="examples" Name="examples"/>\r
+ </Directory>\r
+ </Directory>\r
+ </Directory>\r
+ </Directory>\r