Jump to content

$oem$\$1\install folder not getting copied?


Recommended Posts

Anyone help me?

Thats a great guide but i cannot get the $oem$\$1\install folders to copy accross automatically...

The only way i can do it is manually in a batch file...

%systemdrive%\install\main_batch.cmd runs from the winnt.sif file

but gives a file not found error for c:\install\main_batch

any ideas?

thanks

geebee

Link to comment
Share on other sites


  • 5 years later...

Hi

I have same problem I tried many times but the result is same after installion the following message is coming.

(Runonce Start)

Insattling Applications

Window is now setting up following tems:

>Adobe

Nlite

Then error messeage come

Window cannot find" c:\insatll\Adobe\adobe.exe. Make sure you typed name correctly, and then try again to search for a file, click the start button & then click search. ...OK..

Here is my $OEM$ Folder look like

d:\xpcd\$oem$

Inside OEM folder I have

1.) $$ (This folder have Resources & System32 folders inside. In Resource I have my Theme & in System32 I have CMDOW.exe

2.) install ( This folder have Adobe folder having Adobe.exe setup inside & N-lite folder having the n-lite.exe setup inside.

3.) Windows ( This folder have MyWeb folder inside, for wallpapers.)

4.) CMDLINES.txt

5.) RunOnceEX.cmd

Below here is my Codes.

CMDLines.txt

[COMMANDS]

"RunOnceEx.cmd"

RunOnceEx

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Adobe" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Adobe\Adobe.exe /qn" /f

REG ADD %KEY%\010 /VE /D "NLite" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\N-Lite\N-Lite.exe /sp- /verysilent

exit

WINNT.sif

;SetupMgrTag

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

FileSystem=*

Repartition=No

UnattendSwitch="yes"

DriverSigningPolicy=Ignore

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=190

OemSkipWelcome=0

[Components]

msmsgs=off

hearts=off

minesweeper=off

pinball=off

solitaire=off

spider=off

zonegames=off

freecell=off

fax=off

[shell]

CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Royale.theme"

[iEPopupBlocker]

AllowedSites=www.msfn.org;www.microsoft.com;www.adobe.com

BlockPopups=Yes

ShowInformationBar=Yes

[WindowsFirewall]

Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]

Mode = 0

[userData]

ProductKey=xxxxxxxxxxxxxxxxxx

FullName="XP_PRO3+"

OrgName=""

ComputerName=XP-ProS3

[Display]

BitsPerPel=32

Xresolution=1024

YResolution=768

Vrefresh=72

Autoconfirm=1

[RegionalSettings]

LanguageGroup=1

SystemLocale=00000409

UserLocale=00000409

InputLocale=0409:00000409

[FavoritesEx]

Title1="Cricket.url"

URL1=http://www.cricbuzz.com/

Title2="Currency Converter.url"

URL2=http://www.xe.com/

Title3="Yahoo Mail.url"

URL3=http://Mail.yahoo.com/

Title4="G-Mail.url"

URL4=http://www.gmail.com/

Title5="Hotmail.url"

URL5=http://www.hotmail.com/

Title6="Stock Market.url"

URL6=http://finance.yahoo.com/

Title7="New York Stock Exchange.url"

URL7=http://www.nyse.com/

Title8="Indian Stock Exchange.url"

URL8=http://www.moneycontrol.com/

Title9="Kuwait Stock Exchange.url"

URL9=http://www.kuwaitse.com/PORTAL/DEFAULT.ASPX/

Title10="Secure Server Mail.url"

URL10=http://email.secureserver.net/

Title11="MOI E-Services Kuwait.url"

URL11=http://eservices1.moi.gov.kw/engmoimain.nsf/

[branding]

BrandIEUsingUnattended=Yes

Home_Page=www.google.com

[Proxy]

Proxy_Enable=0

Use_Same_Proxy=1

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

I dont know what & where I am doing wrong kindly correct me :unsure:

Any help will highly appreciate.

Thanks & Regards

Link to comment
Share on other sites

<snip />

Insattling Applications

<snip />

Then error messeage come

Window cannot find" c:\insatll\Adobe\adobe.exe. Make sure you typed name correctly

<snip />

Here is my $OEM$ Folder look like

d:\xpcd\$oem$

Inside OEM folder I have

<snip />

2.) install ( This folder have Adobe folder having Adobe.exe setup inside & N-lite folder having the n-lite.exe setup inside.

<snip />

Try not only to make sure you've spelled things correctly, but also to put the Install directory in the correct location!

D:\XPCD\$OEM$\$1\Install

This will copy it ito %SystemDrive% during setup as per your RunOnceEx.cmd.

P.S In the script you've provided there appears to be missing double quotes on your n-Lite.exe line.

Link to comment
Share on other sites

Try not only to make sure you've spelled things correctly, but also to put the Install directory in the correct location!

D:\XPCD\$OEM$\$1\Install

This will copy it ito %SystemDrive% during setup as per your RunOnceEx.cmd.

P.S In the script you've provided there appears to be missing double quotes on your n-Lite.exe line.

Thanks dear for your fast reply

I checked, the Spells it was correct I just put Install folder in $1 & it work. :thumbup

Now Adobe installing wizard open (means it like manual install ...next- next & finish), it’s not installing silently....?

Any help is welcome

Thanks & Regards

Link to comment
Share on other sites

Well I'm afraid wih the information you've provided I cannot really help you.

I've got no idea what Adobe.exe is, the only time I've seen this file is on malware infected client PCs!

Link to comment
Share on other sites

Well I'm afraid wih the information you've provided I cannot really help you.

I've got no idea what Adobe.exe is, the only time I've seen this file is on malware infected client PCs!

I have Adobe Acrobat9. I am using file name Adobe as mention in script.

This is the code I am using.

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Adobe" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Adobe\Adobe.exe /qn" /f

Exit

dont mind i am new to this site /qn stands for what .EXE or .MSI

If you dont mind. Please can you make one code with .exe & one with .msi file.

Many Thanks for your help.

Link to comment
Share on other sites

Try this it seems that you may be using the wrong silent switches and are missing a few things in your

RunOnceEx cmd

see here:

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Adobe" /f

REG ADD %KEY%\005 /V 1 /D "\"%systemdrive%\install\Adobe\Adobe.exe\" /sAll /rs" /f

REG ADD %KEY%\010 /VE /D "NLite" /f

REG ADD %KEY%\010 /V 1 /D "\"%systemdrive%\install\N-Lite\N-Lite.exe\" /VERYSILENT /SP-" /f

Hope this helps

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