Orsi

Windows 7 Theme Integration

6 posts in this topic

Im trying to integrate a theme and set it as default in my Win 7 Setup

I 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 Aero

Any help to set the second as the default and make it work as a Aero theme?

0

Share this post


Link to post
Share on other sites

<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 by ricktendo64
0

Share this post


Link to post
Share on other sites

what about the shuffle settings?

[Control Panel\Desktop]
Wallpaper=%SystemRoot%\Web\Wallpaper\Gothic\10.jpg
TileWallpaper=0
WallpaperStyle=10
Pattern=

0

Share this post


Link to post
Share on other sites

BrandIcon, DesktopBackground, ScreenSaver, ThemeName, and WindowColor are all you can config, I would also like it if it were possible for slideshow settings

0

Share this post


Link to post
Share on other sites

I changed what ricktendo64 instructed but the same problem happens... 2 themes with the same Gothic name, even if theres only one gothic.theme file

Bellow is the theme file code:

; Copyright © Microsoft Corp.

[Theme]
; Windows 7 - IDS_THEME_DISPLAYNAME_BR
DisplayName=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,-54
Empty=%SystemRoot%\System32\imageres.dll,-55

[Control Panel\Cursors]
AppStarting=%SystemRoot%\cursors\aero_working.ani
Arrow=%SystemRoot%\cursors\aero_arrow.cur
Hand=%SystemRoot%\cursors\aero_link.cur
Help=%SystemRoot%\cursors\aero_helpsel.cur
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
Crosshair=
IBeam=
Link=

[Control Panel\Desktop]
Wallpaper=%SystemRoot%\Web\Wallpaper\Gothic\10.jpg
TileWallpaper=0
WallpaperStyle=10
Pattern=


[VisualStyles]
Path=%SystemRoot%\resources\Themes\Aero\Aero.msstyles
ColorStyle=NormalColor
Size=NormalSize
ColorizationColor=0
Transparency=1
Composition=1
VisualStyleVersion=10

[boot]
SCRNSAVE.EXE=

[MasterTh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AAAA

Interval=10000
Shuffle=1
[Theme.A]
[Theme.W]
DisplayName=Gothic

Whats wrong with it?

Is there a most efficient way to integrate a theme besides the simple "mount, copy and commit" way?

0

Share this post


Link to post
Share on other sites
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 by ricktendo64
0

Share this post


Link to post
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.