Unattended XPCD

$OEM$ Distribution Folders
Submitted by Unknown

The purpose of these $OEM$ Folders is that anything you place into there will be automatically copied to the destination hard drive of where you're installing Windows. Once copied over, you can easily create batch commands to install and perform tasks using the %systemdrive% variable. For example: If Windows was installed to the D:\ drive, the environment variable "%systemdrive%" will resolve into D:\

You might ask, "why not run application installations from the CD itself?" This is because CD-ROM drive letters are bound to be different on every PC, which shows why there's no permanent "%CDROM%" environment variable. You could however create and run a script that checks for the existance of a particular file on the CD so it maps the correct drive letter to the %CDROM% variable, but we won't be covering that in this guide (although its been discussed often in the forums so it should turn up in a search).

» The $OEM$ Distribution Folders

Unattended XPCD As you can see on the left, the $OEM$ folder stays parallel to the i386 folder, not inside it. Anything in $1 will be copied to the root of the patition where Windows is installed to (C:\ for example). See the examples below on how it all works:

In preparation, the layout is:

When burned to CD (X:\ being the CD-ROM Drive letter), the layout is:

When the \$OEM$\$1\Install is copied over to the hard drive during Setup, the layout is:

Makes sense? This is why in certain parts of the site you will find commands such as:
"start /wait %systemdrive%\install\MSN\msnmsgs.msi /qb" as this gives the same output as C:\Install\ when C:\ is the Windows drive.

$$ - Anything in here will be copied to the Windows folder, no matter what its called (Windows, WINNT, WindowsXP). By using this method you can create additional folders within $$ such as Resources followed by a sub-folder called Themes and place your visual styles in here. It will then be copied to C:\WINDOWS\Resources\Themes automatically when running Windows Setup.

Now that you know how all this works, understanding the rest should be easy enough:

$Docs - Documents and Settings
$Progs - Program Files
$$ - Windows Folder
$1 - Root of hard drive where Windows is installed to partition.
Textmode - Mass storage drivers and HAL files required during the text-mode portion of Setup.
drive_letter - Represents the root of a particular volume on the system (e.g., \$OEM$\C represents the C: drive) and contains any files that WinXP Setup should copy to this partition during installation.

This saves the effort of using COPY or XCOPY batch commands to copy certain files/folders over to the destination drive!
Last updated 2006-09-25 23:00:43 by Unknown
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001 - 2016 msfn.org
Privacy Policy