Jump to content

Silently apply theme


Recommended Posts


you could use a registry file with the following code in

Windows Registry Editor Version 5.00 

;Install a custom Install Theme
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes]
"CustomInstallTheme"="%ResourceDir%\\themes\\[NAME OF THEME].theme"

Link to comment
Share on other sites

I'm not sure what you mean by clicking apply theme, Mine does it automatically

Basically, I used the bit where you can add themes in nLite, then clicked the button that said 'Insert all Local' and deleted the ones I didn't want. Then I made the one I wanted default by choosing it in the box that says Default next to the themes.

Then when I tested it all worked perfectly, on first boot a little box appeared which said 'Applying Theme' or something like that and did it all automatically wallpaper & visual style.

Hope That helped,

// Xeijin

Link to comment
Share on other sites

Well I'm not making installation CD. I just hoped that people with experience of unattended/silent applications could help better than some random board.

http://www.msfn.org/board/index.php?showto...ika++applytheme

Something like that but app is not available anymore. :/

The thing is to get theme applied instantly not after reboot (regtweaks), so only way is to run *.theme file and press apply. That little app did that, but is there any other way because I cant get it.

Link to comment
Share on other sites

You can execute the file with the autoit. Copy the text and save it as .au3, then convert it with Aut2exe to .exe.

Run(@ComSpec & " /c " & 'rundll32.exe Shell32.dll,Control_RunDLL desk.cpl desk,@Themes /Action:OpenTheme /File:' & $var1 & 'Resources\Themes\Royale Noir.theme"', "", @SW_HIDE)

WinWait("Propiedades de Pantalla", "",3)

Send("{ENTER}")

Exit

Don´t forgive to change the word "Propiedades de pantalla" to your language and also change the name of the theme.

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...