Jump to content

Theme load problem after unattended install


Recommended Posts

Hello All

If after completing an unattended install of windows XP pro I try to change themes I get an "Error loading theme. The theme could not load. Unspecified error" message. I am sure it has something to do with either the unattend setup or the registry entries that I change during installation. Can anyone see in the following text what could be causing this issue?

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

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=WINXP
OemPNPDriversPath=DRIVERS00_RAID
DriverSigningPolicy=Ignore
WaitForReboot=No
AutoActivate = Yes
Hibernation = No

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=255
OemSkipWelcome=1
ProfilesDir="c:\System Settings"


[Display]
BitsPerPel=32
Xresolution=1600
YResolution=1200

[SystemRestore]
DisableSR = 1
CreateFirstRunRp = 0

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

[Components]
cdplayer = off
charmap = on
chat = off
clipbook = on
deskpaper = off
dialer = off
Fax = On
freecell = off
hearts = off
hypertrm = off
media_clips = off
media_utopia = off
minesweeper = off
mousepoint = off
Msmsgs = Off
msnexplr = off
mswordpad = off
paint = off
pinball = off
rec = off
solitaire = off
spider = off
Vol = on
zonegames = off

[Networking]
InstallDefaultComponents=Yes

[RegionalSettings]
SystemLocale = 00000c09
UserLocale = 00000c09
InputLocale = 0c09:00000409

And the reg setting;

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"DisableAutoDaylightTimeSet"=dword:00000001

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
"LocalizedString"="System"

[HKEY_CLASSES_ROOT\CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}]
"LocalizedString"="Network"

[HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}]
"LocalizedString"="Files"

[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}]
"LocalizedString"="Recycler"

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}]
"LocalizedString"="IE"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,5B,E0,00,00,5C,E0,00,00,00,00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"ForegroundLockTimeout"=dword:00030d40
"CoolSwitchColumns"="8"
"CoolSwtitchRows"="4"
"ForegroundFlashCount"=dword:00000001

[HKEY_CURRENT_USER\Control Panel\Appearance\New Schemes\Current Settings SaveAll\Sizes]
"Color #1"= dword: 15780518

[HKEY_CURRENT_USER\Control Panel\Colors]
"Background"="0 128 128"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@shell32.dll,-12691" = "Recent Files"

[HKEY_CURRENT_USER\Control Panel\Sound]
"Beep" = "No"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"Link" = dword:00000001
"EnableAutoTray"=dword:0

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"ClearRecentDocsOnExit" = dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"ShowDriveLettersFirst" = dword:4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
"29" = "C:\\WINXP\\system32\\TweakUI.exe,3"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\comdlg32\PlacesBar]
"Place0"="F:\\Files"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:1

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:0
"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:0
"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:0

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"CascadeControlPanel"=dword:1
"CascadePrinters"=dword:1
"CascadeNetworkConnections"=dword:1
"EnableBalloonTips"=dword:1
"Start_AdminToolsRoot"=dword:2
"Start_AdminToolsTemp"=dword:2
"Start_LargeMFUIcons"=dword:0
"Start_MiniMFU"=dword:12
"Start_NotifyNewApps"=dword:0
"Start_ScrollPrograms"=dword:0
"Start_ShowControlPanel"=dword:2
"Start_ShowMyComputer"=dword:1
"Start_ShowMyDocs"=dword:1
"Start_ShowMyMusic"=dword:0
"Start_ShowMyPics"=dword:0
"Start_ShowNetConn"=dword:1
"Start_ShowNetPlaces"=dword:1
"Start_ShowPrinters"=dword:1
"Start_ShowRecentDocs"=dword:0
"StartMenuFavorites"=dword:0
"StartMenuScrollPrograms"="NO"
"StartMenuAdminTools"=dword:1

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\Components]
"Position"=hex:2c,00,00,00,60,02,00,00,00,00,00,00,e0,03,00,00,7e,04,00,00,00,00,00,00,01,00,00,00,01,00,00,00,
01,00,00,00,00,00,00,00,00,00,00,00


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
"DoReport"=dword:0

Regards

Phil

Link to comment
Share on other sites


Find patched Uxtheme.dll for Windows XP SP2 and make cab file of this one using followwing command

makecab uxtheme.dll

After exection of the command, you will get Uxtheme.dl_; replace this with exsiting in Windows Installtion source under I386 folder

Now include your custom visual style using OEM preinstall.

Copy your theme into $OEM$\Resources\Themes\ and set OEMPresinstall=Yes into your WINNT.SIF

Now you have to add these two lines to apply custom theme at instllation of Windows

[Shell]
CustomDefaultThemeFile = "%WinDir%\Resources\Themes\MyTheme.theme"

Link to comment
Share on other sites

Hello Neo

Thanks for the reply but I am not using custom themes. This happens if I try to change from the default blue theme to classic. If I use the

[Shell]
DefaultThemesOff = Yes

Then the classic theme is displayed but I cannot change it at all without the error appearing. This includes changing desktop color, screensaver etc.

Also due to an incompatibility issue with one of the programs I use I cannot upgrade to SP2 and am stuck using SP1. If I install from the original XP install disk and then patch to SP1 then the themes work fine.

Regards

Phil

Link to comment
Share on other sites

Hello All

I have narrowed this problem down to the registry settings. If I leave out the registry setting during the unattended install then the themes work fine even if I run the registry file after installation. There must be something in the registry file that conflicts with the installation of the themes during windows setup.

Regards

Phil

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