Jump to content

OEM Files not being copied


Recommended Posts

Hope someone can help. I have created an unattended install, created an iso file, put it onto CD and successfully install Windows XP. Unfortunately it has not copied the contents of the $oem$ folder to the appropriate locations. A script is supposed to run at first logon but because nothing has been copied from the $oem$ folder nothing happens. In the direcftory structure on the CD the $oem$ folder is on the same level as the I386 etc. folders. My winnt.sif file which I have put under the I386 folder is as follows:

;SetupMgrTag

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

AutomaticUpdates=yes

[unattended]

UnattendMode=DefaultHide

OemSkipEula=yes

OemPreinstall=No

UnattendSwitch="yes"

TargetPath=\WINDOWS

[GuiUnattended]

AdminPassword=27b4d5133f48764aaad3b435b51404ee051f6e0f6488392580e3bd42fe0d1735

EncryptedAdminPassword=Yes

OEMSkipRegional=1

TimeZone=85

OemSkipWelcome=1

[userData]

ProductKey=

FullName="Eclipse"

OrgName="Eclipse Marketing Ltd"

[Display]

BitsPerPel=32

Xresolution=1024

YResolution=768

[RegionalSettings]

LanguageGroup=1

SystemLocale=00000809

UserLocale=00000809

InputLocale=0809:00000809

[identification]

JoinDomain=********

DomainAdmin=*********

DomainAdminPassword=***********

[Networking]

InstallDefaultComponents=No

[NetAdapters]

Adapter1=params.Adapter1

[params.Adapter1]

INFID=*

[NetClients]

MS_MSClient=params.MS_MSClient

[NetServices]

MS_SERVER=params.MS_SERVER

[NetProtocols]

MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]

DNS=Yes

UseDomainNameDevolution=No

EnableLMHosts=Yes

AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]

SpecificTo=Adapter1

DHCP=Yes

WINS=No

NetBIOSOptions=0

[WindowsFirewall]

Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]

Mode = 0

[Components]

msmsgs=off

msnexplr=off

freecell=off

hearts=off

minesweeper=off

pinball=off

solitaire=off

spider=off

zonegames=off

[GuiRunOnce]

%SYSTEMDRIVE%\INSTALL\START.CMD

Hope that someone can help.

Edited by djwheeler
Link to comment
Share on other sites


Hey :hello:

this is why it doesn't work:

OemPreinstall=No

should be

OemPreinstall=YES

EDIT

IMPORTANT: Please remove your serial key

Of course, thanks for that - having these things looked at by a fresh pair of eyes is always good eh? Thanks for the other tip as well, thought I had removed all of that kind of information.

Link to comment
Share on other sites

Hi, newbie here.

I was just about to ask the same Q, about why it doesn't copy the contents of the $OEM$ folder !

Thanks erik_demon, but this seems to be for the %SYSTEMDRIVE%\INSTALL\START.CMD if thats the case I am having the same problem with RunOnceEx.cmd, windows loads no prob, but when it reboots the GUI comes up, with the list of installs, but error after error, telling me that the c:\install\.........\........\ could not be found, this goes on until its finished ! now the software is on the DvD disk, which is %systemdrive%\install\.............. etc. sop i pressume the $OEM$ folder is ment to be copied to the c:\root ! is this correct !

I would really like some insite into runOnceEx.cmd, I have read the help files & looked around this excellent site, but I can't make heads/tails of this runOnceEx.cmd, start.cmd is easy but this.......................

Anyway i hope someone can help out..

Thanks

Link to comment
Share on other sites

Hey Welcome to MSFN :hello:

so i pressume the $OEM$ folder is ment to be copied to the c:\root ! is this correct !

This is not entirely correct. If you want to copy some files to the root of the drive where windows is installed (for you is that the C drive), you have to create a folder inside the $OEM$ folder. This folder is called $1. Your structure should now look like this:

$OEM$\$1\install\enz

for more info about this, please check-out this page

For more info about the RunOnceEx, look here

and if you want to install directly from the CD, look here (this however is a bit more diffecult, I would recommend you to start with the link above first.

Good luck!!

Edited by erik_demon
Link to comment
Share on other sites

I Have Not Gotten To The More Technical End Of Installing Drivers Or Other Apps Yet But I Did Have An Issue With It Reading My Cmdlines Until I Added

OemFilesPath=D:\$oem$ - D Being My CdRom Of Course

OemPreinstall=Yes

And It Only Worked When I Added It Above OemPreinstall=Yes

I Hope This Helps Some

Oh And BTW If Ur Goung To Add PnP Drivers According To The Deploy.Chm This Should Be The Order

[unattended]

OemFilesPath="%SYSTEMDRIVE%\OEM_Files"

OemPnPDriversPath=MyFolder1; MyFolder2

OemPreinstall=Yes

Edited by Corn~Julio
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...