Jump to content

$OEM$ directory (and subdirs) won't copy


Recommended Posts

Hi all,

I'm having a strange problem with making an unattended install of Windows XP Pro with SP2. I got SP2 from the microsoft servers and used Autostreamer to slipstream it. I have just the following winnt.sif

;SetupMgrTag

[Components]

AutoUpdate = Off ;Auto Update

Deskpaper = Off ;Desk Paper

Dialer = Off ;Phone Dialer

Iis_common = Off ;Common Files

Iis_ftp = Off ;FTP Service

Iis_inetmgr = Off ;Internet Information Services Snap-In

Iis_smtp = Off ;SMTP Service

Iis_nntp = Off ;NNTP Service

Iis_webadmin = Off ;IIS Web UI for Web server administration

Iis_www = Off ;IIS World Wide Web Service

Iis_www_vdir_scripts = Off ;IIS Optional Scripts Directory

Fp_extensions = Off ;FrontPage® 2000 Server Extensions

Media_clips = Off ;Media Clips

Msnexplr = Off ;MSN Explorer

Mswordpad = Off ;MS Wordpad

OEAccess = Off ;Outlook Express

Paint = Off ;MS Paint

WMAccess = Off ;Windows Messenger

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

AutomaticUpdates="No"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

Repartition=No

Hibernation=No

OemPnPDriversPath="Drivers\001_Network;Drivers\006_storage;"

DriverSigningPolicy=Ignore

OemSigningPolicy=Ignore

OemFilesPath="..\$OEM$"

OverwriteOemFilesOnUpgrade=No

UnattendSwitch="Yes"

WaitForReboot="No"

TargetPath=\Windows

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

AutoLogon=Yes

AutoLogonCount=3

OEMSkipRegional=1

TimeZone=85

OemSkipWelcome=1

[userData]

ProductKey=

FullName="JSL"

OrgName="JSL"

ComputerName=*

[Display]

BitsPerPel=16

Xresolution=800

YResolution=600

Vrefresh=75

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

[PCHealth]

RA_AllowFullControl = 0

RA_AllowToGetHelp = 0

RA_AllowUnsolicited = 0

ER_Enable_Reporting = 0

[shell]

DefaultThemesOff = No

DefaultStartPanelOff = No

[WindowsFirewall]

Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]

Mode = 0

I'm using the cmdlines.txt which is located in the $OEM$ dir

[COMMANDS]

"RunOnceEx.cmd"

RunOnceEx.cmd looks like this which is also located in the $OEM$ dir

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\010 /VE /D "WMP 9 Codecs" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\wmp9_mm2\wm9codecs.exe /q" /f

REG ADD %KEY%\015 /VE /D ".NET Framework v1.1" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\netframe\netfx.msi /qn" /f

REG ADD %KEY%\020 /VE /D "MSN Messenger 6.2" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\msn\MsnMsgs.msi /qn" /f

REG ADD %KEY%\025 /VE /D "TweakUI 2.10 Powertoy" /f

REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\powertoy\TweakUI.msi /qn" /f

REG ADD %KEY%\030 /VE /D "Task Switcher" /f

REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\powertoy\tasksw.exe /s /v/qn" /f

REG ADD %KEY%\035 /VE /D "Acrobat Reader 6.01" /f

REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\adobe\AR.msi /qn" /f

REG ADD %KEY%\055 /VE /D "Flash Player 7" /f

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\flash\flash7.msi /qn" /f

REG ADD %KEY%\995 /VE /D "Cleaning Up" /f

REG ADD %KEY%\995 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

Directory Structure looks like this

$OEM$

$$

$1

Drivers

Install

I have made an unattended XP cd before with Sp1a slipstreamed and it worked fine.

Could this be a bug in Windows XP SP2 that the $OEM$ directory and subdirectory won't copy? RunOnceEx.cmd works fine because after reboot it tries to install the programs but it can't find them. Has someone else had this problem ?

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...