MSFN Forum: Windows 7 Theme Integration - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Windows 7 Theme Integration whats wrong? Rate Topic: -----

#1 User is offline   Orsi 

  • Hasta la Windows Vista, baby
  • PipPip
  • Group: Members
  • Posts: 268
  • Joined: 09-October 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 June 2011 - 04:06 PM

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?


#2 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,233
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 June 2011 - 04:21 PM

<Themes> is not used to apply a copied theme its used to create one (CustomDefaultThemeFile did this and does not work anymore)

Quote

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

This post has been edited by ricktendo64: 04 June 2011 - 04:26 PM


#3 User is offline   Orsi 

  • Hasta la Windows Vista, baby
  • PipPip
  • Group: Members
  • Posts: 268
  • Joined: 09-October 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 June 2011 - 04:28 PM

what about the shuffle settings?

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



#4 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,233
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 June 2011 - 04:49 PM

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

#5 User is offline   Orsi 

  • Hasta la Windows Vista, baby
  • PipPip
  • Group: Members
  • Posts: 268
  • Joined: 09-October 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 June 2011 - 09:49 AM

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+FDAAAEAIAABA8uvurDFsIsP6YoKAAAAizAAAAAABAAAAAAAAAAAAAAAAA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JMAAAAAgr1zBp19GgUvHm1xZTij5SGAAAwCAAAAfAgBAAAAqAgLAoGAwBQZAAAAAAQAAAAAAAAAJyV8SdhWhj0uNb0o4zJfCDAAAAA4a9cQadvBI17hZdc2k4YukBAAAsAAAAwHAYAAAAgKA4CA0BQaAYGAAAAAAEAAAAAAAAQicFvUXoV4ItbzGNK+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 User is offline   ricktendo 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,233
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 June 2011 - 11:02 AM

Quote

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

This post has been edited by ricktendo64: 05 June 2011 - 11:06 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy