What Windows operating system are you trying to install?
I suggest you change the boot order in the BIOS and set CD-ROM to first. Once you formatted your disk, you should boot using your Windows CD-ROM and the rest is easy going.
How to create a boot disketteHow to Install Microsoft Windows 2000MS-DOS format command helpThese articles may just prove to be useful. I suggest you read through them.