To install Windows 7, first enter the system BIOS and set the boot device priority to boot from the installation DVD or CD. Insert the installation media and select the language and keyboard settings. Choose between an upgrade or custom installation and select the partition to install Windows to. The setup will then copy files and create a user account. Finally, configure the date and time, network settings, and protection options before completing the installation.