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.

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

Featured Replies

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 ?


I'm not 100% sure but I think you might have to have "OemPreinstall = Yes" under the Unattended section of your winnt.sif.

also, as an advice i recommend you to post using quotes, for me it's too difficult find mistakes on every sintaxis on that lot of text :P

OemPreinstall=Yes
:D
  • Author

Thanks guys it worked.

:thumbup

Now I have to find out how to get Luna Silver Theme standard.

Search OemFilesPath inside opk.chm, there's a page to make unattended mui, you can find a directory structure for OemFilesPath. But I cant get it work on unattended cd, maybe it only works on RIS.

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.