|
Asking to Install Vista when using a USB Flash Drive
1. Right click "Components" at the top of the WSIM Answer File pane.
2. Choose Add Synchronous command to Pass 1, WindowsPE
3. In the command line box, type e:\ask.bat and click OK. This
will tell autounattend.xml to run the ask.bat batch file
before the install actually starts. Ask.bat is just a simple batch file warning
that Vista is about to be installed
on this PC (see next). I used the E: drive in the path to the batch file because
it is the logical sequence
for the USB flash drive in the PC I was using.
The
Hard Drive is C: The DVD Drive is D: The USB Flash Drive would be E:
If you had 2 Hard drives (or 2 partitions), the USB flash drive would be F:
-> The
HDDs would be C: and D: The DVD Drive is E:
The USB Flash Drive would be F:
(Your USB
drive letter will depend on what you have installed in your
PC.)
Ask.bat (you can copy and paste into Notepad and save the file as ask.bat)
Copy ask.bat to the root of your USB flash drive.
@echo off
cls
echo.
echo.
echo YOU ARE STARTING THE INSTALL OF WINDOWS VISTA
ON THIS PC
echo.
echo ALL content on your Hard Drive will be deleted
first.
echo.
echo If you DO NOT want to run this install, REMOVE
the USB
echo Flash Drive from the PC, then power reset the
PC (turn off, then on).
echo.
echo If you DO want to run the install, press the Spacebar
to continue.
echo.
pause > NULL
exit
|