|
How to create a bootable CD Windows 2000 + SP3 + Internet Explorer 6 + Windows Média Player 7.1 + DirectX 8.1 ?
Something in my mind clicked just before the release of the SP3. Even with
the SP2 bootable CD, it took me one hour and more to set up a Windows 2000
server.
My researches on the web led me to the following websites www.tech-hints.com
www.thetechguide.com
or the famous www.bellamyjc.net
by JC Bellamy. After gathering all the information, the CD was created.
Method :
1.
Pack 3 Service Integration
2.
The
\$OEM$ tree structure
a.
Cmdlines.txt
b.
Scripts
c.
Winnt.sif
3.
Source Collection
a.
Internet
Explorer 6
b.
Windows
Media Player 7.1
c.
Directx
8.1
4.
Preparation of the CD image
5.
CD Rom burning with Nero
6.
And for the most interested…
1.
Pack 3 Service Integration
The famous SlipStreaming technique is acknowledged by everyone. For
information :
http://www.laboratoire-microsoft.org/articles/win/slipstreaming/.
You can find below the method of this technique.
- Copy the \I386 CD directory on the hard disk (ex: C:\ImageCD\I386).
- Decompress the W2Ksp3.exe file with Winzip in a temporary
directory.
- From the decompressed SP3, start \I386\update\Update.exe
–s:c:\ImageCD
SP3 will merge with the distribution directory.
2.
The
\$OEM$ tree structure
So as to simplify the OS rollout on the
constructors and wide networks, a tree was created by Microsoft,
ensuring a pre-installment as well as the addition of specific drivers, answer files
and...scripts !!! Everything you need to know to install a OEM.

You must create the tree in the login directory (ex: C:\ImageCD)
The \$OEM$ directory must be at the same level as the previously patched \I386
subdirectory.
a.
Cmdlines.txt
Cmdlines.txt has been executed at the end of the install in GR mode
before a user is connected. This means there is no network connection yet.
It has the following syntax :
[COMMANDS]
"Command_1"
"Command_2"
…………….
"Command_n"
Note :
It is impossible to use parameters in square brackets in the Cmdline.txt.
file. If you need parameters, you must use a batch file from Cmdlines.txt.
Place the batch file at the top of \$OEM$
b.
Scripts
You can now create a batch file and name it ie6.bat as follows :
@echo off
echo Installation d’ Internet Explorer 6
echo .
echo Installation…
echo .
echo Veuillez patienter
%systemdrive%\winapps\ie6\ie6setup.exe
/C:"ie6wzd /S:""#e"" /Q:A /R:N"
Then create another directx.bat :
@echo off
echo Installation de Directx 8.1
echo .
echo Installation…
echo .
echo Veuillez patienter
%systemdrive%\winapps\directx\dxsetup.exe
/install /silent
and eventually a wmp.bat :
@echo off
echo Installation de Windows Media
Player 7.1
echo .
echo Installation…
echo .
echo Veuillez patienter
%systemdrive%\winapps\wmp\setup_wm.exe /Q:A
/R:N
The three scripts must be placed directly in \$OEM$.
The /Q:A et /R:N parameters ensure a silent install without reboot.
Now you can create the Cmdlines.txt
file at the top of the \$OEM$ distribution tree.
[COMMANDS]
".\ie6.bat"
".\directx.bat"
".\wmp.bat"
c.
Winnt.sif
The setupmgr.exe utility on Windows 2000 distributions generates unattend.txt
answer files for automatic or personalised setup. Setupmgr.exe is
hidden in the Deploy.cab file of the \Support\Tools
subdirectory.
Two other files come with it, the Setupcl.exe and setupmgx.dll
files to decompress before use. Personnally, I decompress all the Deploy.cab in c:\winnt\system32
to avoid any trouble.

- Start setupmgr.exe from Start menu and Run.

- To create a new unattend file.

- This is what we want after all !

- The fields will be filled beforehand with default values.

- Keep default parameter.

- The distribution file has already been created since it is the \I386…
directory

- Save the answer file as Winnt.sif
The file must be saved in the \I386 SP3 patched distribution
subdirectory.
Find below the content of the Winnt.sif text file:
;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
[Unattended]
UnattendMode=ProvideDefault
OemPreinstall=Yes
TargetPath=\WINNT
[GuiUnattended]
OEMSkipRegional=1
TimeZone=105
[UserData]
FullName=Arella
OrgName="Ma
Société"
ComputerName=Marseille
ProductID="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
[Display]
BitsPerPel=8
Xresolution=800
YResolution=600
Vrefresh=60
[Identification]
JoinWorkgroup=BDR
[Networking]
InstallDefaultComponents=Yes
Note : I have added and modified some parameters manually :
AutoPartition=0
Allows you to
choose the setup partition.
OemPreinstall=Yes
Compulsory to start the OEM setup.
ProductID
No comment…
3.
Source
Collection
a.
Internet
Explorer 6
We are creating a Windows 2000 bootable CD so there is no need to insert the
sources of the other OS's installation files.
The initial ie6setup.exe installation file can be downloaded from
the Microsoft website.
It accepts the following syntax :
Ie6setup.exe /c:"ie6wzd.exe /d /s:""#E"""

The assistant allows you to download only the IE6 sources for Windows 2000.
Save the sources in the \$OEM$\$1\winapps\ie6
subdirectory.
(Note that we are far from the 70Mo full installation.)
b.
Windows
Media Player 7.1
You can download the mp71.exe file in French and for
Windows 2000 from Microsoft website, then decompress it with WINZIP in the
subdirectory \$OEM$\$1\winapps\wmp.
http://www.microsoft.com/france/download/default.asp
c.
Directx 8.1
The dx81NTfrn.exe file can be downloaded in French and for
Windows 2000 from Microsoft website.
http://www.microsoft.com/france/download/default.asp
You have to decompress it with WINZIP in the subdirectory \$OEM$\$1\winapps\directx
4.
Preparation of the CD image
The CD image (C:\ImageCD in my example) must include :
-
CDROM_NT.5
-
CDROM_IP.5 (for Windows 2000 Pro)
-
CDROM_IS.5 (for Windows 2000 Serveur)
-
Bootfont.bin
-
AUTORUN.INF
-
SETUP.EXE
-
CDROMSP3.TST (created when SP3 was implemented)
-
\BOOTDISK directory
Plus
-
The SP3 patched \I386 tree, including the Winnt.sif
file
Plus
-
Our famous \$OEM$ tree including the Cmdlines.txt
file, the 3 scripts, and the subdirectories of the sources.
5.
Burning with Nero
Guess where I got my information … Thanks Mr. Bellamy.
I have nothing more to add since all is explained with snapshots on the
following link :
http://www.bellamyjc.net/fr/cdbootable.html#nero
6.
And for the enthusiasts…
-
The \$OEM$ directory must be placed
at the same level as the \I386 directory for making a CD, and not
in the
\I386 directory. It is apparently a bug Microsoft will not correct.
In the case of an installation in
command line with an unattend.txt file,
you have to save the \$OEM$ directory in \I386.
-
Because of a mistake in programming, the files are not
suppressed at the end of the setup. You can also create a script, erasing the
files.
-
The Windows Installer service as well as the network services do not start
during this stage of the installation.
|
|
 |
Pour afficher ou poster un commentaire, cliquez sur ce lien : Forum-Microsoft
|
|