Jump to content

Recommended Posts

Posted

Hi !

I want to install a visual style by default.

It's a .msstyles not a theme , but i don't want install a soft like styleXP.

Thanks for help.


Posted

ok i muste hacked the uxtheme.dll

But how and where i say the systeme to install my visual style ?

It's in the uxtheme.dll ??

Where i put my V.S. ??

I must use the winnt.sif ??

Could you explain me in more details please

Thanks for help & sorry for my bad English. :P

Posted

The Links Are For The Files To Use

1\ If you are using MSFN Way Of Making The CD For A Ua

A\ Delete The Uxtheme.DL_ In XPCD\I386\

Than Down Load The Uxtheme.Dl_ and place that in the XPCD\I386\

2\ Make Sure You Have This Line In Your Winnt.sif

[shell]

CustomDefaultThemeFile=%systemdrive%\WINDOWS\Resources\Themes\YOUR-THEME-NAME-HERE.Theme

Posted

Ok thanks , but does it woks for the Visual style ?

Can I put my xxxx.msstyles in the Ressource\theme folder ?

And in the winnt.sif it's the same way ?? I just need to remplace the xxxx.theme by the xxxx.msstyle ???

Thanks for help.

Posted

Here is mine.

winnt.sif:

[Shell]
   CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Storm\Storm.msstyles"
   DefaultStartPanelOff = "Yes"
   DefaultThemesOff = "No"

Theme is Storm.msstyles as you can see and is placed here on my cd:

X:\$OEM$\$$\Resources\Themes

Posted

If not, go to your display properties and choose your visual style under the appearance tab. Then go to the themes tab and save the custom theme, name it something. Put it in this forlder $OEM$\$$\Resources\Themes. In your winnt.sif file add this line.

[shell]

CustomDefaultThemeFile="%WinDir%\Resources\Themes\Your Name.theme"

]Bonkers[

Posted

Hi

I've try with :

[Shell]
  CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Storm\Storm.msstyles"
  DefaultStartPanelOff = "Yes"
  DefaultThemesOff = "No"

And i put my *.msstyle in XPCD\$OEM$\$$\resources\theme\mystyle.msstyles

But it doesn't work after the installation

Thanks for help.

  • 2 weeks later...
Posted
And i put my *.msstyle in XPCD\$OEM$\$$\resources\theme\mystyle.msstyles

If this is not a typo then you have missed an 's' from theme in the path. It should be XPCD\$OEM$\$$\resources\themes\mystyle.msstyles I believe.

Posted

I have about 100 themes/visual styles packed in a sfx .rar that is set to silently unpack to %windir%\recources\themes.

In my winnt.sif file i have placed the following:

[Shell]
CustomDefaultThemeFile = "%WinDir%\Resources\Themes\royale.theme"

Then in my hivedef.inf file, which is one of 5 files the registry is built from during install, I have the following:

;  Set Default Theme All Users
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Themes","InstallTheme","c:\windows\Resources\Themes\royale.theme"
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Themes","InstallVisualStyle","c:\windows\Resources\Themes\royale\royale.msstyles"

I have tried just the winnt.sif entry by itself and I have tried the reg entries by themselves, but neither worked, until I used both at the same time.

This causes the theme or visual style of my choosing to be the default on install for all users. Works great.

Posted

I Use A SFX File That Places The Files In The Correct Spot.

All it should be Is One Line In The Winnt.sif

[Shell] 
   CustomDefaultThemeFile=%systemdrive%\WINDOWS\Resources\Themes\XpGrey.Theme

That All I Use And The Theme Always Loads Up

On My Desktop.

Posted

@ SyntaxError

Regardless of the fact this is definitely not needed, if you are going to mess with the Hive files, try to keep your code the same as all the others e.g.

HKCU,"Software\Microsoft\Windows\CurrentVersion\Themes","InstallTheme",0x00000000,"c:\windows\Resources\Themes\royale.theme"

Or preferably do it properly, without hardcoding the drive letter into it!

HKCU,"Software\Microsoft\Windows\CurrentVersion\Themes","InstallTheme",0x00020000,"%SystemRoot%\Resources\Themes\royale.theme"

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...