Cobra_1_Stas Posted June 6, 2006 Share Posted June 6, 2006 I tried this way:$OEM$\$$\Web\Wallpaper\123.jpg (it's copied to windows folder fine)$OEM$\$$\Resources\Themes\123.Theme (it's copied to windows folder fine too)winnt.sif: [Shell] CustomDefaultThemeFile="%WinDir%\Resources\Themes\123.Theme"123.Theme:; Copyright © Microsoft Corp. 1995-2001[Control Panel\Desktop]Wallpaper=%WinDir%\Web\Wallpaper\Cobra computers.jpgTileWallpaper=0WallpaperStyle=2Pattern=ScreenSaveActive=0And it's doesnt work... So what is the problem? Link to comment Share on other sites More sharing options...
Delprat Posted June 6, 2006 Share Posted June 6, 2006 Your file is "123.jpg" and your theme looks for "Cobra Computers.jpg"...You need to change one of these names to match the other.I recommend you to use a file name witout spaces that follow the 8.3 restriction, like "Cobra.jpg" (this is required if you launch the install from ms-dos)++ Link to comment Share on other sites More sharing options...
Cobra_1_Stas Posted June 6, 2006 Author Share Posted June 6, 2006 It's my mistake it's the same name in all files... I just renamed it for example and forgot to change the cobra computers.jpg to 123.jpg Can it be because of the space in the name of name? Link to comment Share on other sites More sharing options...
T D Posted June 6, 2006 Share Posted June 6, 2006 (edited) It doesn't support environment variables in the registry - well not in that section anyway. So you might have to make a batch file that translates %WinDir% to the windows dir and some REG ADD commands.An easier way, use an inf file to add the reg file! Edited June 6, 2006 by T D Link to comment Share on other sites More sharing options...
Delprat Posted June 7, 2006 Share Posted June 7, 2006 T D, you're wrong : both this winnt.sif line and this whathever.theme line supports the environment variable (for the theme file, that's the way the control panel writes the .theme file)Cobra, i don't know. I use %systemroot% instead of %windir%, but everything else is identical in my setup (without spaces), and it works... i'm sorry for this helpless post Link to comment Share on other sites More sharing options...
Cobra_1_Stas Posted June 8, 2006 Author Share Posted June 8, 2006 T D, you're wrong : both this winnt.sif line and this whathever.theme line supports the environment variable (for the theme file, that's the way the control panel writes the .theme file)Cobra, i don't know. I use %systemroot% instead of %windir%, but everything else is identical in my setup (without spaces), and it works... i'm sorry for this helpless post It ok now, its working (I think it was because of the space in the theme file...) TO ALL: THANKS FOR HELP Link to comment Share on other sites More sharing options...
T D Posted June 10, 2006 Share Posted June 10, 2006 (edited) I meant the regfile, underWallpaper=%WinDir%\Web\Wallpaper\Cobra computers.jpgI've tried variables in that but it didn't work, so i used reg add.I didn't say anything about it not working in winnt.sif... Edited June 10, 2006 by T D Link to comment Share on other sites More sharing options...
ricktendo Posted July 31, 2006 Share Posted July 31, 2006 Createur Addon http://www.ryanvm.net/forum/viewtopic.php?...&highlight= Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now