Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unattended installation ignoring $OEM$ directory?

Featured Replies

Hi,

Sort version:

What sorts of things would stop an unattended install from

copying the stuff from $OEM$ to my C: installation target?

Long version:

Doing an unattended install from a CDR in an IDE CDROM drive.

It kinda sorta works.

In addition to the contents of my OEM XP-with-SP2 CDROM,

my CDR includes the following files:

F:\I386\WinNT.SIF
F:\$OEM$\cmdLines.txt
F:\$OEM$\HKCU.reg
F:\$OEM$\HKLM.reg
F:\$OEM$\$1\Drivers\000_chipset\ <lotsa drivers etc in here>
F:\$OEM$\$1\Drivers\001_network\ <lotsa drivers etc in here>
F:\$OEM$\$1\Drivers\002_graphics\ <lotsa drivers etc in here>
F:\$OEM$\$1\Drivers\003_sound\ <lotsa drivers etc in here>
F:\$OEM$\$1\Install\guiRunOnce.cmd
F:\$OEM$\$$\Resources\Themes\Azul.theme
F:\$OEM$\$$\system32\oobe\oobeinfo.ini

Everything in $OEM$ seems to be ignored. I may be missing something,

but as far as I can tell, nothing in $OEM$ has been utilized. Upon

first login, I get a dialog box yelping that

C:\Install\guiRunOnce.cmd can't be found.

At that point, there is no Install or Drivers directory, anywhere on

any of my three HDD partitions (C:,D:,E:). c:\WINDOWS\Resources\Themes\

exists, of course, but doesn't contain my file Azul.theme .

Should these folders (copied from inside $OEM$\) be deleted by the time

the install completes and I login as a user? Or (my suspicion) why

would the installer have never copied any of the $OEM$ stuff over to

the C:\ in the first place?

None of the drivers have been installed. Though after login, I could

then do "Add Hardware : Network Adapter : Let me choose the files" and

I pointed Windows to F:\$OEM$\$1\Drivers\001_network\, and said Next,

and Windows correctly installed the eth0 driver.

I don't see any effects from either .reg file

The following snippets should have produced visible results:

<inside HKLM.reg>

;Disables Windows Tour bubble popup
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000

<inside HKCU.reg>

;Set default verb for FOLDERs to EXPLORE
[HKEY_CLASSES_ROOT\Folder\Shell]
@="explore"
;full path in Windows Explorer (file manager) title bar and address bar.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]
"FullPath"=dword:00000001
"FullPathAddress"=dword:00000001

F:\I386\WinNT.SIF seems to be parsed and utilized, for the most part.

Lines such as

[Unattended]
OemSkipEula=Yes
ProgramFilesDir="C:\Apps\"
CommonProgramFilesDir="C:\Apps\Common"
[GuiUnattended]
ProfilesDir="D:\Users\"
[UserData]
ProductKey=mypro-ductk-eygoe-shere-xxxx
FullName="First M Last"
[Branding]
BrandIEUsingUnattended=Yes
[URL]
Home_Page=my.yahoo.com
[Networking]
InstallDefaultComponents=No
[params.MS_TCPIP.Adapter1]
IPAddress=192.168.ipa.ddr

all appear to have had their effects as expected.

These are just a few lines from my SIF file -- ones whose effects

are really obvious. In fact, the only immediately obvious line

from the SIF that DIDN'T work was:

[GuiUnattended]

TimeZone=010

During install, when time came to confirm the setting for this,

it was set for Pacific Time.

Any and all hints/help will be hugely appreciated.

Thanks!

Following is my entire SIF, in case that helps...

Values for the following keys have been altered to protect the

guilty:

ProductKey, FullName, ComputerName

IPAddress, DefaultGateway, DNSServerSearchOrder

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

[Unattended]
FileSystem=*
OemSkipEula=Yes
UnattendMode=ProvideDefault
OemPreinstall=No
TargetPath=\WINDOWS
ProgramFilesDir="C:\Apps\"
CommonProgramFilesDir="C:\Apps\Common"
AutomaticUpdates=yes
OemPnPDriversPath="Drivers\000_chipset;Drivers\000_chipset\XP;Drivers\000_chipset\XP\SP;Drivers\001_network\WINXP;Drivers\002_graphics;Drivers\003_sound\SMAXWDM\W2K_XP"
DriverSigningPolicy=Ignore

[GuiUnattended]
ProfilesDir="D:\Users\"
EncryptedAdminPassword=NO
OEMSkipRegional=0
TimeZone=010

[UserData]
ProductKey=mypro-ductk-eygoe-shere-xxxx
FullName="First M Last"
OrgName=""
ComputerName=MyCPU

[Display]
BitsPerPel=32
Xresolution=1280
YResolution=1024
Vrefresh=60

[TapiLocation]
CountryCode=1

[RegionalSettings]
LanguageGroup=7,10,9,1

[Branding]
BrandIEUsingUnattended=Yes

[URL]
Home_Page=my.yahoo.com
Search_Page=google.com

[Proxy]
Proxy_Enable=0
Use_Same_Proxy=1

[Identification]
JoinWorkgroup=SALINAS

[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=No
UseDomainNameDevolution=No
EnableLMHosts=No
AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
SpecificTo=Adapter1
DHCP=No
IPAddress=192.168.ipa.ddr
SubnetMask=255.255.255.0
DefaultGateway=192.168.gwa.ddr
DNSServerSearchOrder=dns.1.ipa.ddr,dns.2.ipa.ddr
WINS=No
NetBIOSOptions=1

[Components]
msmsgs=off
msnexplr=off
zonegames=off

[Shell]
CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Azul.theme"

[GuiRunOnce]
"%systemdrive%\install\guiRunOnce.cmd"


Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.