Professional Documents
Culture Documents
6212-winNT Sp6pre
6212-winNT Sp6pre
The names of actual companies and products mentioned herein may be the
trademarks of their respective owners.
Contents
Introduction.............................................................................................................. 1
Preinstalling Windows NT 4.0 with SP6...................................................................1
Limitations and Notes.........................................................................................2
Preinstallation Steps for System Builders Using Rollback.exe.............................3
Preinstalling Windows NT 4.0 with SP6 and Microsoft Internet Explorer 5..............4
Limitations and Notes.........................................................................................8
Preinstallation Steps for System Builders Using Rollback.exe.............................8
Command-Line Switches...................................................................................10
Introduction
This document provides the information and instructions necessary for original
equipment manufacturer (OEM) system builders to complete the following
processes:
5. Save the Cmdlines.txt file in the distribution share folder in the $oem$ directory.
6. Create or update an existing Unattend.txt file that contains the following line in
the [Unattended] section:
[Unattended]
OemPreinstall = Yes
If you are preinstalling Windows NT 4.0 Workstation, you can use Sysprep.exe to
prepare your audited system for shipment. Sysprep.exe replaces Rollback.exe as the
preferred tool for preparing systems for users. You do not need to uninstall SP6
before running Sysprep.exe, and you can run Sysprep.exe as many times as
necessary before shipping the system. If you are a system builder and you need a
copy of Sysprep.exe, visit the Microsoft OEM System Builder Program Web site at:
http://www.microsoft.com/oem/
If you plan to audit systems with Rollback.exe, complete the steps in the following
procedure to preinstall Windows NT 4.0 with SP6.
3. Preinstall Windows NT 4.0 with SP6 by using the procedure “To preinstall
Windows NT 4.0 with SP6,” under “Preinstalling Windows NT 4.0 with SP6,”
earlier in this document, with one exception. In Step 4, omit the /n flag in
Cmdlines.txt. Without this flag, Windows NT 4.0 Setup creates an uninstall
directory.
4. Just before graphical user interface (GUI)-mode Setup begins, insert the rollback
utility disk into the floppy drive.
Just before GUI-mode Setup, Windows NT 4.0 Setup provides a hidden insertion
point that you can use to prevent the system from deleting Setup files required by
Rollback.exe.
5. Before the system restarts, remove the rollback utility disk from the floppy drive.
6. Log on normally, which puts the system in audit mode.
7. In Control Panel, use Add/Remove Programs to uninstall SP6.
Or, to uninstall SP6 in unattended mode, at the command prompt, type:
C:\Winnt\$ntservicepackuninstall$\spuninst\spuninst /u
After you complete this procedure, run Rollback.exe. When the user receives the
system, SP6 reinstalls automatically. At startup, the operating system runs the GUI-
mode phase of Setup, which re-executes the “C:\SP6\SP6i386 /u /o /z” or “C:\SP6\
SP6alpha /u /o /z” command in the Cmdlines.txt file.
You should fully test the SP6 uninstall program with your specific preinstallation
process.
When SP6 and Internet Explorer 5 are preinstalled, the following events occur:
· The desktop and shell initialize, and the Internet Explorer 5 Setup wizard starts
automatically.
· Internet Explorer 5 Setup wizard pages and progress bars appear, but the user is
not prompted for input.
· When the Internet Explorer 5 Setup wizard completes, the operating system
automatically restarts.
· Windows NT 4.0 is now ready for the user to log on, and Internet Explorer 5 is
installed and available as the default browser.
The two registry scripts enable automatic log on and disable the Windows NT 4.0
Welcome screen.
On the Windows NT 4.0 SP6 CD, the Valueadd\MSIE5\Oem directory includes a
sample Cmdlines.txt file for Intel-based computers.
11. Save the Cmdlines.txt file in the distribution share folder in the $oem$ directory.
12. By using Regedit or Notepad, create the following two registry scripts in the C:\
Nt4\$oem$ directory:
For the Welcome.reg script, type:
REGEDIT4
[HKEY_USERS\DEFAULT\Software\Microsoft\Windows\
CurrentVersion\Explorer\Tips]
"Show" = dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon]
"AutoAdminLogon" = "1"
"DefaultUserName" = "Administrator"
"DefaultDomainName" = "$COMPUTERNAME$"
"DefaultPassword" = ""
[GuiUnattended]
OEMBlankAdminPassword = 1
· This preinstallation is not a slipstream of a Service Pack. You must reapply SP6
when the system state changes.
· To uninstall SP6, you must remove the /n flag from [Commands] in
Cmdlines.txt.
· The Internet Explorer 5 installation requires an Administrator-level account.
Internet Explorer 5 displays a message about this requirement. The preinstallation
process sets the administrator password to blank. The user must change this
password after Internet Explorer 5 is installed. For more information about
installing Internet Explorer 5, review the Internet Explorer 5 release notes
(Ie.txt), which are located on the Windows NT 4.0 SP6 CD in the \Valueadd\
MSIE5 folder.
· The Welcome.reg and Autolog.reg registry scripts were previously used in the
Zero Administration Kit for Microsoft Windows NT 4.0.
· If you are running Winnt.exe, you must use a $$Rename.txt file in each directory
with a long filename. For more information about $$Rename.txt, see the
Microsoft Windows NT Workstation 4.0 Resource Kit or the Microsoft
Windows NT 4.0 OPK.
· There are some issues with the order for uninstalling SP6 and Internet Explorer 5.
Therefore, to prevent the system from creating an uninstall directory, the
preinstallation process uses the /n flag. However, an uninstall directory is
necessary for auditing systems using Rollback.exe. For more information, see
“Preinstallation Steps for System Builders Using Rollback.exe,” later in this
document.
If you are preinstalling Windows NT 4.0 Workstation, you can use Sysprep.exe to
prepare your audited system for shipment. Sysprep.exe replaces Rollback.exe as the
preferred tool for preparing systems for users. You do not need to uninstall SP6 and
Internet Explorer 5 before running Sysprep.exe, and you can run Sysprep.exe as
many times as necessary before shipping the system. If you are a system builder and
you need a copy of Sysprep.exe, visit the Microsoft OEM System Builder Program
Web site at:
http://www.microsoft.com/oem/
If you plan to audit systems with Rollback.exe, complete the steps in the following
procedure to preinstall Windows NT 4.0 with SP6 and Internet Explorer 5.
· To preinstall Windows NT 4.0 with SP6 and Internet Explorer 5 if you plan
to use Rollback.exe
1. Copy Rollback.exe to a floppy disk. This floppy disk is your rollback utility disk.
2. Use a text editor program, such as Notepad, to create a file called Rollback.inf,
and save the file to the rollback utility disk created in Step 1.
To run Rollback.exe, the Rollback.inf file must reside in the same directory.
However, because Rollback.inf does not require any special commands to run
correctly, you can use an empty file.
3. Preinstall Windows NT 4.0 with SP6 and Internet Explorer 5 by using the
procedure “To preinstall Windows NT 4.0 with SP6 and Internet Explorer 5,”
under “Preinstalling Windows NT 4.0 with SP6 and Microsoft Internet
Explorer 5,” earlier in this document, with one exception. In Step 9, omit the /n
flag in Cmdlines.txt. Without this flag, Windows NT 4.0 Setup creates an
uninstall directory.
4. Just before GUI-mode Setup begins, insert the rollback utility disk into the floppy
drive.
Note
Just before GUI-mode Setup, Windows NT 4.0 Setup provides a hidden insertion
point that you can use to prevent the system from deleting Setup files required by
Rollback.exe.
5. Before the system restarts, remove the rollback utility disk from the floppy drive.
6. Log on normally, which puts the system in audit mode.
7. In Control Panel, using Add/Remove Programs, uninstall Internet Explorer 5 by
clicking the first option: Remove Internet Explorer 5 and all components.
8. Restart the computer, and when dialog boxes from the Internet Explorer 5
Uninstall wizard prompt you to remove all user settings, click Yes.
9. In Control Panel, using Add/Remove Programs, uninstall SP6.
Or, to uninstall SP6 in unattended mode, at the command prompt, type:
C:\Winnt\$ntservicepackuninstall$\spuninst\spuninst /u
10. At the command prompt, type:
copy C:\Winnt\system32\msnsspc.dll C:\$WIN_NT$.~LS\i386
Internet Explorer 5 overwrites the original Msnsspc.dll file installed by
Windows NT 4.0 Setup. To prevent a version conflict, you must copy the
Mnsnsspc.dll file from the System32 directory.
After you complete this procedure, run Rollback.exe. When the user receives the
system, SP6 reinstalls automatically. At startup, the operating system runs the GUI-
mode phase of Setup, which re-executes the “C:\SP6\SP6i386 /u /o /z” or “C:\SP6\
SP6alpha/u /o /z” command in the Cmdlines.txt file.
You should fully test the SP6 uninstall program with your specific preinstallation
process.
Command-Line Switches
Internet Explorer 5 Setup is made up of two components: Ie5setup.exe and
Ie5wzd.exe. Ie5setup.exe is an installation wrapper around Ie5wzd.exe, the Setup
wizard. Running Ie5setup.exe by itself causes Ie5wzd.exe to run with a set of default
switches. To preinstall Internet Explorer 5 on a user’s computer, you must run
Internet Explorer 5 Setup in batch mode using a set of command-line switches in
conjunction with Ie5wzd.exe. These switches allow you to control how the setup
process looks to the user.
The following table lists the command-line switches that you can use for Internet
Explorer 5 Setup.
When Internet Explorer 5 Setup runs in Quiet mode, no user input is required.
Because no input is provided, Setup attempts to determine the channel locale based
on the locale of the computer. For example, if the computer is being shipped to
Australia, the user would probably want Australian channels. However, if you
specify a Quiet-mode installation, the user would receive U.S. channels. Therefore,
you must use the IEAK to build a separate Internet Explorer 5 package for each
channel locale. Also, if you use the IEAK to customize the browser in any way, a
separate package for each channel locale is necessary.
· Ie5setup.exe
Specifying no command-line switches causes Setup to display each wizard page
to the user and allows the user to choose the type of installation and the channel
locale. The user can also decide whether to install the Windows Desktop Update.
· Ie5setup.exe /q /c:“ie5wzd.exe /q /m:1 /s:““#e”””
This set of command-line switches runs Setup in Quiet mode. No user input is
required, but Setup progress displays. Setup installs the standard components.
Also, /s:““#e”” directs Ie5wzd.exe to the source path for Ie5setup.exe.
· Ie5setup /q:a /c:“ie5wzd.exe /q:a /r:n /m:2 /i:y /s:““#e”””
This set of command-line switches runs Setup in Administrator Quiet mode. No
user input is required, and no Setup progress displays. Setup selects a full
installation, including Windows Desktop Update, and does not automatically
restart the computer.
If you use the IEAK to customize Internet Explorer 5, these command-line switches
are still valid. However, the Install-mode switch (/m) corresponds to the installation
mode that you specify within the IEAK. In this case, /m:0 corresponds to the first
option (minimum), /m:1 is the second option, and so forth.