Jump to content

Don't copy from $OEM%


Recommended Posts

my winnt.sif is:

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

[Unattended]
   UnattendMode=DefaultHide
   OemSkipEula=Yes
   OemPreinstall = Yes
   OverwriteOemFilesOnUpgrade = Yes
   TargetPath=\WINDOWS
   UnattendSwitch="Yes"
   WaitForReboot="No"
   DriverSigningPolicy=Ignore

[GuiUnattended]
   AdminPassword="XXXXXXXXX"
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=135
   OemSkipWelcome=1

[UserData]
   ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
   ComputerName = Computer

[Display]
   BitsPerPel=32
   Xresolution=1024
   YResolution=768
   Vrefresh=72
   AutoConfirm=1

[TapiLocation]
   CountryCode=972
   Dialing=Tone
   AreaCode=02

[RegionalSettings]
   LanguageGroup=12

[Identification]
   JoinWorkgroup=WORKGROUP

[Networking]
   InstallDefaultComponents=Yes

[Shell]
   CustomDefaultThemeFile = "%WinDir%Resources\Themes\BlueTube.Theme"
   DefaultThemesOff = No

my %OEM$ folder is like this:

/
|
+-I386
+-$OEM$
   |
   +-$1
   +-$$
       |
       +-Resources
           |
           +-Themes
               |

I put my theme in the Theme directory at $OEM$ dir.

I installed the patch "Unsigned theme support" in nLite, that let me to use theme that didn't made by windows.

At the end of the installation my windows look is Classic style and no theme.

Wher did I go wrong?

* Sorry aboute the bad english, hope you understand and help me.

Link to comment
Share on other sites


I beleive I see the problem

[shell]CustomDefaultThemeFile = "%WinDir%Resources\Themes\BlueTube.Theme"

  DefaultThemesOff = No

It should be

[shell]  CustomDefaultThemeFile = "%WinDir%\Resources\Themes\BlueTube.Theme"

  DefaultThemesOff = No

Edited by TheeBeets
Link to comment
Share on other sites

Thanl for the reply.

I made what you tallec me to, and put the "/" after the "%WinDir%".

but it didn't work out, it still don't copping from the $OEM$ folder.

do you have any-thing else?

Link to comment
Share on other sites

Thanl for the reply.

I made what you tallec me to, and put the "/" after the "%WinDir%".

but it didn't work out, it still don't copping from the $OEM$ folder.

do you have any-thing else?

It did not work as its not "/" you need after WinDir it's "\"

Simply copy and paste what I placed before to winnt.sif and it will work fine

Copy & Paste

[Shell]
 CustomDefaultThemeFile = "%WinDir%\Resources\Themes\BlueTube.Theme"
 DefaultThemesOff = No

Edited by TheeBeets
Link to comment
Share on other sites

What I gave you does work and did u incorporate the uxtheme.dll file through nLite and its possible that you did not allow themes through a registry tweak by disabling them, there must be something somewhere not allowing it. If you are using a cleanup.cmd to restart windows before the WIMP environment is loaded that could be a problem as the theme isnt initialised, so if you restart it remove that section of the command and try again. Its all about the process of elimination!!

Link to comment
Share on other sites

  • 2 months later...

Is your structure like this

\$OEM$\$$\RESOURCES\THEMES\CODEOPUSC\CODEOPUSC.MSSTYLES

\$OEM$\$$\RESOURCES\THEMES\CODEOPUS.THEME

Edit:

You'll need a

[unattended]

OemFilesPath=.\$OEM$

in your winnt.sif

Rich

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