summaryrefslogtreecommitdiff
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* installer: Add sparse address space annotations to the syslinux imageH. Peter Anvin2014-01-171-4/+4
| | | | | | | | Add sparse address space annotations for the syslinux boot image, to make it easier to catch errors that break the DOS installer build again. Use "make CC=cgcc" to run sparse. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* win: Print error message if we fail to install to --directoryMatt Fleming2012-11-021-2/+6
| | | | | | | | Instead of silently returning with no indication of error if we couldn't install to the --directory argument, print an error message that tells the user the files are not where they wanted. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* win: Fix installing to a directoryMatt Fleming2012-11-021-2/+2
| | | | | | | | | | | commit bda54cb68067 ("installers: Install ldlinux.c32 automatically)" introduced a bug in the move_file() function. move_file() isn't deleting the destination path, including the --directory argument, that ldlinux.sys should be installed to ('new_name'), which means that the MoveFile() calls fails. What it's actually doing is deleting ldlinux.sys from the file destination system. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* installers: Install ldlinux.c32 automaticallysyslinux-5.00-pre8Matt Fleming2012-09-191-42/+81
| | | | | | | Because ldlinux.c32 is required for Syslinux to function correctly, we should be installing it automatically much like ldlinux.sys. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* win: Use lower-case private definition of STORAGE_DEVICE_NUMBERH. Peter Anvin2012-06-291-6/+6
| | | | | | | | Since we can't know if <winioctl.h> actually defines STORAGE_DEVICE_NUMBER, just use a private definition of the structure but with a lower-case name. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* win32: assume STORAGE_DEVICE_NUMBER is definedH. Peter Anvin2012-06-271-1/+1
| | | | | | | | If using mingw-w64 to build for win32, this will be defined. This is confusing, especially since mingw-w64 defined __MINGW32__ but nothing else... thus hide this definition for now. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* win: Fix an out-of-bounds array accessShao Miller2011-09-111-1/+1
| | | | | | | | | | We should not attempt to make a map of more LDLINUX.SYS sectors than we have. Simply multiplying a cluster count times the number of sectors per cluster does not account for unused sectors in the last used cluster. Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca> Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
* win: Add further NTFS support to Windows installersShao Miller2011-09-115-0/+731
| | | | | | | | We have a way of building a map of the LDLINUX.SYS sectors on an NTFS filesystem, now. Signed-off-by: Paulo Alcantara <pcacjr@gmail.com> Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
* Add NTFS filesystem support to Linux and Windows installersPaulo Alcantara2011-09-071-3/+6
| | | | Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
* win64: experimental Win64 installer (syslinux64.exe)syslinux-4.02H. Peter Anvin2010-07-213-0/+521
Experimental Win64 installer. This is necessary to be able to run on WinPE64, since WinPE64 doesn't support running 32-bit binaries. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>