Jump to content

msstyle installation


Recommended Posts

Hi, i want to know if someone found a way to automation installation of style like stylexp does. I don't understand how stylexp install .msstyle to be save by the system.... thanks.

Link to comment
Share on other sites


Yeah, forget about Style XP for themes in msstyle format. What you can do is write a .theme file to use the msstyle scheme and then specify that .theme file in winnt.sif. Windows will then use the specified theme instead of Luna (gettin' old, isn't it?). For this you work you will need to slipstream the hacked uxtheme.dll file - instructions for writing .theme files and slipstreaming the DLL can be found on this site. Search is your friend. :)

Link to comment
Share on other sites

ok thanks a lot, can you help me figure out exactly how .theme work and what is the possible configuration i can make when righting it... thanks !

Ps : i know all about hacked uxtheme and splistream...etc.. my question is more about the installation of the msstyle files because windows XP doesn't have an install function (WTF...) and i want to integrate a personnal installation program and my environnement but i don't know mutch about .theme creation. I know that stylexp automtatically generated these files from an .msstyle make a link and settings..etc... but i want to know if someone have make the same type of things.... tanks !

Link to comment
Share on other sites

just open any .theme file in notepad to see how it is done..

i used the luna.theme and modified it... just make sure you remove the line near the wallpaper that has something.dll, -2096 or similar written there...

modifying the theme, you will end up with something like what I have here (sets corona.msstyle, wallpaper and icons)

obviously, you have to have a modified uxtheme.dll file, so that you can use non digitally-signed theme files :)

use the winnt.sif theme setting to enable it

; Copyright © Microsoft Corp. 1995-2001

[Theme]
DisplayName=Corona

; My Computer
[CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]
DefaultValue=%SystemRoot%\Resources\Icons\MyComp.ico
; My Documents
[CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\DefaultIcon]
DefaultValue=%SystemRoot%\Resources\Icons\MyDoc.ico
; My Network Places
[CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\DefaultIcon]
DefaultValue=%SystemRoot%\Resources\Icons\Network.ico
; Recycle Bin
[CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]
full=%SystemRoot%\Resources\Icons\Full.ico
empty=%SystemRoot%\Resources\Icons\Empty.ico
; Control Panel
[CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\CPanel.ico
; Printer
[CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\Printer.ico
; Find
[CLSID\{2559a1f0-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\Find.ico
; Help
[CLSID\{2559a1f1-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\Help.ico
; Run
[CLSID\{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\Run.ico
; Folder
[HKCR\Folder\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\Folder.ico
; The Internet
[CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\Internet.ico

[Control Panel\Cursors]
Arrow=
Help=
AppStarting=
Wait=
NWPen=
No=
SizeNS=
SizeWE=
Crosshair=
IBeam=
SizeNWSE=
SizeNESW=
SizeAll=
UpArrow=
DefaultValue=Windows default
DefaultValue.MUI=@themeui.dll,-2043

[Control Panel\Desktop]
Wallpaper=%ResourceDir%\Themes\kenshin1.bmp
TileWallpaper=0
WallpaperStyle=2
Pattern=
ScreenSaveActive=0

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

[boot]
SCRNSAVE.EXE=

[MasterThemeSelector]
MTSM=DABJDKT
ThemeColorBPP=8

Link to comment
Share on other sites

  • 3 years later...
just open any .theme file in notepad to see how it is done..

i used the luna.theme and modified it... just make sure you remove the line near the wallpaper that has something.dll, -2096 or similar written there...

modifying the theme, you will end up with something like what I have here (sets corona.msstyle, wallpaper and icons)

obviously, you have to have a modified uxtheme.dll file, so that you can use non digitally-signed theme files :)

use the winnt.sif theme setting to enable it

; Copyright © Microsoft Corp. 1995-2001

[Theme]
DisplayName=Corona

; My Computer
[CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]
DefaultValue=%SystemRoot%\Resources\Icons\MyComp.ico
; My Documents
[CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\DefaultIcon]
DefaultValue=%SystemRoot%\Resources\Icons\MyDoc.ico
; My Network Places
[CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\DefaultIcon]
DefaultValue=%SystemRoot%\Resources\Icons\Network.ico
; Recycle Bin
[CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]
full=%SystemRoot%\Resources\Icons\Full.ico
empty=%SystemRoot%\Resources\Icons\Empty.ico
; Control Panel
[CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\CPanel.ico
; Printer
[CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\Printer.ico
; Find
[CLSID\{2559a1f0-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\Find.ico
; Help
[CLSID\{2559a1f1-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\Help.ico
; Run
[CLSID\{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\Run.ico
; Folder
[HKCR\Folder\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\Folder.ico
; The Internet
[CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\DefaultIcon]
Defaultvalue=%SystemRoot%\Resources\Icons\Internet.ico

[Control Panel\Cursors]
Arrow=
Help=
AppStarting=
Wait=
NWPen=
No=
SizeNS=
SizeWE=
Crosshair=
IBeam=
SizeNWSE=
SizeNESW=
SizeAll=
UpArrow=
DefaultValue=Windows default
DefaultValue.MUI=@themeui.dll,-2043

[Control Panel\Desktop]
Wallpaper=%ResourceDir%\Themes\kenshin1.bmp
TileWallpaper=0
WallpaperStyle=2
Pattern=
ScreenSaveActive=0

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

[boot]
SCRNSAVE.EXE=

[MasterThemeSelector]
MTSM=DABJDKT
ThemeColorBPP=8

Hmmmm, is not all you CLSID There work, this 2 will not work.

; Folder

[HKCR\Folder\DefaultIcon]

Defaultvalue=%SystemRoot%\Resources\Icons\Folder.ico

; The Internet

[CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\DefaultIcon]

Defaultvalue=%SystemRoot%\Resources\Icons\Internet.ico

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