Jump to content

Recommended Posts

Posted

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.jpg
TileWallpaper=0
WallpaperStyle=2
Pattern=
ScreenSaveActive=0

And it's doesnt work... :( So what is the problem?


Posted

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)

++

Posted

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 :whistle:

Can it be because of the space in the name of name? :rolleyes:

Posted (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 by T D
Posted

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 :(

Posted
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 :D (I think it was because of the space in the theme file...) :whistle:

TO ALL: THANKS FOR HELP :)

Posted (edited)

I meant the regfile, under

Wallpaper=%WinDir%\Web\Wallpaper\Cobra computers.jpg

I'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 by T D
  • 1 month later...

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