Using Command-Line Options
You can
use these options to install the service
pack as follows:
-
For an unattended installation, use
the /U option:
XPsp1.exe /U
Use this option to install the
service pack using all the default
options. The installation will not
prompt you for any input, but the
installation progress bar in the
user interface is displayed
throughout the installation process.
For details about using unattended
Setup, see Microsoft Windows
Preinstallation Reference Help
(ref.chm), unattend.txt topic, in
deploy.cab on your CD in the
\support\tools folder.
- To
set XPsp1.exe to close all other
applications after upgrading to SP1,
use the /F option:
XPsp1.exe /F
After the installation is completed,
you must close all open programs
before restarting the computer. To
force applications to close without
saving files, use the /F
option. You can use this option in
conjunction with other command-line
options, with the exception of /S
(used for an integrated
installation), /L (used to
list installed hotfixes), and /Z
(used to prevent the restart from
automatically occurring after the
installation).
- To
prevent the automatic creation of
backup files for removing the
service pack, use the /N
option:
XPsp1.exe /N
If
you select this option, the files
needed to remove the service pack
will not be backed up during the
installation. This can help save
disk space but also means that you
will not be able to remove the
service pack at a later date. If you
use this option, the Add or
Remove Programs entry is not
added for removing the service pack
at some point in the future.
You
can use this option in conjunction
with other command-line options,
with the exception of /S
(used for an integrated installation
only) and /L (used for
installing hotfixes).
- To
update OEM-supplied files without
prompts, use the /O option:
XPsp1.exe /O
For
example, if you have OEM-specific
drivers installed on your computer,
using the /O option enables
these drivers to be updated without
prompting you first.
Note: If
you use the /Q or /U
option to run Update.exe in quiet or
unattended Setup mode and want to
update OEM-supplied files, you must
also use the /O option. If
you do not use the /O option,
files such as the hardware
abstraction layer (HAL) and disk
miniport drivers are not updated.
- To
prevent the computer from
automatically restarting after the
service pack is installed, use the
/Z option:
XPsp1.exe /Z
If
you do not want the computer to
restart automatically after the
service pack installation is
completed, use this option. You can
use this option in conjunction with
other command-line options, with the
exception of /S and /L.
-
For a quiet installation, use the
/Q option:
XPsp1.exe /Q
Use
this option to install SP1 the same
way as described for the unattended
installation. However, neither the
progress bar in the user interface
nor any errors that might occur are
displayed during installation.
- To
list hotfixes that are currently
installed, use the /L option:
XPsp1.exe /L
If
you want to display all of the
hotfixes that are currently
installed on the computer, use this
option. This option is not designed
for use with any other command-line
options.
- To
see which hotfixes and service pack
version are installed at any given
time, type the following:
Qfecheck.exe
- To
deploy Windows XP with SP1, use the
/S:<foldername> option
in the following command:
XPsp1.exe /S:<foldername>
If
you want to deploy Windows XP with
SP1 as an integrated installation,
you can use this option to build an
integrated shared network folder
that contains files for Windows XP
and SP1. You can use this shared
folder to install both Windows XP
and the service pack together by
using the integrated installation,
thus saving time. This feature is
not available for hotfixes.
|