Jump to content

why cannot set Theme by autounattend.xml?


Recommended Posts

I had made Autounattend Vista installation DVD using WSIM in WAIK, all worked ok but it cannot set the customized Theme......

I have saved a customized theme with customized aero color and wallpaper, and this theme file copied with a $OEM$ configuration set, but when installation complete,theme didnot set...,,,but I can set it manual in control panel.

this is the code in autounattend.xml:

			<Themes>
<CustomDefaultThemeFile>%systemroot%\Resources\Themes\VIVIAV.theme</CustomDefaultThemeFile>
<DefaultThemesOff>false</DefaultThemesOff>
</Themes>

this is content of VIVIAV.theme:

[Theme]
DisplayName=畅想视听

; My Computer
[CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]
DefaultValue=%SystemRoot%\explorer.exe,0

; My Documents
[CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\DefaultIcon]
DefaultValue=%WinDir%SYSTEM32\mydocs.dll,0

; My Network Places - SHIDI_MYNETWORK
[CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\DefaultIcon]
DefaultValue=%WinDir%SYSTEM32\imageres.dll,-25

; Recycle Bin
[CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]
full=%SystemRoot%\system32\imageres.dll,-54
empty=%SystemRoot%\system32\imageres.dll,-55

[Control Panel\Cursors]
AppStarting=%SystemRoot%\cursors\aero_working.ani
Arrow=%SystemRoot%\cursors\aero_arrow.cur
Crosshair=
Hand=%SystemRoot%\cursors\aero_link.cur
Help=%SystemRoot%\cursors\aero_helpsel.cur
IBeam=
No=%SystemRoot%\cursors\aero_unavail.cur
NWPen=%SystemRoot%\cursors\aero_pen.cur
SizeAll=%SystemRoot%\cursors\aero_move.cur
SizeNESW=%SystemRoot%\cursors\aero_nesw.cur
SizeNS=%SystemRoot%\cursors\aero_ns.cur
SizeNWSE=%SystemRoot%\cursors\aero_nwse.cur
SizeWE=%SystemRoot%\cursors\aero_ew.cur
UpArrow=%SystemRoot%\cursors\aero_up.cur
Wait=%SystemRoot%\cursors\aero_busy.ani
DefaultValue=Windows Aero
DefaultValue.MUI=@main.cpl,-1020

[Control Panel\Desktop]
Wallpaper=%SystemRoot%\Web\Wallpaper\VIVIAV.jpg
TileWallpaper=0
WallpaperStyle=2
Pattern=
ScreenSaveActive=1

[boot]
SCRNSAVE.EXE=%SystemRoot%\System32\PhotoScreensaver.scr

[MasterThemeSelector]
MTSM=DABJDKT
ThemeColorBPP=4

[VisualStyles]
Path=%SystemRoot%\resources\Themes\aero\aero.msstyles
ColorStyle=NormalColor
Size=NormalSize
ColorizationColor=0X00FFFFFF

Link to comment
Share on other sites


What pass are you setting it in? Is it in oobeSystem or specialize

Haven't seen that before, could try removing the <DefaultThemesOff> part

Cause this is a little confusing

true

Specifies that the classic Windows visual style is displayed, instead of the default visual style.

false

Specifies that the default visual style is displayed.

Link to comment
Share on other sites

  • 1 month later...
With OOBE enabled it didnt work for me either, but with everything automated, users accounts and stuff tooo CustomTheme worked for me...

OOBE enabled ??

Out Of Box Experience, I mean the user account create screen etc.. When you dont have that automated in your xml, your custom theme entry in your xml wont work either. ;)

Link to comment
Share on other sites

  • 5 months later...

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