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

New utility to silently apply any theme!

- - - - -

  • Please log in to reply
16 replies to this topic

#1
milika

milika
  • Member
  • 3 posts
  • Joined 13-May 05
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...


How to remove advertisement from MSFN

#2
willsion

willsion
  • Member
  • 3 posts
  • Joined 18-May 05
Try.Thanks.

#3
nexgolai

nexgolai
  • Member
  • 3 posts
  • Joined 04-May 05
Does it support colour settings in the theme, such as "Metallic" (Silver) in luna?

#4
Mike_Wilson

Mike_Wilson

    programmer

  • Member
  • PipPip
  • 142 posts
  • Joined 24-July 03
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

#5
milika

milika
  • Member
  • 3 posts
  • Joined 13-May 05
You said it all.. :)

thanks

#6
Ben.Hahlen

Ben.Hahlen

    Member

  • Member
  • PipPip
  • 116 posts
  • Joined 22-February 04
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?

#7
Ben.Hahlen

Ben.Hahlen

    Member

  • Member
  • PipPip
  • 116 posts
  • Joined 22-February 04
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.

#8
dwit

dwit

    Dwit

  • Member
  • 30 posts
  • Joined 31-October 04
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

#9
Ben.Hahlen

Ben.Hahlen

    Member

  • Member
  • PipPip
  • 116 posts
  • Joined 22-February 04
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).

#10
dwit

dwit

    Dwit

  • Member
  • 30 posts
  • Joined 31-October 04
thank you
:D

#11
Ben.Hahlen

Ben.Hahlen

    Member

  • Member
  • PipPip
  • 116 posts
  • Joined 22-February 04
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 :).

#12
Ben.Hahlen

Ben.Hahlen

    Member

  • Member
  • PipPip
  • 116 posts
  • Joined 22-February 04
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??

#13
scankurban

scankurban

    F_s_M

  • Member
  • PipPip
  • 240 posts
  • Joined 29-August 03
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.
Posted Image

#14
milika

milika
  • Member
  • 3 posts
  • Joined 13-May 05

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.

<{POST_SNAPBACK}>


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

bye

#15
Martijn

Martijn

    It's-a-me, Mario!

  • Member
  • PipPipPipPip
  • 524 posts
  • Joined 28-July 04
I'm sorry for having to kick up this **old** topic but the file seems to be down. Does anyone still have this program?

#16
cloferba

cloferba

    Member

  • Member
  • PipPip
  • 119 posts
  • Joined 25-April 08
the file is working..i can download it

but it doesnt work :S

i mean..i use the right commands but nothing occurs. maybe the program doesnt work anymore?

#17
coffee87

coffee87
  • Member
  • 1 posts
  • Joined 18-August 11
  • OS:XP Pro x86
  • Country: Country Flag
sorry for bringing up old post, but this is important to me.. does anyone have this Applytheme application? i cant download it because the link isn't working.. anyone?

thanks

Edited by coffee87, 18 August 2011 - 08:38 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users