I have just bought a mini Compaq Laptop and it hasn't a CD ROM to insert the instllation CD so I want to install windows on it so anybody have any idea how could install it using USB Flash drive
You have to be able to boot from the USB stick. Some newer PCs will boot from USB automatically, while others require you to press a Function key (typically F12) to select the boot device.