Jump to content

$OEM$ not working


Recommended Posts

Sorry if I sound dumb at this but I'm pulling my hair out with dispair here.

I've tried everything I can think of and I can't seem to find the exact answer to this problem.

I'm using nLite to create the unattanded setup file.

Created an $OEM$ folder.

Using Virtual PC to test the image file and installation

In the $OEM$ folder I've put the usual basic security programs, i.e antivirus, firewall, antispyware, directx.

In the winnt.sif file under [GuiRunOnce] I've tried

Command0=%systemdrive%\$oem$\start.cmd

Then during windows setup get an error message "C:\$OEM$\start.cmd not found"

So tried

Command0=%source%\$oem$\start.cmd

And nothing happens at all.

After installation completes, I did a search for the $OEM$ folder and it doesnt exist (enabled system files and folder view)

Can someone please tell me what I'm doing wrong?

Thank you so much.

Link to comment
Share on other sites


well your problem is here

Command0=%systemdrive%\$oem$\start.cmd

even though you create a $oem$ folder it dosnt mean a folder named $oem$ is being created in the system drive it just carrys files over to their proper locations

try omitting the $oem$ portion in your line like this and see if that works for you

Command0=%systemdrive%\start.cmd
Edited by Lost Soul
Link to comment
Share on other sites

Thanks for your reply.

Wouldn't that mean that it would just be looking for files in the root directory i.e c:\ instead of an seperate folder?

I thought the point of the $OEM$ folder was to copy its contents across to somewhere on the hard drive to install the files from there with a batch file?

Link to comment
Share on other sites

Please read the MSFN unattended guide, as this is explained there in detail.

Gee I hadn't thought of THAT ONE!! :angry:

You obviously haven't ready my post!

I can't get it to work!.. Hense why this post.

Link to comment
Share on other sites

You obviously haven't read the Unattended Guide ;) Click here for the page describing all this exactly. If you still have a question afterwards, please be specific as to what you don't understand in reference to the before mentioned web page.

Link to comment
Share on other sites

No sh*t Shirlock!! :angry:

Yes I HAVE read it.. THOROUGHLY...

Yes I DO still get the same problem.

I wasn't bloody born yesterday FFS! :realmad:

Sorry if I sound agressive, but I AM fed up of people saying "oh you haven't read it" when I CLEARLY have.. hense why I'm asking for some help.

If you haven't got anything constructive to add, don't bother replying.

I HAVE followed the instructions to the LETTER but it still doesn't work.. Hense why, again, I'm asking for some help.

Link to comment
Share on other sites

Hello MisterD!

The $OEM$ folder is NOT copied during the setup.

Arie correctly linked you to the guide, but if you say it isn't working it's probably because you didn't implement it right and not because you didn't read, so no need for aggression. :rolleyes:

As for what you are trying to do there are 2 possibilities:

1) Copying your programs to the HD and install from there

2) Running your programs from the installation CD.

From your example I see that you chose option 1.

The right way to implement it is to create under the $OEM$ folder another folder called $1. This folder tells the setup that all files and folders under it will be copied to the root directory where your OS was installed. under $1, create another folder (so you files won't be scattered around the root directory) for example "INSTALLS" and under this folder put all your programs:

$OEM$
|
|
------ $1
|
|
------- INSTALLS
|
|
Here you'll put your programs

as for the command to run during [GuiRunOnce] :

Command0=%systemdrive%\INSTALLS\start.cmd

And that should do it! :thumbup

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