installing windows in uefi - partitioning without losing everything --
The windows installer can actually install to a disk with os x already in it, you don't really have to wipe your hard drive. But the procedure has one thing in common with the above: don't use bootcamp.
I don't use bootcamp to create my partition for windows, since in the partitioning process what bootcamp does is actually creates a hybrid gpt/mbr partition. Windows won't install to this if i boot it in UEFI.
So in order not to lose anything, i just shrink the main os x partition using disk utility and leave some free space at the end of the drive
After this, i mount the EFI partition (as a preventative measure in case i wiped an efi installation) to a temporary /efi directory using:
mount -t msdos /dev/disk0s1 /efi
and just go into the /efi/EFI folder in finder and delete the Microsoft folder to get rid of the BCD file created if there was one, so that when i do another uefi install i don't have 2 windows 7 entries in there. This only needs to be done if I've done a previous uefi installation and had to wipe it and forgot to delete the bcd directory from the EFI partition.
Once all that's done, i just boot via uefi from usb and install windows, create partition in empty space. Since i just used Disk Utility to shrink the main os x partition, no hybrid mbr was created and the disk is pure gpt, so i can create another gpt partition without any problems for windows and install to it.
Windows will install to the created partition, and install it's efi boot loader to [efi partition]/EFI/Microsoft and [efi partition]/EFI/boot
If i want to use your bootloader (or any other) and not have to manually enter in bless commands each time i want to boot to windows i just need to replace the bootx64.efi in [efi partition]/efi/boot with yours (or whatever bootloader i want) and rename refind.efi to bootx64.efi. I can even do this with grub.efi. (already tried to chainload windows with it. also fails). Doing this, to boot your loader all i have to do is hold option at boot time. Instead of getting one menu i get two. Apple's, then yours. Yours comes up and detects windows just fine, but keep in mind - i'm not booting windows legacy - it's booting up in full efi from bootmgfw.efi. the only issue i have is video. like i said, everything else loads up just fine. You might want to take a look at some of the previous posts, i believe page 10 and 11 talk about why windows doesn't load the graphics up. it's explained much more in depth by d3v1l's posts, found all over the place.
----------
found it:
https://forums.macrumors.com/threads/696523/
post # 47