Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Windows 7 Theme Integration

- - - - -

  • Please log in to reply
5 replies to this topic

#1
Orsi

Orsi

    Hasta la Windows Vista, baby

  • Member
  • PipPip
  • 268 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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>][/code]
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?


How to remove advertisement from MSFN

#2
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,298 posts
  • OS:Windows 7 x64
  • Country: Country Flag
<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, 04 June 2011 - 04:26 PM.


#3
Orsi

Orsi

    Hasta la Windows Vista, baby

  • Member
  • PipPip
  • 268 posts
  • OS:Windows 7 x64
  • Country: Country Flag
what about the shuffle settings?

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


#4
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,298 posts
  • OS:Windows 7 x64
  • Country: Country Flag
BrandIcon, DesktopBackground, ScreenSaver, ThemeName, and WindowColor are all you can config, I would also like it if it were possible for slideshow settings

#5
Orsi

Orsi

    Hasta la Windows Vista, baby

  • Member
  • PipPip
  • 268 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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=

[MasterThemeSelector]
MTSM=DABJDKT

[Sounds]
; IDS_SCHEME_DEFAULT
SchemeName=@mmres.dll,-815
[Slideshow]
ImagesRootPIDL=2XAFA8BUg/E0gouOpBhoYjAArADMdmBAvMkOcBAAAAAAAAAAAAAAAAAAAAAAAAgUAEDAAAAAAIsPBJIEAcVauR2b3NHA8AACAQAAv7r76UoGC7TQCqCAAAQjCAAAAAQAAAAAAAAAAAAAAAAAAAAAXBQaA4GAkBwbAcHAzBAAAYBAGBQMAAAAAAg76QBLQAwVlJGA0AACAQAAv7r76goGC7TXEqCAAAQ4MAAAAAQAAAAAAAAAAAAAAAAAAAAAXBQZAIGAAAgEAgFAxAAAAAAA+6D08BBAXFETMBVQ+FDAAAEAIAABA8uvurDFsIsP6YoKAAAAizAAAAAABAAAAAAAAAAAAAAAAAAAAcFAhBAbAwGAwBQYAAHAlBgcAAAAYAw1EEDAAAAAA4rPPzHEAc0b0hWajBAA6AACAQAAv7rv+4MfC7TXEqCAAAQ5MAAAAAQAAAAAAAAAAAAAAAAAAAAAHBwbA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AsAAAAwHAYAAAAgKA4CA0BQaAYGAAAAAAEAAAAAAAAQicFvUXoV4ItbzGNK+cynwAAAAAAuWPHkW3bAS9eYWHnNJOmLZAAAALAAAA8BAHAAAAoCAuAAdAkGAmBgZAAAAAAQAAAAAAAAAJyV8SdhWhj0uNb0o4zJfCDAAAAA4a9cQadvBI17hZdc2k4YukBAAAsAAAAwHAYAAAAgKA4CA3BAZAAHAAAAAAEAAAAAAAAAA1BAAAQBAAAAALBQZAkHA6AgRA0EAUBQSAQEAAAACAAAAOBAAAsHA0AQMAMEAGBQNAEEAFBAMA0CAGBwNAUDABBQLAQDA4AAMAYDAtAgQAQEA4AwNA0CA1AQOAMEA3AARAkDAyAANAgDAFBgQAkDA9BAAAAAArAAAAoAAAAAAOBQYA0GAlBAAAgAAAAgDAAAAHBwbAQHAoBQaAMGAAAAAAsBAAAgCAAAAAQFA5BAcAUGAAAwEAAAAAAAAAAAAAAAAAAAAWAAAAA

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?

#6
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,298 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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, 05 June 2011 - 11:06 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN