ricktendo Posted March 13, 2007 Posted March 13, 2007 How to make a INF Theme AddOn ExplainedAddOn Tools:Reg2Inf Ricks_Reg2Inf_AddOn_v0.37.7zFGCBA Ricks_FGCBA_SendTo_AddOn_v0.897.7zNotepad2 WebsiteIll begin with a step by step tutorial with this VistaBasicTheme.7z Theme modStart by extracting and studdying the layout of the Theme Pack and where the files need to go in Windows File DestinationAurora.jpg -> %WinDir%\Web\WallpaperBasic.theme -> %WinDir%\Resources\ThemesBasic.msstyles -> %WinDir%\Resources\Themes\BasicShellstyle.dll -> %WinDir%\Resources\Themes\Basic\Shell\NormalColorNow to create an INF file that will copy the files to the specific places1a- Open Notepad2 and lets start by creating a section called[Version]Signature="$Windows NT$"$Windows NT$ means that the following files can ONLY be installed on NT, 2000 and XP ($CHICAGO$ is used for ALL Platforms 95, 98, ME, NT, 2000 & XP)2a- Now go to File->Save As... and save the file as Basic.inf and you will now see some colors appear in your Notepad2 text editorNOTE: the INF filename must be 8.3 filename compatible, that means 8 letters for the filename and 3 letters for the extension3a- Go back to the INF file and now add another section [Optional Components] and under that put the name of your project i.e. Basic[Optional Components]Basic4a- Now were going to create a section with the EXACT same name that is under [Optional Components], in this case its Basic so we make a [basic] section and Add the following below it:OptionDesc= for Option Description, Tip= for the InfoTip, Modes=0,1,2,3 (I don't know what this is for) and CopyFiles= for the different directories to copy to[Basic]OptionDesc = "Basic"Tip = "Vista Basic Theme"Modes = 0,1,2,3CopyFiles =Now we can begin...Lets start with the copy instructions for the Basic.theme file:1b- Create a custom section with whatever tittle you wish... Lets use [Theme.File] and add the Basic.theme theme file to it[Theme.File]Basic.theme2b- Now Add Theme.File to CopyFiles= in your INF file under [basic][basic]OptionDesc = "Basic"Tip = "Vista Basic Theme"Modes = 0,1,2,3CopyFiles = Theme.File3b- Create a NEW section named [DestinationDirs] and add Theme.File equals (=) and the destination you wish to extract and install the file to. In this case look in the OSR PDF Guide and on the last pages you will find the Value Number for %WinDir%\Resources (16440)[DestinationDirs]Theme.File = 16440,"Themes"Note: 16440 is equal to %WinDir%\Resources, so every file listed under the [Theme.File] secction (in this case only Basic.theme) will get copied to X:\Windows\Resources then to the Themes sub-folderLets do the same for Basic.msstyles:1c- Make up another custom section name for the msstyle file i.e. [style.File] and now add Basic.msstyles under it[Style.File]Basic.msstyles2c- Now add it to CopyFiles= after Theme.File (Separate each CopyFiles entrie with a Comma <,>)[basic]OptionDesc = "Basic"Tip = "Vista Basic Theme"Modes = 0,1,2,3CopyFiles = Theme.File,Style.File3c- Now add it to [DestinationDirs] (dont forget to add the sub-folders after 16440)[DestinationDirs]Theme.File = 16440,"Themes"Style.File = 16440,"Themes\Basic"Now the ShellStyle.dll copy instructions:1d- Again Create a custom section of your choice i.e. [shell.File] and add Shellstyle.dll file under it[Shell.File]Shellstyle.dll2d- Add it to CopyFiles=[basic]OptionDesc = "Basic"Tip = "Vista Basic Theme"Modes = 0,1,2,3CopyFiles = Theme.File,Style.File,Shell.File3d- And DestinationDirs (it needs to go in X:WINDOWS\Resources\Themes\Themes\Basic\Shell\NormalColor)[DestinationDirs]Theme.File = 16440,"Themes"Style.File = 16440,"Themes\Basic"Shell.File = 16440,"Themes\Basic\Shell\NormalColorNOW the Aurora.jpg Wallpaper for the Theme:1e- Create another custom section i.e. [Wall.File] and add Aurora.jpg under it[Wall.File]Aurora.jpg2e- Do the same to CopyFiles as before[basic]OptionDesc = "Basic"Tip = "Vista Basic Theme"Modes = 0,1,2,3CopyFiles = Theme.File,Style.File,Shell.File,Wall.File3e- Add it to [DestinationDirs] (needs to go in X:WINDOWS\Web\Wallpaper)TIP: Look in the OSR PDF Guide and locate the nearest location or folder number to X:\WINDOWS\Web\WallpaperIn this case we find the number 10 which equals %WinDir% which is the same as X:\WINDOWS now simply add "\Web\Wallpaper" (including quotes) after the destination folder number 10 or WINDOWS[DestinationDirs]Theme.File = 16440,"Themes"Style.File = 16440,"Themes\Basic"Shell.File = 16440,"Themes\Basic\Shell\NormalColor"Wall.File = 10,"Web\Wallpaper"Almost finished:1f- Create a new folder named Basic on your desktop and gather/copy ALL the Theme files into itAurora.jpgBasic.msstylesBasic.themeShellstyle.dll2f- Cab Archive them together. I use TUGZip to make my CAB files by highlighting all the files, then Right Click and Add To Basic.cabTip: If you have CabTool (included in Kels and Ryans Addon Packs) Right Click the Basic folder then Send To->CabTool and it will create a Cabinet file named Basic.cab with all the theme files in itTugZip exampleCabTool example3f- In the inf make a NEW Required Secction called [sourceDisksFiles] and add ALL the files in your Cab file to it = 1[sourceDisksFiles]Aurora.jpg = 1Basic.msstyles = 1Basic.theme = 1Shellstyle.dll = 14f- In the inf make another NEW Required Section named [sourceDisksNames.x86] and add this to tell the INF file that the files are located in Basic.cab in the i386 folder in your XP CD[sourceDisksNames.x86]1="Vista Basic Theme","Basic.cab",,"i386"The final result is a Basic.inf file that looks similar the following:[Version]Signature="$Windows NT$"[Optional Components]Basic[DefaultInstall]OptionDesc = "Basic"Tip = "Vista Basic Theme"Modes = 0,1,2,3CopyFiles = Theme.File,Style.File,Shell.File,Wall.File[Basic]OptionDesc = "Basic"Tip = "Vista Basic Theme"Modes = 0,1,2,3CopyFiles = Theme.File,Style.File,Shell.File,Wall.File[SourceDisksNames.x86]1="Vista Basic Theme","Basic.cab",,"i386"[DestinationDirs]Theme.File = 16440,"Themes"Style.File = 16440,"Themes\Basic"Shell.File = 16440,"Themes\Basic\Shell\NormalColor"Wall.File = 10,"Web\Wallpaper"[SourceDisksFiles]Aurora.jpg = 1Basic.msstyles = 1Basic.theme = 1Shellstyle.dll = 1[Theme.File]Basic.theme[Style.File]Basic.msstyles[Shell.File]Shellstyle.dll[Wall.File]Aurora.jpgTip: I added a [DefaultInstall] section (optional) with the same exact stuff as under Basic for testing purposes... You can Right Click on Basic.inf and Select install then browse to Basic.cab and select then OK and your theme should get installedTHATS IT for the INF and now for the Entries*.ini file ...1g- Open Notepad2 and paste this into it:[general]builddate=2007/xx/xxdescription=language=title=version=website=[sysoc]Basic=ocgen.dll,OcEntry,Basic.inf,HIDE,7[dosnet_files]d1,Basic.cabd1,Basic.inf[txtsetup_files]Basic.cab = 100,,,,,,_x,,3,3Basic.inf = 100,,,,,,,20,0,0[i386_compress]rvmtemp\extracted\Basic.inf[HexEdit]I386\uxtheme.dll|6.0.2900.2180|113178|83EC1C568D4DE4|33C0C9C2040090I386\uxtheme.dll|6.0.2900.2523|104714|83EC1C568D4DE4|33C0C9C2040090I386\uxtheme.dll|6.0.2900.2845|104746|83EC1C568D4DE4|33C0C9C20400902g- Add the Title, Build Date, Version Number etc. then Save As... Entries_Basic.ini 3g- Now Zip, Rar, Cab or 7zip these files together:Entries_Basic.ini, Basic.cab and Basic.inf to create your finalized AddOn Example Basic AddOnEntries.ini file explained:The HIDE command in "=ocgen.dll,OcEntry,Whatever.inf,HIDE,7" will not hide this Addon from the "Add Remove Windows Components" unless it has the exact same name as whatever is under [Optional Components] in the INF example:Entries_Basic.ini[sysoc]Basic=ocgen.dll,OcEntry,Basic.inf,HIDE,7Basic.inf[Optional Components]BasicThe following section (Optional) will instruct nLite or the RVM Integrator to cab Compress your Addons INF install file, from Whatever.inf to WHATEVER.IN_ and add it to the i386 folder (you can manually cab it to .IN_ and omit this section)[i386_compress]rvmtemp\extracted\Whatever.infTe following will only work for the RVM Integrator and it will automatically patch the UXTHEME.DLL file (does not affect nLite users)[HexEdit]I386\uxtheme.dll|6.0.2900.2180|113178|83EC1C568D4DE4|33C0C9C2040090I386\uxtheme.dll|6.0.2900.2523|104714|83EC1C568D4DE4|33C0C9C2040090I386\uxtheme.dll|6.0.2900.2845|104746|83EC1C568D4DE4|33C0C9C2040090 Quote
eXpert_1 Posted March 16, 2007 Posted March 16, 2007 (edited) great work, ricktendo64 thanx. Edited March 16, 2007 by eXpert_1 Quote
ricktendo Posted March 16, 2007 Author Posted March 16, 2007 Feel free to post your finished addons for testing Quote
Huh? Posted June 2, 2007 Posted June 2, 2007 Thank for the guide, mate!Got me on the way to making theme addons. Quote
JuMz Posted June 28, 2007 Posted June 28, 2007 Is there a way to make it the default theme right away (or even on next boot)? Quote
ricktendo Posted June 28, 2007 Author Posted June 28, 2007 If you use nLite to make your Disc Unattended edit winnt.sif and add this (edit Royale.theme to the theme you want)[Shell]CustomDefaultThemeFile="%ResourceDir%\Themes\Royale.theme"If you want you can accomplish this using the theme addon Entries_*.ini, just add this to it (again edit Royale.theme)[AddDirective]WINNT.SIF,Shell[EditFile]WINNT.SIF,Shell,DefaultTheme[DefaultTheme]CustomDefaultThemeFile="%ResourceDir%\Themes\Royale.theme" Quote
JuMz Posted June 28, 2007 Posted June 28, 2007 Thanks for your reply! I am actually interested in applying this through WPI. Is there a why I can do it via INF of WMI / Vbscript? Quote
ricktendo Posted June 28, 2007 Author Posted June 28, 2007 I C... Kel can make you a custom RunWPI.exe that will set the default WPI theme. But one problem, after WPI Windows will change the theme back, that is where the winnt.sif entries can help Quote
Mr.McNally Posted July 1, 2007 Posted July 1, 2007 How to make a INF Theme AddOn ExplainedAddOn Tools:Reg2Inf Ricks_Reg2Inf_AddOn_v0.37.7zFGCBA Ricks_FGCBA_SendTo_AddOn_v0.897.7zOSR INF Guide Notepad2 WebsiteIll begin with a step by step tutorial with this VistaBasicTheme.7z Theme modStart by extracting and studdying the layout of the Theme Pack and where the files need to go in Windows File Destination Aurora.jpg -> %WinDir%\Web\Wallpaper Basic.theme -> %WinDir%\Resources\Themes Basic.msstyles -> %WinDir%\Resources\Themes\Basic Shellstyle.dll -> %WinDir%\Resources\Themes\Basic\Shell\NormalColorNow to create an INF file that will copy the files to the specific places1a- Open Notepad2 and lets start by creating a section called[Version] Signature="$Windows NT$"$Windows NT$ means that the following files can ONLY be installed on NT, 2000 and XP ($CHICAGO$ is used for ALL Platforms 95, 98, ME, NT, 2000 & XP)2a- Now go to File->Save As... and save the file as Basic.inf and you will now see some colors appear in your Notepad2 text editorNOTE: the INF filename must be 8.3 filename compatible, that means 8 letters for the filename and 3 letters for the extension3a- Go back to the INF file and now add another section [Optional Components] and under that put the name of your project i.e. Basic[Optional Components] Basic4a- Now were going to create a section with the EXACT same name that is under [Optional Components], in this case its Basic so we make a [basic] section and Add the following below it:OptionDesc= for Option Description, Tip= for the InfoTip, Modes=0,1,2,3 (I don't know what this is for) and CopyFiles= for the different directories to copy to[Basic] OptionDesc = "Basic" Tip = "Vista Basic Theme" Modes = 0,1,2,3 CopyFiles =Now we can begin...Lets start with the copy instructions for the Basic.theme file:1b- Create a custom section with whatever tittle you wish... Lets use [Theme.File] and add the Basic.theme theme file to it2b- Now Add Theme.File to CopyFiles= in your INF file under [basic]3b- Create a NEW section named [DestinationDirs] and add Theme.File equals (=) and the destination you wish to extract and install the file to. In this case look in the OSR PDF Guide and on the last pages you will find the Value Number for %WinDir%\Resources (16440)Note: 16440 is equal to %WinDir%\Resources, so every file listed under the [Theme.File] secction (in this case only Basic.theme) will get copied to X:\Windows\Resources then to the Themes sub-folderLets do the same for Basic.msstyles:1c- Make up another custom section name for the msstyle file i.e. [style.File] and now add Basic.msstyles under it2c- Now add it to CopyFiles= after Theme.File (Separate each CopyFiles entrie with a Comma <,>)3c- Now add it to [DestinationDirs] (dont forget to add the sub-folders after 16440)Now the ShellStyle.dll copy instructions:1d- Again Create a custom section of your choice i.e. [shell.File] and add Shellstyle.dll file under it2d- Add it to CopyFiles=3d- And DestinationDirs (it needs to go in X:WINDOWS\Resources\Themes\Themes\Basic\Shell\NormalColor)NOW the Aurora.jpg Wallpaper for the Theme:1e- Create another custom section i.e. [Wall.File] and add Aurora.jpg under it2e- Do the same to CopyFiles as before3e- Add it to [DestinationDirs] (needs to go in X:WINDOWS\Web\Wallpaper)TIP: Look in the OSR PDF Guide and locate the nearest location or folder number to X:\WINDOWS\Web\WallpaperIn this case we find the number 10 which equals %WinDir% which is the same as X:\WINDOWS now simply add "\Web\Wallpaper" (including quotes) after the destination folder number 10 or WINDOWSAlmost finished:1f- Create a new folder named Basic on your desktop and gather/copy ALL the Theme files into itAurora.jpgBasic.msstylesBasic.themeShellstyle.dll2f- Cab Archive them together. I use TUGZip to make my CAB files by highlighting all the files, then Right Click and Add To Basic.cabTip: If you have CabTool (included in Kels and Ryans Addon Packs) Right Click the Basic folder then Send To->CabTool and it will create a Cabinet file named Basic.cab with all the theme files in itTugZip exampleCabTool example3f- In the inf make a NEW Required Secction called [sourceDisksFiles] and add ALL the files in your Cab file to it = 14f- In the inf make another NEW Required Section named [sourceDisksNames.x86] and add this to tell the INF file that the files are located in Basic.cab in the i386 folder in your XP CDThe final result is a Basic.inf file that looks similar the following:[Version] Signature="$Windows NT$" [Optional Components] Basic [DefaultInstall] OptionDesc = "Basic" Tip = "Vista Basic Theme" Modes = 0,1,2,3 CopyFiles = Theme.File,Style.File,Shell.File,Wall.File [Basic] OptionDesc = "Basic" Tip = "Vista Basic Theme" Modes = 0,1,2,3 CopyFiles = Theme.File,Style.File,Shell.File,Wall.File [SourceDisksNames.x86] 1="Vista Basic Theme","Basic.cab",,"i386" [DestinationDirs] Theme.File = 16440,"Themes" Style.File = 16440,"Themes\Basic" Shell.File = 16440,"Themes\Basic\Shell\NormalColor" Wall.File = 10,"Web\Wallpaper" [SourceDisksFiles] Aurora.jpg = 1 Basic.msstyles = 1 Basic.theme = 1 Shellstyle.dll = 1 [Theme.File] Basic.theme [Style.File] Basic.msstyles [Shell.File] Shellstyle.dll [Wall.File] Aurora.jpgTip: I added a [DefaultInstall] section (optional) with the same exact stuff as under Basic for testing purposes... You can Right Click on Basic.inf and Select install then browse to Basic.cab and select then OK and your theme should get installedTHATS IT for the INF and now for the Entries*.ini file ...1g- Open Notepad2 and paste this into it:[general] builddate=2007/xx/xx description= language= title= version= website= [sysoc] Basic=ocgen.dll,OcEntry,Basic.inf,HIDE,7 [dosnet_files] d1,Basic.cab d1,Basic.inf [txtsetup_files] Basic.cab = 100,,,,,,_x,,3,3 Basic.inf = 100,,,,,,,20,0,0 [i386_compress] rvmtemp\extracted\Basic.inf [HexEdit] I386\uxtheme.dll|6.0.2900.2180|113178|83EC1C568D4DE4|33C0C9C2040090 I386\uxtheme.dll|6.0.2900.2523|104714|83EC1C568D4DE4|33C0C9C2040090 I386\uxtheme.dll|6.0.2900.2845|104746|83EC1C568D4DE4|33C0C9C20400902g- Add the Title, Build Date, Version Number etc. then Save As... Entries_Basic.ini 3g- Now Zip, Rar, Cab or 7zip these files together:Entries_Basic.ini, Basic.cab and Basic.inf to create your finalized AddOn Example Basic AddOnEntries.ini file explained:The HIDE command in "=ocgen.dll,OcEntry,Whatever.inf,HIDE,7" will not hide this Addon from the "Add Remove Windows Components" unless it has the exact same name as whatever is under [Optional Components] in the INF example:Entries_Basic.iniBasic.infThe following section (Optional) will instruct nLite or the RVM Integrator to cab Compress your Addons INF install file, from Whatever.inf to WHATEVER.IN_ and add it to the i386 folder (you can manually cab it to .IN_ and omit this section)[i386_compress] rvmtemp\extracted\Whatever.infTe following will only work for the RVM Integrator and it will automatically patch the UXTHEME.DLL file (does not affect nLite users)[HexEdit] I386\uxtheme.dll|6.0.2900.2180|113178|83EC1C568D4DE4|33C0C9C2040090 I386\uxtheme.dll|6.0.2900.2523|104714|83EC1C568D4DE4|33C0C9C2040090 I386\uxtheme.dll|6.0.2900.2845|104746|83EC1C568D4DE4|33C0C9C2040090Thanks Rick! You make it seem so easy. I am going to try to make one. I will share mine if I happen to come to understand this process enough to succeeded at it. Thank You. :welcome: Quote
Mr.McNally Posted July 1, 2007 Posted July 1, 2007 OK, so I have been looking over the information for a while now and I have a couple of questions for you. Although I admit to not reading the entire OSR Guides for making .INF files, I do not see anywhere in your written explanation anything regarding the usage or function of the 2 other files you are offering for download, 'sendto' and 'reg2inf'. I have downloaded both of these files and neither one has any sort of description or information file inside that gives a basic description or usage information. Could you explain the purpose of these please? Secondly, my next question may be a completely daft one and if so I apologize for my dafticity. How do I make a .msstyle file? Will I need to use a program like TGIsoft's "stylebuilder 2", or is there another way? If an explanation would be extraneous or a bit off topic here, would you please direct me to a reference that might help me understand this creation of .msstyles files? Once again I apologize if I am asking questions that have obvious answers, or if my understanding of these ideas is a bit behind the group. Thanks so much for the time and effort you have spent in making this guide for all of us. Quote
Kelsenellenelvian Posted July 1, 2007 Posted July 1, 2007 Reg2inf is a utility for converting .reg format files to .inf files.FGCBA is a utility that checks your addons for errors and, optionally packs them for you. (You do need .net framework for it also)Msstyles can be made from editing the stock msstyle files with a resource editor or with stylebuilder but it is EXTREMELY difficult todo and get a good looking theme. (I have made a couple) Quote
Mr.McNally Posted July 1, 2007 Posted July 1, 2007 Reg2inf is a utility for converting .reg format files to .inf files.FGCBA is a utility that checks your addons for errors and, optionally packs them for you. (You do need .net framework for it also)Msstyles can be made from editing the stock msstyle files with a resource editor or with stylebuilder but it is EXTREMELY difficult todo and get a good looking theme. (I have made a couple)Thanks for your response. I have been hesitant to run the utilities since i have no idea what will happen when I try. Are they GUI based, and are they relatively intuitive to use? So is the FGCBA is a tool that will tell me if my addons will work before I go through the process of making a new xp installation and then testing it in a virtual machine? If so, would is work for other types of addons besides style/theme addons? I toyed around with stylebuilder 2 for a couple of days a while back, and it seemed a bit complex to me. I was not very good at it right away and I quickly lost interest due to time constraints. If what I experienced with stylebuilder 2 is what it is like to make msstyles, I agree. It is very difficult skill to master. I have noticed that many of the themes found in the addons are made from work found on the Deviant Art website. I suppose it would be best for someone with my level of skill to work on making the addon from pre-existing msstyle designs and to not worry about the designing side of things just yet. Is there etiquette(besides please and thank you) to acquiring the work found on Deviant Art? Can I simply ask to use what I find, or should I expect there to be more to it than that? Quote
ricktendo Posted July 1, 2007 Author Posted July 1, 2007 I usually ask for permission, once they hear that their theme is gonna be slipstreamed/installed automatically into Windows XP along with all the other default XP themes they are quite happy that its possible and say yes Quote
Mr.McNally Posted July 2, 2007 Posted July 2, 2007 I usually ask for permission, once they hear that their theme is gonna be slipstreamed/installed automatically into Windows XP along with all the other default XP themes they are quite happy that its possible and say yes Nice! :clap: Thanks for your help! Wincert is Awesome!!! Quote
Icttrack Posted December 10, 2007 Posted December 10, 2007 the work first sounds easy. but infact it is much more complicated than i think. only copying the folder containing the theme we like to system directory, but we must write down many codes, also divide into many sections. Why in line: Copy files dont we add the real destination folders but its variables. in msdos we only type few lines in batch file to do this work. i wonder if we can add batch file to RunonceEX to make the job easier. Quote
JurgenDoe Posted December 10, 2007 Posted December 10, 2007 I better stay by creating graphic images this whole thingy sounds to much work to me :crying_anim02: Quote
Icttrack Posted December 11, 2007 Posted December 11, 2007 in my opinion, creating a self extracting archive using 7-zip or winrar which contains all themes files to extract to windows folder, put it in svcpack folder, add entries.ini file and then pack them in cab file to make addon, which is rather simple than making inf file. Quote
ricktendo Posted December 11, 2007 Author Posted December 11, 2007 OK my opinion:Nothing better that a TRUE addon, it installs the way windows XP is originally installed (using INF files) Quote
Guest Posted April 28, 2008 Posted April 28, 2008 Hello please help for Luna Lite theme link:luna lite downloadLuna Lite include 3 Shell file Homestead354kb,Metallic354kb,NormalColor 353kb all shell file name Shellstyle.dllwhen create folder Luna Lite for add all file to this folder 3 shell file not allowed to copy this folderHow to add 3 shell file to Luna Lite.infLuna Lite.inf[Version]Signature="$Windows NT$"[Optional Components]Luna Lite[DefaultInstall]OptionDesc = "Luna Lite"Tip = "Lunal"Modes = 0,1,2,3CopyFiles =Style.File,Shell.File,Wall.File[Luna Lite]OptionDesc = "Luna Lite"Tip = "Lunal"Modes = 0,1,2,3CopyFiles = Style.File,Shell.File,Wall.File[SourceDisksNames.x86]1="Lunal","Luna Lite.cab",,"i386"[DestinationDirs]Style.File = 16440,"Themes\Luna Lite"Shell.File = 16440,"Themes\Luna Lite\Shell\HomesteadShell.File = 16440,"Themes\Luna Lite\Shell\MetallicShell.File = 16440,"Themes\Luna Lite\Shell\NormalColorWall.File = 10,"Web\Wallpaper"[SourceDisksFiles]2XP.jpg = 1Luna Lite.msstyles = 1Shellstyle.dll = 1[Style.File]Luna Lite.msstyles[Shell.File]Shellstyle.dll[Wall.File]2XP.jpg Quote
Gorki Posted April 28, 2008 Posted April 28, 2008 (edited) Shure you can't add multiple styles cause you have to rename them or else they will overwrite each other. Rename them wile they are being installed. Use one of other creator addons as starting point. You could use my IlumeCG theme addon it haves two shell styles. Take a look and see how are the renamed...Keep an eye at bold part I edited/changed it it..[Version]Signature="$Windows NT$"[Optional Components]Luna Lite[DefaultInstall]OptionDesc = "Luna Lite"Tip = "Lunal"Modes = 0,1,2,3CopyFiles =Luna.MsStyle,Shell.Normal,Shell.Homestead,Shell.Metallic,Wall.Files[Luna Lite]OptionDesc = "Luna Lite"Tip = "Lunal"Modes = 0,1,2,3CopyFiles =Luna.MsStyle,Shell.Normal,Shell.Homestead,Shell.Metallic,Wall.Files[sourceDisksNames.x86]1="Lunal","Luna Lite.cab",,"i386"[DestinationDirs]Style.File = 16440,"Themes\Luna Lite"Shell.File = 16440,"Themes\Luna Lite\Shell\HomesteadShell.File = 16440,"Themes\Luna Lite\Shell\MetallicShell.File = 16440,"Themes\Luna Lite\Shell\NormalColorWall.File = 10,"Web\Wallpaper"[sourceDisksFiles]2XP.jpg = 1Luna Lite.msstyles = 1NormalColor.dll = 1Homestead.dll =1Metallic.dll =1[Luna.MsStyle]Luna.MsStyle[shell.Normal]Shellstyle.dll,NormalColor.dll[shell.Homestead]Shellstyle.dll,Homestead.dll[shell.Metallic]Shellstyle.dll,Metallic.dll[Wall.File]2XP.jpgGreen color indicates shell styles exact as they should be when you install theme. Red color stands for names that you used to rename those so they would not overlapped (3 Shellstyle.dll files = 1 Shellstyle.dll ). That is why you renamed them so they don't mix up.ou rename them in red colour but when installing they go green again I hope this helps. p.s And please take a peak at other users theme addons. It's a good starting point. Good luck! Edited April 28, 2008 by Gorki Quote
Guest Posted April 28, 2008 Posted April 28, 2008 Shure you can't add multiple styles cause you have to rename them or else they will overwrite each other. Rename them wile they are being installed. Use one of other creator addons as starting point. You could use my IlumeCG theme addon it haves two shell styles. Take a look and see how are the renamed...Keep an eye at bold part I edited/changed it it..Green color indicates shell styles exact as they should be when you install theme. Red color stands for names that you used to rename those so they would not overlapped (3 Shellstyle.dll files = 1 Shellstyle.dll ). That is why you renamed them so they don't mix up.ou rename them in red colour but when installing they go green again I hope this helps. p.s And please take a peak at other users theme addons. It's a good starting point. Good luck!YOU MUST EDIT THIS SECTIONStyle.File = 16440,"Themes\Luna Lite"Shell.Homestead = 16440,"Themes\Luna Lite\Shell\HomesteadShell.Metallic = 16440,"Themes\Luna Lite\Shell\MetallicShell.Normal = 16440,"Themes\Luna Lite\Shell\NormalColorWall.File = 10,"Web\Wallpaper"[sourceDisksFiles]2XP.jpg = 1Luna Lite.msstyles = 1NormalColor.dll = 1Homestead.dll = 1Metallic.dll = 1[Luna.MsStyle]Luna Lite.msstyles**** FGCBA 0.897 * by n7Epsilon * [url="http://tinyurl.com/lslmm"]http://tinyurl.com/lslmm[/url] ****- Starting Logger "All your bug are report by me!!" -I: Date/Time of execution: 4/28/2008 1:44:06 AM UTCI: Specified Parameters: * C:\Documents and Settings\142424\Desktop\Luna Lite\Luna Lite.inf * /log:C:\Documents and Settings\142424\Desktop\Luna Lite\log_Luna Lite.txt * /QuirksMode * /useDII: Dump of ParamsTable (ArgumentParser v2): * quirksmode = * log = C:\Documents and Settings\142424\Desktop\Luna Lite\log_Luna Lite.txt * usedi = I: ExtINFParser engaged, attempting read "Luna Lite.inf" ** Reading INF file: Luna Lite.inf... * Parsing [Optional Components] section... * Parsing [Luna Lite] section... - Processing CopyFiles directive...- Error: CopyFiles directive referenced a non-existant section: [Wall.Files] in Luna Lite.inf! * Parsing [SourceDisksNames.x86] section... * Parsing [SourceDisksFiles] section... * Parsing [DestinationDirs] section...- Warn: [Luna.MsStyle] referenced in CopyFiles directive but not in [DestinationDirs] section!- Warn: [Shell.Normal] referenced in CopyFiles directive but not in [DestinationDirs] section!- Warn: [Shell.Homestead] referenced in CopyFiles directive but not in [DestinationDirs] section!- Warn: [Shell.Metallic] referenced in CopyFiles directive but not in [DestinationDirs] section!- Warn: [Wall.Files] referenced in CopyFiles directive but not in [DestinationDirs] section!- Error: Section [Style.File] referenced in [DestinationDirs] does not exist in Luna Lite.inf!- Error: Section [Shell.File] referenced in [DestinationDirs] does not exist in Luna Lite.inf!- Error: Section [Shell.File] referenced in [DestinationDirs] does not exist in Luna Lite.inf!- Error: Section [Shell.File] referenced in [DestinationDirs] does not exist in Luna Lite.inf! - Parsing [Wall.File] section...- Warn: [Wall.File] contains a reference to 2XP.jpg that was never referenced by the [SourceDisksFiles] section of Luna Lite.inf!- Error: "2XP.jpg" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in Luna Lite.inf!- Error: "Homestead.dll" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in Luna Lite.inf!- Error: "Luna Lite.msstyles" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in Luna Lite.inf!- Error: "Metallic.dll" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in Luna Lite.inf!- Error: "NormalColor.dll" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in Luna Lite.inf!- Error: Number of files specified in [SourceDisksFiles] section is not equal to the total number of files specified in all sections specified in the [DestinationDirs] section in Luna Lite.inf! [SourceDisksFiles]: 5, [DestinationDirs]: 0 !- 6 warning(s): - [Luna.MsStyle] referenced in CopyFiles directive but not in [DestinationDirs] section! - [Shell.Normal] referenced in CopyFiles directive but not in [DestinationDirs] section! - [Shell.Homestead] referenced in CopyFiles directive but not in [DestinationDirs] section! - [Shell.Metallic] referenced in CopyFiles directive but not in [DestinationDirs] section! - [Wall.Files] referenced in CopyFiles directive but not in [DestinationDirs] section! - [Wall.File] contains a reference to 2XP.jpg that was never referenced by the [SourceDisksFiles] section of Luna Lite.inf! !- 6 warning(s). !- 11 error(s): - CopyFiles directive referenced a non-existant section: [Wall.Files] in Luna Lite.inf! - Section [Style.File] referenced in [DestinationDirs] does not exist in Luna Lite.inf! - Section [Shell.File] referenced in [DestinationDirs] does not exist in Luna Lite.inf! - Section [Shell.File] referenced in [DestinationDirs] does not exist in Luna Lite.inf! - Section [Shell.File] referenced in [DestinationDirs] does not exist in Luna Lite.inf! - "2XP.jpg" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in Luna Lite.inf! - "Homestead.dll" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in Luna Lite.inf! - "Luna Lite.msstyles" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in Luna Lite.inf! - "Metallic.dll" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in Luna Lite.inf! - "NormalColor.dll" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in Luna Lite.inf! - Number of files specified in [SourceDisksFiles] section is not equal to the total number of files specified in all sections specified in the [DestinationDirs] section in Luna Lite.inf! [SourceDisksFiles]: 5, [DestinationDirs]: 0 !- 11 error(s). !!!!- Critical error(s) detected, process aborted.- Stopping Logger -BUT exist 3ERROR **** FGCBA 0.897 * by n7Epsilon * [url="http://tinyurl.com/lslmm"]http://tinyurl.com/lslmm[/url] ****- Starting Logger "All your bug are report by me!!" -I: Date/Time of execution: 4/28/2008 2:13:03 AM UTCI: Specified Parameters: * C:\Documents and Settings\142424\Desktop\Luna Lite\Luna Lite.inf * /log:C:\Documents and Settings\142424\Desktop\Luna Lite\log_Luna Lite.txt * /QuirksMode * /useDII: Dump of ParamsTable (ArgumentParser v2): * quirksmode = * log = C:\Documents and Settings\142424\Desktop\Luna Lite\log_Luna Lite.txt * usedi = I: ExtINFParser engaged, attempting read "Luna Lite.inf" ** Reading INF file: Luna Lite.inf... * Parsing [Optional Components] section... * Parsing [Luna Lite] section... - Processing CopyFiles directive...- Error: CopyFiles directive referenced a non-existant section: [Wall.Files] in Luna Lite.inf! * Parsing [SourceDisksNames.x86] section... * Parsing [SourceDisksFiles] section... * Parsing [DestinationDirs] section...- Warn: [Wall.Files] referenced in CopyFiles directive but not in [DestinationDirs] section! - Parsing [Style.File] section... - Parsing [Shell.Homestead] section... - Parsing [Shell.Metallic] section... - Parsing [Shell.Normal] section... - Parsing [Wall.File] section...- Warn: [Wall.File] contains a reference to 2XP.jpg that was never referenced by the [SourceDisksFiles] section of Luna Lite.inf!- Error: "2XP.jpg" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in Luna Lite.inf!- Error: Number of files specified in [SourceDisksFiles] section is not equal to the total number of files specified in all sections specified in the [DestinationDirs] section in Luna Lite.inf! [SourceDisksFiles]: 5, [DestinationDirs]: 4 !- 2 warning(s): - [Wall.Files] referenced in CopyFiles directive but not in [DestinationDirs] section! - [Wall.File] contains a reference to 2XP.jpg that was never referenced by the [SourceDisksFiles] section of Luna Lite.inf! !- 2 warning(s). !- 3 error(s): - CopyFiles directive referenced a non-existant section: [Wall.Files] in Luna Lite.inf! - "2XP.jpg" is specified in [SourceDisksFiles] but not in any of the CopyFiles sections in Luna Lite.inf! - Number of files specified in [SourceDisksFiles] section is not equal to the total number of files specified in all sections specified in the [DestinationDirs] section in Luna Lite.inf! [SourceDisksFiles]: 5, [DestinationDirs]: 4 !- 3 error(s). !!!!- Critical error(s) detected, process aborted.- Stopping Logger - Quote
Gorki Posted April 28, 2008 Posted April 28, 2008 Correct! I skipped destinationdir ok...add " at the end like this..[DestinationDirs]Style.File = 16440,"Themes\Luna Lite"Shell.Homestead = 16440,"Themes\Luna Lite\Shell\Homestead"Shell.Metallic = 16440,"Themes\Luna Lite\Shell\Metallic"Shell.Normal = 16440,"Themes\Luna Lite\Shell\NormalColor"Wall.File = 10,"Web\Wallpaper"and this in mind [Luna.MsStyle]Luna Lite.msstylesTry again and let me know... we'll continue tomorrow...I'm going to bed now ..4.30AM here... :tired: Quote
ricktendo Posted April 28, 2008 Author Posted April 28, 2008 Mona, look at the tutorial for making a program addon, you will find that I go onto explain how to rename files and stuff so they don't overwrite each other and have them renamed back to the original names with copyfiles Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.