Sign in to follow this  
Followers 0
milika

New utility to silently apply any theme!

17 posts in this topic

Hi, i am a long time reader, no poster, sorry...

but now ill try to make it up...

So...

I had no way of applying various themes

on my windows instalations, and some themes

just got corrupted from winnt.sif to the real installation.

I suspect my regtweaks but...

So i made this utility to painlessly and easily

apply any installed themes....

U will need to copy it to ur $$\System32 and

then do something like this

Applytheme THEMENAME

ex.

applytheme luna

applytheme royal

Just put in your RunOnceEx or cleanup.cmd or whatever...

Off course u will need the themes installed prior to usage...

u know the $$\resources\themes dir....

hope u like this small util...

ApplyTheme

bye...

0

Share this post


Link to post
Share on other sites

Does it support colour settings in the theme, such as "Metallic" (Silver) in luna?

0

Share this post


Link to post
Share on other sites

Does it support colour settings in the theme, such as "Metallic" (Silver) in luna?

it doesnt look like it, it works by just applying the theme file with a command line

Applytheme Royale

theme file must be in the Resources\Themes folder.

You can set the theme to use Metallic though by editing the .theme file. You could edit it and install it using the $OEM$ style copying.

In the theme file there is a section

[VisualStyles]
Path=%ResourceDir%\Themes\luna\luna.msstyles
ColorStyle=NormalColor
Size=NormalSize

If you change the

ColorStyle=NormalColor 
to
ColorStyle=Metallic

then it will use the Metallic colour settings.

Hope this helps

0

Share this post


Link to post
Share on other sites

Sorry to kick an old topic, but I have a question.

Does this utility also work from RunOnceEx?

Because when I run it, it changes the theme of the RunOnceEx window, but after the restart, the theme is back to normal again...

Am I doing something wrong?

0

Share this post


Link to post
Share on other sites

Apparantly, it does work when you run it during a "second" RunOnceEx installer. IE: if you reboot after everything has installed, but then you have set the applytheme in a RunOnceEx entry, it works without problem.

Does anyone know why this is?

If need be, I can post my winnt.sif and other files.

0

Share this post


Link to post
Share on other sites

Hey ya'll, i'm a bit confused as to what exactly this program does. From reading the first post from Milika it simply bypasses the default theme and applies what ever theme you want as long as it resides in the %windir%\Resources folder. However the last post from Ben.Hahlen he says that it changes his RunOnceEx window. :unsure: So if someone could clarrify this it would be great because i'm looking for a way to change the backdrop of my RunOnceEX window.

Thank you

0

Share this post


Link to post
Share on other sites

This utility is made to change the theme in to whatever theme you like, but it has to reside in the %windir%\resources\themes folder.

My post is only to ask whether I'm doing something wrong, because when I run it from RunOnceEx, it changes the theme, so the RunOnceEx window looks different, but then when it boots further into windows, the theme is back to Luna again, so I guess that @first logon there is some service not running yet, or something like it.

If you want to use a different theme for your RunOnceEx window, do the following:

1. set the theme

2. navigate to the HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ThemeManager key in your registry

3. export it.

4. add the code during cmdlines.txt, only using HKEY_USERS\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\ThemeManager instead of HKCU.

The reg-file will look like this:

[HKEY_USERS\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\ThemeManager]
"WCreatedUser"="1"
"LoadedBefore"="0"
"ThemeActive"="1"
"LastUserLangID"="1033"
"DllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
 74,00,25,00,5c,00,72,00,65,00,73,00,6f,00,75,00,72,00,63,00,65,00,73,00,5c,\
 00,54,00,68,00,65,00,6d,00,65,00,73,00,5c,00,52,00,6f,00,79,00,61,00,6c,00,\
 65,00,5c,00,52,00,6f,00,79,00,61,00,6c,00,65,00,2e,00,6d,00,73,00,73,00,74,\
 00,79,00,6c,00,65,00,73,00,00,00
"ColorName"="NormalColor"
"SizeName"="NormalSize"

This code sets the theme to royale.

Hope I've helped you.

(And I hope someone can help me :P).

0

Share this post


Link to post
Share on other sites

I found out why it didn't apply the themes correctly.

As I said, I thought that it was a service not started yet that caused the problem, and I was right :).

If you're running RunOnceEx, just make sure that you put

net start Themes

before you apply the theme.

That works perfectly (for me) :).

THanks for this utility :).

0

Share this post


Link to post
Share on other sites

Guess I cheered too soon...

Using the "net start themes" command doesn't do it. It did it once, but now it doesn't do it anymore :'(

Is someone able to help me??

0

Share this post


Link to post
Share on other sites

When i use with commandline its showing display properties not apply theme

"ApplyTheme.exe F_s_M"

F_s_M my visual style and not default on pc.My current language turkish.

0

Share this post


Link to post
Share on other sites
When i use with commandline its showing display properties not apply theme

"ApplyTheme.exe F_s_M"

F_s_M my visual style and not default on pc.My current language turkish.

It displays a dialog if u dont have the theme file in your resource dir...

bye

0

Share this post


Link to post
Share on other sites

I'm sorry for having to kick up this **old** topic but the file seems to be down. Does anyone still have this program?

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.