22 unknown users

 Word :   Username :  
 
Bottom
Author
 Thread :

Change XP theme

 
n°21174
oviradoi
Profil: New Penguin
Avatar
profil
Posted on 05-19-2008 at 05:55:36 PM  
 

I have a question for the people who make the NSIS installer for the BricoPacks...

 

When you install a BricoPack, how do you guys make XP change theme from the Luna theme to the theme in the pack?
Do you do it by changing a registry key? If so, please tell me what key.
Or if you can, please copy-paste me the part of the NSIS script that does the change in theme

 

Thanks

answer
mood
GoogleAds
profil
Posted on 05-19-2008 at 05:55:36 PM  
 

answer
n°21175
Asher
Genius is not born , it is made....
Profil: Moderator
Avatar
profil
Posted on 05-19-2008 at 06:33:54 PM  
 

Welcome to CrXP Ove :smile:

 

I believe that there's a built-in patcher embedded with every XP compatible bricopack which is run spontaneoulsy during the intallation of bricopack , actually patching uxtheme.dll file is the only way to apply different visual styles on Windows XP :oui:

 

Have a nice stay :party:

answer
n°21176
oviradoi
Profil: New Penguin
Avatar
profil
Posted on 05-19-2008 at 09:40:55 PM  
 

I know that... The uxtheme.dll file is already patched...

 

Let me tell you the whole deal... I have build a custom Windows XP install disk. I have patched uxtheme.dll, and included a custom theme. In winnt.sif, I have specified that I want that theme to be used. After XP is installed, I use the RunOnceEx method to install Winamp, WinRAR, TC and many programs automatically. I have also made a program that runs while XP is installed, and allows the user to enter his name, computer name, and workgroup name (and lets him play solitaire, but that's not relevant :wink: ). If the user inputs the name, it uses that name to install. If the user does not input the name (if he's left the PC) it will use the name "User" to install, and then runs the program as the last of the RunOnceEx series, and modifies the computer name then.
The problem is this: if the user inputs the name, XP uses the theme supplied by me in the winnt.sif file. If the user does NOT enter the name, it falls to Windows Classic theme. I have investigated, and found no reason why this is happening.

 

Anyway... I don't want help for that... I think the best way of solving it is to make XP load the theme by adding it into the registry, but I don't know the key.
I want this: can you tell me the registry key you use to modify the theme?
How does the installer make XP use the new theme instead of the old (Luna) theme.
Please tell me.

answer
n°21180
Breakfastclub
Profil: Penguin Pro
Avatar
profil
Posted on 05-20-2008 at 05:56:48 AM  
 
answer
n°21183
oviradoi
Profil: New Penguin
Avatar
profil
Posted on 05-20-2008 at 08:40:15 AM  
 

Well, actually this is what I wanted...

 

CODESetRebootFlag true
SetOverwrite off
SetOutPath "$RESOURCES\Themes"
File /r "Extras\Skins\Emma Watson"
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\ThemeManager" "WCreatedUser" "1"
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\ThemeManager" "LoadedBefore" "0"
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\ThemeManager" "ThemeActive" "1"
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\ThemeManager" "ColorName" "NormalColor"
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\ThemeManager" "SizeName" "NormalSize"
WriteRegExpandStr HKCU "Software\Microsoft\Windows\CurrentVersion\ThemeManager" "DllName" "%SystemRoot%\resources\Themes\Emma Watson\Emma.msstyles"

 

I found it here:
http://www.msfn.org/board/Release-XPize-In...20&start=20

 

Thanks anyway :smile:

answer
n°21186
poiru
Profil: Moderator
Avatar
profil
Posted on 05-20-2008 at 04:56:38 PM  
 

Glad you solved your problems :smile: Enjoy Crystal XP!

answer

Go to:
Add a reply