Question: How does the online Windows installer know which version to install?
Sentence: The three desktop editions of Windows 8 support 32-bit and 64-bit architectures; retail copies of Windows 8 include install DVDs for both architectures, while the online installer automatically installs the version corresponding with the architecture of the system's existing Windows installation.
Answer in sentence: yes