1. Remove wifi adapter from Pi
2. Start Xbian
3. Go to "programs" and select "Xbian settings", upon "install wifi next reboot" select YES
4. Reboot
5. Wifi install script starts, read the instructions and make the selections (insert adapter when asked)
6. Restart and enjoy