How to install OS install on pre-formatted hard drive?



Hi,i bought a comp on ibuypower and i chose preformatted hdd because i have a vista dvd and was going to install that on this new computer. i was wondering if i could just like put in the cd at start up and maybe from the bios choose to boot from cd but is this how you would install it?.