Before, I can copy Windows XP CD contents to D:\windowsxp, then

  • Boot DOS CD
  • > format C: /s /q
  • > D:\windowsxp\i386\winnt.exe

How to install Windows 7 from MS-DOS? I found install from USB only.

link|improve this question
This belongs on superuser.com – Chris Thompson Apr 16 '10 at 20:46
feedback

migrated from stackoverflow.com Apr 16 '10 at 20:47

This question came from our site for professional and enthusiast programmers.

3 Answers

I'm not sure why you're booting DOS from a CD, but won't boot Windows 7 from a CD...

Having said that, Windows Vista and newer no longer use DOS during its initial setup, instead opting to use Windows Preinstallation Environment (PE). There is a much more involved setup, requiring that you create a Windows PE image in advance before you can boot it from the Hard Drive.

link|improve this answer
feedback

You can’t. The install process was completely changed in Vista.

link|improve this answer
What changed about it? – Simon Sheehan Nov 27 '11 at 16:25
feedback
It is not possible to run Vista and Windows 7 installer from command prompt.

when you will try to run it from command mode then it will give error like win32 application will not run in dost mode. (not exactly this).

Windows Preinstallation Environment (PE) may be alternate to do this in dos mode. but according to setup program behavior of windows 7; i do not think it can be achieved easily.. need lots of hard work.

USB Install is much easy with Win2Flash. nice stuff. it is great alternate.

you can look for these stuff :

Install Windows 7 or Windows Vista on a Pc Without DVD Media

How to Install Windows 7 FAST without a DVD or USB Device

link|improve this answer
feedback

Your Answer

 
or
required, but never shown