Orsi Posted June 4, 2011 Share Posted June 4, 2011 Im trying to integrate a theme and set it as default in my Win 7 SetupI added the theme file to install.wim / Windows\Resourses\Themes, its wallpapers to Windows\Web\Wallpaper and set the following entry to Autounattend.xml in the oobe section:[code <Themes> <ThemeName>Gothic</ThemeName> <WindowColor>Slate</WindowColor> </Themes>]Everything works. It becames the default theme and so on, although its wallpapers dont behaves as it should and when I look at the installed themes it shows 2 gothic themes. One with only wallpaper and the second with all of them set to shuffle as I want, but its style is the classic one, instead of AeroAny help to set the second as the default and make it work as a Aero theme? Link to comment Share on other sites More sharing options...
ricktendo Posted June 4, 2011 Share Posted June 4, 2011 (edited) <Themes> is not used to apply a copied theme its used to create one (CustomDefaultThemeFile did this and does not work anymore)CustomDefaultThemeFile specifies the path to a customized theme file. These files may include a .bmp file for customized wallpaper. Notes This setting is deprecated. To define the default theme in Windows® 7, use the settings: BrandIcon, DesktopBackground, ScreenSaver, ThemeName, and WindowColor. You may also use a .theme file to add themes. Adding a default theme by using a .theme file is no longer supported.Here is an example how its used properly (just need to add the images, the .theme is generated)<Themes> <ThemeName>Fabrikam Theme</ThemeName> <DefaultThemesOff>false</DefaultThemesOff> <DesktopBackground>%WINDIR%\web\wallpaper\fabrikam.jpg</DesktopBackground> <BrandIcon>%programfiles%\Fabrikam\fabrikam-logo.png</BrandIcon></Themes>This creates a theme named oem.theme in %localappdata%\Microsoft\Windows\Themes Edited June 4, 2011 by ricktendo64 Link to comment Share on other sites More sharing options...
Orsi Posted June 4, 2011 Author Share Posted June 4, 2011 what about the shuffle settings?[Control Panel\Desktop]Wallpaper=%SystemRoot%\Web\Wallpaper\Gothic\10.jpgTileWallpaper=0WallpaperStyle=10Pattern= Link to comment Share on other sites More sharing options...
ricktendo Posted June 4, 2011 Share Posted June 4, 2011 BrandIcon, DesktopBackground, ScreenSaver, ThemeName, and WindowColor are all you can config, I would also like it if it were possible for slideshow settings Link to comment Share on other sites More sharing options...
Orsi Posted June 5, 2011 Author Share Posted June 5, 2011 I changed what ricktendo64 instructed but the same problem happens... 2 themes with the same Gothic name, even if theres only one gothic.theme fileBellow is the theme file code:; Copyright © Microsoft Corp.[Theme]; Windows 7 - IDS_THEME_DISPLAYNAME_BRDisplayName=Gothic; Computer - SHIDI_SERVER[CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]DefaultValue=%SystemRoot%\System32\imageres.dll,-109; Documents - IDI_MYDOCS[CLSID\{59031A47-3F72-44A7-89C5-5595FE6B30EE}\DefaultIcon]DefaultValue=%SystemRoot%\System32\imageres.dll,-123; Network - SHIDI_MYNETWORK[CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\DefaultIcon]DefaultValue=%SystemRoot%\System32\imageres.dll,-25; Recycle Bin - SHIDI_RECYCLERFULL SHIDI_RECYCLER[CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]Full=%SystemRoot%\System32\imageres.dll,-54Empty=%SystemRoot%\System32\imageres.dll,-55[Control Panel\Cursors]AppStarting=%SystemRoot%\cursors\aero_working.aniArrow=%SystemRoot%\cursors\aero_arrow.curHand=%SystemRoot%\cursors\aero_link.curHelp=%SystemRoot%\cursors\aero_helpsel.curNo=%SystemRoot%\cursors\aero_unavail.curNWPen=%SystemRoot%\cursors\aero_pen.curSizeAll=%SystemRoot%\cursors\aero_move.curSizeNESW=%SystemRoot%\cursors\aero_nesw.curSizeNS=%SystemRoot%\cursors\aero_ns.curSizeNWSE=%SystemRoot%\cursors\aero_nwse.curSizeWE=%SystemRoot%\cursors\aero_ew.curUpArrow=%SystemRoot%\cursors\aero_up.curWait=%SystemRoot%\cursors\aero_busy.aniDefaultValue=Windows AeroCrosshair=IBeam=Link=[Control Panel\Desktop]Wallpaper=%SystemRoot%\Web\Wallpaper\Gothic\10.jpgTileWallpaper=0WallpaperStyle=10Pattern=[VisualStyles]Path=%SystemRoot%\resources\Themes\Aero\Aero.msstylesColorStyle=NormalColorSize=NormalSizeColorizationColor=0Transparency=1Composition=1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AAAwEAAAAAAAAAAAAAAAAAAAAWAAAAAInterval=10000Shuffle=1[Theme.A][Theme.W]DisplayName=GothicWhats wrong with it? Is there a most efficient way to integrate a theme besides the simple "mount, copy and commit" way? Link to comment Share on other sites More sharing options...
ricktendo Posted June 5, 2011 Share Posted June 5, 2011 (edited) ADDING A DEFAULT THEME BY USING A .THEME FILE IS NO LONGER SUPPORTED.There are two themes because the XML code creates a oem.theme with the name Gothic (look in post above for the path) it will NOT apply the gothic.theme you have copied inside the wim Edited June 5, 2011 by ricktendo64 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now