Jump to content

$OEM$ doesn't copy, OemPreinstall=Yes


Recommended Posts

Hi, I've done a lot of reading, but I'm unable to determine why my $OEM$ directory (and therefore Cmdlines.txt) are not copying to the workstation.

I've followed the guide at unattended.msfn.org and done quite a lot of reading in the forums - I even have OemPreinstall set to Yes already ;)

;SetupMgrTag
[Data]
   AutoPartition=1
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended
   OemPreinstall=Yes
   UnattendSwitch=Yes
   OemSkipEula=Yes
   TargetPath=\WINDOWS
   OemFilesPath="$OEM$"
   OemPnPDriversPath="Drivers\002_Nvidia_45_23;Drivers\004_sound"
   DriverSigningPolicy=Ignore

[IEPopupBlocker]
   AllowedSites=www.msfn.org;www.amazon.com
   BlockPopups=Yes
   FilterLevel=Medium
   ShowInformationBar=Yes

[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   AutoLogon=Yes
   AutoLogonCount=1
   OEMSkipRegional=1
   TimeZone=260
   OemSkipWelcome=1

[UserData]
   ProductID=xxx
   FullName=xxx
   OrgName=xxx
   ComputerName=*

[Display]
   BitsPerPel=32
   Xresolution=1024
   YResolution=768
   Vrefresh=85

[TapiLocation]
   CountryCode=61
   Dialing=Tone
   AreaCode=7
   LongDistanceAccess="0"

[RegionalSettings]
   LanguageGroup=1
   SystemLocale=00000c09
   UserLocale=00000c09
   InputLocale=0c09:00000409

[FavoritesEx]
   Title1="MSFN"
   URL1="http://www.msfn.org"

[Branding]
   BrandIEUsingUnattended=Yes

[URL]
   Home_Page=about:blank

[Proxy]
   Proxy_Enable=0
   Use_Same_Proxy=1

[GuiRunOnce]

[Identification]
   JoinWorkgroup=WORKGROUP

[Networking]
   InstallDefaultComponents=No

[NetAdapters]
   Adapter1=params.Adapter1

[params.Adapter1]
   INFID=*

[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

Any help with this is appreciated.

Link to comment
Share on other sites


I've never needed this: OemFilesPath="$OEM$". By default, $OEM$ is used. Try removing that from your winnt.sif. To be honest, I'm not sure where setup will look if you just specify $OEM$ as the path.

Edit: Looking at a couple of other Winnt.SIFs, I've seen OemFilesPath="..\$OEM$". I suppose you could either try that or just remove the line altogether...

Link to comment
Share on other sites

I've never needed this: OemFilesPath="$OEM$". By default, $OEM$ is used. Try removing that from your winnt.sif. To be honest, I'm not sure where setup will look if you just specify $OEM$ as the path.

Edit: Looking at a couple of other Winnt.SIFs, I've seen OemFilesPath="..\$OEM$". I suppose you could either try that or just remove the line altogether...

I've also tried it with no OEMFilesPath line, and with the ..\$OEM$ line you mentioned.

It's SP2 slipstreamed - anyone have trouble with that?

Link to comment
Share on other sites

is your $OEM$ directory capitalized? it probly should be if it isnt, windows has some weird probs like that :P & the directory structure is correct?

99% sure it is, I'll post a screenshot of the directory structure in a second ...

Link to comment
Share on other sites

Hmm. Does the rest of your winnt.sif work correctly? ProductID and all that?

Yes. Everything else is totally automated.

EDIT: not totally true, I do the partitioning etc by myself, I meant that the GUI setup is all automated.

Edited by Chuckler
Link to comment
Share on other sites

Well crikey. I'm stumped. Maybe someone else will find something. In the meantime, If I think of something, I'll post it.

As unbelievable as this may sound, I just repacked the ISO and this time it worked ??

Nothing else changed. Wierd.

Anyway, thanks for the help!

Link to comment
Share on other sites

Check this entry

OemPnPDriversPath="Drivers\002_Nvidia_45_23;Drivers\004_sound"

I believe that you are making 2 strings into 1

Try this instead

OemPnPDriversPath="Drivers\002_Nvidia_45_23";"Drivers\004_sound"

I think that the inverted comma's left out maybe causing the problem?

Link to comment
Share on other sites

  • 4 weeks later...

i've had the same problem m$ told me to not put the oemfilespath inside the winnt.sif file and create the $OEM$ with a $1 underneath it and put the stuff i want to copy to machine under the dir $1 thats working then.

i.e. $OEM$ -> $1 -> Install -> Settings.vbs

A folder called Install will be on the root c:\ after installing with the slipstreamed sp2 cd.

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...