Jump to content

copy $OEM$ to hdd with /makelocalsource?


Recommended Posts

hey all

ok im using winnt32.exe from inside winPE and im starting it with the /makelocalsource switch which copies the setup files to the hdd... i have "oempreinstall=yes" in the winnt.sif file and the correct $OEM$ folder structure next to the i386 folder...

now with the /makelocalsource switch it creates the $OEM$ direcotry on the hdd but doesnt copy anything else in??? wtf??

what needs to be done so the $OEM$ dir gets copied correctly so programs can be installed after windows installs?

Link to comment
Share on other sites


When installing with winnt32.exe, the $OEM$ folder must be insde the i386 folder, ie. \i386\$oem$

Wrong. My $OEM$ is beside my I386, not inside, and it copies fine. I set mine up like a RIS image, but decided not to use RIS. I boot with BartPE and launch a batch file that formats the drive and starts the install.

Here is a snipit from a batch file that launched the install:

set AnswerFile=\\CRP16237\windist\unattend.txt
set SetupFiles=\\CRP16237\windist\I386

\\CRP16237\windist\I386\winnt32 /makelocalsource /tempdrive:C: /syspart:C: /s:%SetupFiles% /unattend:%AnswerFile%

And here is a snipit of my unattent.txt

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

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   TargetPath=\WINDOWS
   OemFilesPath=\\crp16237\windist\$oem$
   DriverSigningPolicy = "Ignore"
   NonDriverSigningPolicy = "Ignore"
   DriverSigningPolicy = "Ignore"
   OemPreinstall = "Yes"

Link to comment
Share on other sites

You can put $OEM$ wherever you like if you specify the path with OemFilesPath.

If OemFilesPath is omitted from winnt.sif then winnt32.exe setup looks for it under i386 by default.

Edited by Dahi
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...