Jump to content

Recommended Posts

Posted

Wondering if there is something I am missing? I read about the $OEM$ folder on the msfn tutorial for the unattended CD. But when I build a CD with the $OEM$ folder and a .bat file inside the $$ folder it does not copy over to the windows directory on install.

Any ideas? Is there a better way to run a batch file on the CD drive on the first login? I didn't see an environment variable for the CD drive letter.

Thanks!


Posted

Not to be mean, but have yo remebered to set the right variables in the winnt.sif?

[Unattended]
  OEMPreInstall=yes
  Unattendedswitch=yes

The first variable OEMPreInstall must be set to yes if the install shall copy the files/folders in $OEM$ to the harddrive at first login... :)

Did that solve your problem?

Wuhtzu

Posted

Looks like that may be the problem. Mine was set to no for the OEM preinstall. I'm not sure how I was supposed to know that though since every part of the tutorial that mentions the $OEM$ folder never mentions that variable!

Maybe this page should note that variable: http://unattended.msfn.org/global/oemfolders.htm

Thanks for the info. I'll give it a go to make sure that was the problem.

Posted

Before you give it a try I need to correct my self, it like this:

[Unattended]
  OemPreinstall=Yes
  UnattendSwitch=yes

Not like I said before (the unattended=yes was wrong, no ed at the end)

Make sure to do that correctly before you try :blushing:

By the way it is written here: http://unattended.msfn.org/intermediate/intro.htm

Remember you can always find all the variables in the file ref.chm which came with your deployment tool :thumbup

Wuhtzu

Posted

see, that's why there are INTRODUCTION PAGES! The guide is meant to be a read from start to finish (per section) not a take what you want and complain because it's not listed on every page type of thing.

The $OEM$ Folders page is meant to describe what EACH folder does, not tell how it's done. The reference page lists almost ALL the neccesary entries and yet you didn't read it. Nor did you read the introduction page of the section that deals with the $OEM$ page.

Posted

I did read it and did have it set. I'm not sure why it was no (maybe using nLite canged something?). But when adding the $OEM$ folders I thought I would only need to read that section.

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