MSFN Forum: Easier Way To Install Custom Themes? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Easier Way To Install Custom Themes? There MUST be an easier way... Rate Topic: -----

#1 User is offline   keenie 

  • Group: Members
  • Posts: 6
  • Joined: 20-September 03

  Posted 08 October 2003 - 03:25 AM

Hi.
I'm trying to intagrate the ChaNinja RC5 theme (and others) into my Unattended XP install.

ATM I'm using (see below) to copy the files off the CD into the relivent DIRs
ECHO.
ECHO Instaling ChaNinja RC5 Theme
ECHO Please Wait...
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Akira\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Balloo\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Deviant\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Jubei\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Jungle\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Kohga\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Normalcolor\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Shadow\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\SubZero\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Yin\"

COPY "%systemdrive%\install\themes\ChaNinja.Theme" "%WinDir%\Resources\Themes\"
COPY %systemdrive%\install\themes\ChaNinjaStyle_RC5\ChaNinjaStyle_RC5.msstyles" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Akira\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Akira\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Balloo\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Balloo\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Deviant\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Deviant\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Jubei\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Jubei\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Jungle\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Jungle\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Kohga\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Kohga\"
COPY %systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Normalcolor\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Normalcolor\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Shadow\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Shadow\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\SubZero\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\SubZero\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Yin\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Yin\"


Now, is there an easier/quicker way to copy all these files off the CD? :/
[/n00b]

cheers,
keenie


#2 User is offline   gosh 

  • gosh 2.0
  • Group: Patrons
  • Posts: 2,347
  • Joined: 03-October 03
  • OS:none specified
  • Country: Country Flag

Posted 08 October 2003 - 03:29 AM

One word: OEMPreinstall.

In unattend file set OEMPreinstall=Yes, and make the folder $OEM$\$$\Resources\Themes

That's it. I mentioned this in my tips and tweaks thread. One thing ive noticed is some people here seem to put everything into a big long batch file that does everything. There's nothing wrong with doing that, however i think an OEMPreinstall would be a better method of deploying files.

-gosh

#3 User is offline   keenie 

  • Group: Members
  • Posts: 6
  • Joined: 20-September 03

Posted 08 October 2003 - 03:38 AM

Thank you :)

#4 User is offline   squallgreg 

  • Junior
  • Pip
  • Group: Members
  • Posts: 81
  • Joined: 06-October 03

  Posted 08 October 2003 - 04:03 AM

gosh, on Oct 8 2003, 11:29 AM, said:

One thing ive noticed is some people here seem to put everything into a big long batch file that does everything.  There's nothing wrong with doing that, however i think an OEMPreinstall would be a better method of deploying files.

In what does this OEM install differ from the full unattend method ?

#5 User is offline   keenie 

  • Group: Members
  • Posts: 6
  • Joined: 20-September 03

Posted 08 October 2003 - 04:27 AM

squallgreg, on Oct 8 2003, 04:03 AM, said:

In what does this OEM install differ from the full unattend method ?

from the looks of it, all it does is automatically copies the contents of the \$$\ directory to %WINDIR% (typically C:\WINDOWS\)
eg. $OEM$\$$\Resources\ gets copied to C:\WINDOWS\Resources\

I could be wrong tho

#6 User is offline   scankurban 

  • F_s_M
  • PipPip
  • Group: Members
  • Posts: 240
  • Joined: 29-August 03

Posted 08 October 2003 - 10:33 AM

Guys I'm using another way.It's simple and better the others.Why.Because many theme files too big for cd install.My unattend xp installing 84 diffirent programs and 47 themes and hotfixes.I'm everytime making my own setup or compressing files with winrar.
For example themes.47 diffirent theme more than 80 mb.When use winrar its only 12 mb.Especially themes more compressable files.Why don't you use Winrar

This comment extracting automatically theme files to resources folder

path=%SYSTEMROOT%\Resources\Themes
Silent=2

And adding to mainbatch file thats it.

#7 User is offline   squallgreg 

  • Junior
  • Pip
  • Group: Members
  • Posts: 81
  • Joined: 06-October 03

Posted 08 October 2003 - 03:13 PM

Are you using Winrar in DOS commands to extract the archive ? from a batch file in GuiRunOnce ? I dont really understand your explanations...^^

#8 User is offline   flattspott 

  • Junior
  • Pip
  • Group: Members
  • Posts: 56
  • Joined: 30-September 03

Posted 08 October 2003 - 03:25 PM

No, what he's saying is you zip up your theme into an exe then make it so the path to extract is Windows/Resources/Themes

#9 User is offline   squallgreg 

  • Junior
  • Pip
  • Group: Members
  • Posts: 81
  • Joined: 06-October 03

Posted 08 October 2003 - 04:01 PM

oh I see now. that's clever yea ^^
but that only works for the files you just need to copy to your HD.

#10 User is offline   TheeBeets 

  • Member
  • PipPip
  • Group: Members
  • Posts: 234
  • Joined: 10-April 05

Posted 15 April 2005 - 04:29 AM

I cant figure out exactly how to get a theme as when I put a [Shell] Command all I get when trying to install windows is a line error in 66 and it says it cannot continue.

Attached File  winnt_edit_.sif (3.24K)
Number of downloads: 65

#11 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 15 April 2005 - 06:49 AM

keenie, on Oct 8 2003, 05:25 AM, said:

Hi.
I'm trying to intagrate the ChaNinja RC5 theme (and others) into my Unattended XP install.

ATM I'm using (see below) to copy the files off the CD into the relivent DIRs
ECHO.
ECHO Instaling ChaNinja RC5 Theme
ECHO Please Wait...
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Akira\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Balloo\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Deviant\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Jubei\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Jungle\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Kohga\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Normalcolor\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Shadow\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\SubZero\"
MD "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Yin\"

COPY "%systemdrive%\install\themes\ChaNinja.Theme" "%WinDir%\Resources\Themes\"
COPY %systemdrive%\install\themes\ChaNinjaStyle_RC5\ChaNinjaStyle_RC5.msstyles" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Akira\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Akira\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Balloo\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Balloo\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Deviant\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Deviant\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Jubei\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Jubei\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Jungle\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Jungle\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Kohga\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Kohga\"
COPY %systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Normalcolor\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Normalcolor\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Shadow\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Shadow\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\SubZero\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\SubZero\"
COPY "%systemdrive%\install\themes\ChaNinjaStyle_RC5\shell\Yin\shellstyle.dll" "%WinDir%\Resources\Themes\ChaNinjaStyle_RC5\shell\Yin\"


Now, is there an easier/quicker way to copy all these files off the CD?  :/
[/n00b]

cheers,
keenie
<{POST_SNAPBACK}>


Not to mention there is a MUCH easier way to copying these files using the original method you referred to... try turning your 50 lines of code (or however many) into 1:
XCOPY /E /H /R /Y "%systemdrive%\install\themes\ChaNinjaStyle_RC5\" "%WinDir%\Resources\Themes\"

tada.

#12 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 15 April 2005 - 06:54 AM

TheeBeets, on Apr 15 2005, 06:29 AM, said:

I cant figure out exactly how to get a theme as when I put a [Shell] Command all I get when trying to install windows is a line error in 66 and it says it cannot continue.

Attachment attachment
<{POST_SNAPBACK}>

1st off, take your CD-KEY out of that file.
2nd, I dont even see a [Shell] section in there
3rd, this should be all you need to add, assuming the *.theme file exists in the directory specified.

[Shell]
CustomDefaultThemeFile = "%Windir%\Resources\Themes\Storm.theme"


#13 User is offline   TheeBeets 

  • Member
  • PipPip
  • Group: Members
  • Posts: 234
  • Joined: 10-April 05

Posted 15 April 2005 - 07:38 AM

durex, on Apr 15 2005, 01:54 PM, said:

TheeBeets, on Apr 15 2005, 06:29 AM, said:

I cant figure out exactly how to get a theme as when I put a [Shell] Command all I get when trying to install windows is a line error in 66 and it says it cannot continue.

Attachment attachment
<{POST_SNAPBACK}>

1st off, take your CD-KEY out of that file.
2nd, I dont even see a [Shell] section in there
3rd, this should be all you need to add, assuming the *.theme file exists in the directory specified.

[Shell]
CustomDefaultThemeFile = "%Windir%\Resources\Themes\Storm.theme"

<{POST_SNAPBACK}>


Ok Ive changed it and removed the serial im really sorry just forgot about it. Hopefully you could go back to page 1 and check my edit file and tell me if it should work or not?

#14 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 15 April 2005 - 09:41 AM

I dont believe it will.. unless Im mistaken you need to point to a .theme file. If your theme doesnt have one, you can easily create one by applying your theme, then right click your desktop goto properties, then on the Themes tab, choose save as and save it in your Resources\Themes folder.

Also, if im not mistaken, you msstyles file (and every other file/folder in the same path as it which are used by that theme) should be in a subdirectory of 'Themes'.

For example:Take the windows default 'Luna' theme; youll notice that in your 'Themes' folder you have 'Luna.theme' and a folder called 'Luna', its in that folder that you should see the 'luna.msstyles' file and 'Shell' folder (depending on your theme, you may have additional files / folders in that folder as well). I believe you should need to setup your theme similiar to this configuration for it to work... at least thats how I set mine up and it works like a charm.

Hope that makes sense.

#15 User is offline   TheeBeets 

  • Member
  • PipPip
  • Group: Members
  • Posts: 234
  • Joined: 10-April 05

Posted 15 April 2005 - 11:14 AM

Well what can I say Ive been using a virtual machine to test the Iso File. I get windows installed brillantly but when it logs on I get an error beep and it says C:\Install\wpi\wpi.cmd could not be found. But I can confirm it is there and to my knowledge everything is right I really dont know wot else to do I will post all associated files and hopefully someone can see if I have made a stupid mistake?

Winnt.sif
Attached File  winnt.sif (1.24K)
Number of downloads: 59

Wpi.cmd
Attached File  WPI.cmd (470bytes)
Number of downloads: 49

This has been fixed In winnt.sif I replaced wpi.cmd with wpi.hta and it works perfectly!!

#16 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 17 April 2005 - 07:55 PM

So are you all set with this? I know you sent me a pm in regards to this a couple days ago I wasnt able to get back to you on.

#17 User is offline   bledd 

  • msfn is a friend of mine!
  • Group: Supreme Sponsor
  • Posts: 1,732
  • Joined: 24-March 04

Posted 18 April 2005 - 05:47 AM

scankurban, on Oct 8 2003, 05:33 PM, said:

Guys I'm using another way.It's simple and better the others.Why.Because many theme files too big for cd install.My unattend xp installing 84 diffirent programs and 47 themes and hotfixes.I'm everytime making my own setup or compressing files with winrar.
For example themes.47 diffirent theme more than 80 mb.When use winrar its only 12 mb.Especially themes more compressable files.Why don't you use Winrar

This comment extracting automatically theme files to resources folder

path=%SYSTEMROOT%\Resources\Themes
Silent=2

And adding to mainbatch file thats it.
<{POST_SNAPBACK}>


do you really need 47 themes?

get b0seclass or 0pus, best styles out there :thumbup

#18 User is offline   compster 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 26-March 05

Posted 18 April 2005 - 07:49 AM

TheeBeets:

change:
[Shell]
CustomDefaultThemeFile = "%Windir%\Resources\Themes\Royal Inspirat.msstyles"

to:
[Shell]
CustomDefaultThemeFile="%Systemroot%\Resources\Themes\Royal Inspirat.msstyles"

#19 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 922
  • Joined: 07-June 02

Posted 18 April 2005 - 03:24 PM

Here is how to install storm btw:

[Shell]
CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Storm\Storm.msstyles"

Then in $OEM$ folder add this to cmdlines.txt:

"REGEDIT /S Theme.reg"

In theme.reg should be these keys. Setup your computer to use storm and pick your settings and reboot computer.

And then extract the below keys and place in Theme.reg:

[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\ThemeManager]

[HKEY_CURRENT_USER\Control Panel\Appearance]

[HKEY_CURRENT_USER\Control Panel\Colors]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Themes]

This way you get all of your settings. Not just some. :)

And it will be the correct font you pick and color sceam instead of just the default.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy