MSFN Forum: (Solved) Add Windows 7 Theme with your xml - MSFN Forum

Jump to content


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

(Solved) Add Windows 7 Theme with your xml

#1 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,747
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 April 2010 - 07:24 AM

from a ? here http://www.msfn.org/...post__p__920142
I only done a default theme just to test in a VM so you may need a bit more work with the other non MS themes
I chose Landscape and this is how I added to xml
:thumbup theme was applied

AutoUnattend.xml
    <settings pass="oobeSystem">
         <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <Themes>
                <ThemeName>C:\Windows\resources\Themes\landscapes.theme</ThemeName>
                <DefaultThemesOff>false</DefaultThemesOff>
                <DesktopBackground>%WINDIR%\web\wallpaper\Landscapes\img7.jpg</DesktopBackground>
            </Themes>
        </component>

you must select img from <DesktopBackground> within your modded theme
change processorArchitecture="amd64" to your processor

This post has been edited by maxXPsoft: 26 April 2010 - 07:32 AM



#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,665
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 10 September 2010 - 09:06 AM

I might be "un-solving" this one. Is there a way to choose a background COLOR instead of a picture? For example, I can select to use the Windows Classic theme, but the background color is azure. What if I wanted that to be black instead?

#3 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,747
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 September 2010 - 06:40 PM

don't see it in the waik or unattend.chm. only WindowColor specifies the color of the window glass and color effects
probably do it with reg in firstlogoncommands

#4 User is offline   ricktendo 

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

Posted 10 September 2010 - 06:49 PM

Did not know you could select a already installed theme, thought it only worked to create oem.theme...will have to run some tests

BTW would be nice if one could add more than one bg to the theme

#5 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 72
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 11 September 2010 - 03:45 PM

No, this

Quote

<ThemeName>C:\Windows\resources\Themes\landscapes.theme</ThemeName>

is wrong and results in an oem theme named C:\Windows\resources\Themes\landscapes.theme, not the selected one that's already there.

Quote

<DesktopBackground>%WINDIR%\web\wallpaper\Landscapes\img7.jpg</DesktopBackground>

Well, it still gives me an additional oem theme that doesn't stick to the original theme's settings (e.g. no sounds).

Will keep on testing, though.
Any more ideas?

Edit:
Okay, for the sake of completeness, I didn't verify this with Microsoft's landscapes theme, but with an oem theme which worked out of the box. That way an additional theme entry was created (a right click offered me to remove the oem theme) instead of selecting the existing one.

This post has been edited by Mikka: 13 September 2010 - 12:15 PM


#6 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,665
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 13 September 2010 - 11:06 AM

Also of note, this does not work, and you end up with the default Aero theme:
<ThemeName>C:\Windows\resources\Ease of Access Themes\classic.theme</ThemeName>


However, the only way to get this theme after install is to use this:
<DefaultThemesOff>true</DefaultThemesOff>


I haven't found a way to actually get one of the pre-installed themes to work, although in this case, using the second setting is fine for me.

Share this topic:


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

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



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