From 5b9a7f2232151d4bb80295be743a6f435f054662 Mon Sep 17 00:00:00 2001 From: Bruce Cran Date: Fri, 28 Jan 2011 08:41:42 +0100 Subject: [PATCH] Windows: add missing files needed for msi build Signed-off-by: Jens Axboe --- README | 6 +++--- os/windows/FIO.lnk | Bin 0 -> 1422 bytes os/windows/fio/FIO.bat | 9 +++++++++ 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 os/windows/FIO.lnk create mode 100644 os/windows/fio/FIO.bat diff --git a/README b/README index cc84fede..89a88e96 100644 --- a/README +++ b/README @@ -109,9 +109,9 @@ Windows On Windows Cygwin (http://www.cygwin.com) is required with at least devel/gcc4 and devel/make installed in order to build fio, and admin/cygrunsrv to run it. You can also install devel/git to fetch/update -the source files. To create an MSI installer package, install WiX 3.6 from -http://wix.sourceforge.net/releases/ and run dobuild.cmd from the -os/windows directory. +the source files. To create an MSI installer package put a copy of Cygwin +in os\windows\fio, install WiX 3.6 from http://wix.sourceforge.net/releases/ +and run dobuild.cmd from the os/windows directory. Before running fio you'll need to have a copy of cygserver running. Run "/usr/bin/cygserver-config" from an elevated Cygwin shell (i.e. launch the diff --git a/os/windows/FIO.lnk b/os/windows/FIO.lnk new file mode 100644 index 0000000000000000000000000000000000000000..5a8bdefd92616fd790ff6c271e899683c903e3fa GIT binary patch literal 1422 zcmb7EZAepL6h2d$Q6ETWDi6|n7 zzPMQ0pQ0cv`eZ-)SCsUluU`@bQJEM7QIR=nNvGP+QdwuB9N)M+W`6Go8iro#X}u(! z&!i1*N6V~Hf;mJsAy}NbK_mI1sht1{kT901%aAh_03joRi^uV7<5miE$0tkb2>`iEEAKKSX5j53I zn?;G*(cVPM*?uXom>Cz7`0%najb&!E$z^^KD_unmzaGD%^Lc(@(BF z-TNd6{cKK!5E{@78&Db_C+3Ptg02#@1jAq#ClcghF=}><9P7%2RjH8ptPDCEbo{7m zJ2p;YLc0IjO^3agzmBC}8VKZ8LEph9T)E|dS~)Wn%-Ki_za|#ngq@GX~u$ zImP5x8Dm?a&t?mDz6$u)+0bT0n=1C9tyVA?Ql&Yrhy?qJDy5#D_CUE^+SNtZUj!_} zjcdGTMr-m)Bj*OCy*IMot{gY+drE1R=$+KL&L6`s#!Z<|Ur?EM$sMTh?@N!?b5)P) zh#K)R2;(!sv*gF8;D1+U`~|oYe@Nar8jl6@>WUKKN71Odfr6!2EQXyAX2g$XW|#x; Iu!;%RFPtX$X8-^I literal 0 HcmV?d00001 diff --git a/os/windows/fio/FIO.bat b/os/windows/fio/FIO.bat new file mode 100644 index 00000000..cb3ca863 --- /dev/null +++ b/os/windows/fio/FIO.bat @@ -0,0 +1,9 @@ +@echo off + +C: +IF EXIST "%PROGRAMFILES(X86)%" set ROOTDIR=%PROGRAMFILES(X86)%\FIO +IF NOT EXIST "%PROGRAMFILES(X86)%" set ROOTDIR=%PROGRAMFILES%\FIO +chdir "%ROOTDIR%\bin" + +bash -c "echo \"Run FIO by typing 'fio'\" && echo \"This is a virtual filesystem: the root directory is $ROOTDIR\" && echo \"In this environment the path separator is '/' not '\\'\" && echo \"The C: drive is available under /cygdrive/c\" && echo \"Examples are in /examples ($ROOTDIR\\examples)\" && echo \"Type 'cd' to change directory and 'dir' (or 'ls') to see directory contents\" && echo \"QuickEdit mode is enabled: copy text by highlighting it and right-clicking\" && echo \"To exit, close the window\" && /usr/sbin/cygserver & 2> /dev/null" +bash --login -i \ No newline at end of file -- 2.25.1