rebrov Posted August 10, 2009 Posted August 10, 2009 i have issue : i have my xp cd files copied to my drive like D:\xpcdok now i want to change the theme to my current theme file like Royale.theme and the wallpaper to mycurrentwallpaper.png without nlite i just want to edit the cd files is this the right way : to download the theme files from internet and put them at the cd directory like this D:\xpcd\$OEM$\$$\Resources\Themes\Royale.theme and copied my new wallpaper to D:\xpcd\$OEM$\$$\Resources\Themes\Web\Wallpaper\mycurrentwallpaper.pngok what now i edited the .theme file to change the path of the wallpaper to that path upand in the winnt.sif i edited also the default theme and the default wallapaper to my current theme and my current wallpaperlike this : CustomDefaultThemeFile="%WinDir%\Resources\Themes\Royale.theme"CustomDefaultWallpaperFile=%WinDir%\Resources\Themes\Web\Wallpaper\mycurrentwallpaper.pngit should work now but after i install the windows the wallpaper worked only but the theme didn't work i find at desktop classic taskbar and classic theme not even default xp theme ..............any ideas ??
Tripredacus Posted August 10, 2009 Posted August 10, 2009 Awhile back I wrote an AutoIT program that changes a bunch of things, but it requires a restart in order to work. This sets a specific color scheme. In order for you to use a different one, you'll have to set your settings manually, then check the registry and change the values in the script. Maybe it will help you out. I generalized some of the code for posting since it is corporate branded for one of our customers. Also, since this script uses network resources, there needs to be an open connection with the server or else the file copy will fail.$key = "HKEY_CURRENT_USER\Software\Microsoft\Screensavers\Text3D"$key2 = "HKEY_CURRENT_USER\Software\Microsoft\Screensavers\Text3D\Screen 1"; Custom Logo setupMsgBox(64, "Custom Logo Setup", "This will install the Custom Logo onto the computer. The computer will restart when it is finished."); install fontFileCopy ( "\\xpserver\Install\LOGO's\Custom\FONT.TTF" , "C:\Windows\Fonts\FONT.TTF" )RegWrite ( "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" , "Font (TrueType)" , "REG_SZ" , "FONT.TTF" ); copy files to destinationFileCopy ( "\\xpserver\Install\LOGO's\Custom\OEMINFO.INI" , "C:\Windows\System32" )FileCopy ( "\\xpserver\Install\LOGO's\Custom\OEMLOGO.BMP" , "C:\Windows\System32" )FileCopy ( "\\xpserver\Install\LOGO's\Custom\WALLPAPER.BMP" , "C:\Windows" ); set screensaver optionsRegWrite ( "HKEY_CURRENT_USER\Control Panel\Desktop" , "SCRNSAVE.EXE" , "REG_SZ" , "C:\WINDOWS\system32\sstext3d.scr" )RegWrite($key,"AllScreensSame","REG_DWORD","0")RegWrite($key,"SurfaceType","REG_DWORD","1")RegWrite($key,"Specular","REG_DWORD","1")RegWrite($key,"SurfaceColor","REG_DWORD","7829367")RegWrite($key,"CustomTexture","REG_SZ","")RegWrite($key,"CustomEnvironment","REG_SZ","")RegWrite($key,"UseCustomColor","REG_DWORD","0")RegWrite($key,"UseCustomTexture","REG_DWORD","0")RegWrite($key,"UseCustomEnvironment","REG_DWORD","0")RegWrite($key,"MeshQuality","REG_DWORD","500")RegWrite($key,"Size","REG_DWORD","10")RegWrite($key,"RotationSpeed","REG_DWORD","10")RegWrite($key,"RotationStyle","REG_DWORD","1")RegWrite($key,"DisplayString","REG_SZ","Company")RegWrite($key,"DisplayTime","REG_DWORD","0")RegWrite($key,"FontWeight","REG_DWORD","700")RegWrite($key,"FontHeight","REG_DWORD","4294967200")RegWrite($key,"FontItalic","REG_DWORD","0")RegWrite($key,"FontCharSet","REG_DWORD","16909056")RegWrite($key,"FontPitchFamily","REG_DWORD","1627411490")RegWrite($key,"FontFace","REG_SZ","FONT")RegWrite($key2,"Leave Black","REG_DWORD","0")RegWrite($key2,"Disable Hardware","REG_DWORD","0")RegWrite($key2,"Width","REG_DWORD","0")RegWrite($key2,"Height","REG_DWORD","0")RegWrite($key2,"Format","REG_DWORD","0"); change windows appearanceRegWrite("HKEY_CURRENT_USER\Control Panel\Appearance","Current","REG_SZ","Red, White, and Blue (VGA)")RegWrite("HKEY_CURRENT_USER\Control Panel\Appearance","NewCurrent","REG_SZ","Red, White, and Blue (VGA)")RegDelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager")RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager","WCreatedUser","REG_SZ","1")RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager","ThemeActive","REG_SZ","0")RegWrite("HKEY_CURRENT_USER\Control Panel\Appearance\New Schemes","SelectedStyle","REG_SZ","13"); change Color SchemeRegWrite("HKEY_CURRENT_USER\Control Panel\Colors","ActiveBorder","REG_SZ","192 192 192")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","ActiveTitle","REG_SZ","128 0 0")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","AppWorkSpace","REG_SZ","255 255 255")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","Background","REG_SZ","0 0 66")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","ButtonAlternateFace","REG_SZ","192 192 192")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","ButtonDkShadow","REG_SZ","0 0 0")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","ButtonFace","REG_SZ","192 192 192")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","ButtonHilight","REG_SZ","255 255 255")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","ButtonLight","REG_SZ","192 192 192")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","ButtonShadow","REG_SZ","128 128 128")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","ButtonText","REG_SZ","0 0 0")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","GradientActiveTitle","REG_SZ","0 16 168")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","GradientInactiveTitle","REG_SZ","186 190 201")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","GrayText","REG_SZ","128 128 128")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","Hilight","REG_SZ","128 0 0")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","HilightText","REG_SZ","255 255 255")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","HotTrackingColor","REG_SZ","128 0 0")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","InactiveBorder","REG_SZ","192 192 192")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","InactiveTitle","REG_SZ","128 128 128")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","InactiveTitleText","REG_SZ","192 192 192")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","InfoText","REG_SZ","0 0 128")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","InfoWindow","REG_SZ","255 255 255")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","Menu","REG_SZ","192 192 192")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","MenuBar","REG_SZ","192 192 192")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","MenuHilight","REG_SZ","128 0 0")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","MenuText","REG_SZ","0 0 0")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","Scrollbar","REG_SZ","192 192 192")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","TitleText","REG_SZ","255 255 255")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","Window","REG_SZ","255 255 255")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","WindowFrame","REG_SZ","0 0 0")RegWrite("HKEY_CURRENT_USER\Control Panel\Colors","WindowText","REG_SZ","0 0 0"); set background imageRegWrite("HKEY_CURRENT_USER\Control Panel\Desktop","Wallpaper","REG_SZ","C:\Windows\WALLPAPER.BMP"); notifies Windows of the system color change, not functional, removed; restarts the pcRun ( "c:\windows\system32\shutdown.exe -r -f -t 0" )
HØLLØW Posted August 10, 2009 Posted August 10, 2009 Hey rebrov,you don't have to use a script to do that.Use this code in the "WINNT.SIF" file:CustomDefaultThemeFile = "%WinDir%\Resources\Themes\MyTheme.theme"You don't have to use that:CustomDefaultWallpaperFile=%WinDir%\Resources\Themes\Web\Wallpaper\mycurrentwallpaper.pngJust setup your theme in your current windows installation, change the wallpaper an then save your theme as a file in the directory on your windows cd. The wallpaper must be also in the right folder.Then it should work.
g-force Posted August 16, 2009 Posted August 16, 2009 Does your theme work if you set it manually after install?If don`t, it`s unsupported by XP - you`ll need "uxtheme-patch" (google for that).
HØLLØW Posted August 16, 2009 Posted August 16, 2009 Does your theme work if you set it manually after install?If don`t, it`s unsupported by XP - you`ll need "uxtheme-patch" (google for that).Yeah, that can be also a problem by setting up the theme.
rebrov Posted August 17, 2009 Author Posted August 17, 2009 no no sorry for delay reply its just worked thanks
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now