djonur007 Posted November 10, 2010 Posted November 10, 2010 Hi Friends. I don't speak english well:(My problem is related to the theme. WAIK\unattended.chm;NotesThis setting is deprecated.To define the default theme in Windows® 7, use the settings: BrandIcon, DesktopBackground, ScreenSaver, ThemeName, and WindowColor. You may also use a .theme file to add themes. Adding a default theme by using a .theme file is no longer supported."Adding a default theme by using a .theme file is no longer supported." How do I make the theme as an unattended? for unattended.xml ?
djonur007 Posted November 11, 2010 Author Posted November 11, 2010 (edited) Thank you, but the problem could not be resolved. Uxtheme added a plug-in. Where is the problem? <Themes> <ThemeName>C:\Windows\resources\Themes\black&grey.theme</ThemeName> <DefaultThemesOff>false</DefaultThemesOff> <DesktopBackground>%WINDIR%\web\wallpaper\windows\background.jpg</DesktopBackground> </Themes> Edited November 11, 2010 by djonur007
johnhc Posted November 11, 2010 Posted November 11, 2010 djonur007, I am not sure what you are trying to do, but I wanted to install a couple of theme packs, so I wrote a little AutoIt Script:Run(@ComSpec & " /c " &@ScriptDir&"\Gears3.themepack", "", @SW_HIDE)WinWaitActive ("Personalization")Sleep (3000)Send("!{F4}")WinWaitNotActive ("Personalization")Run(@ComSpec & " /c " &@ScriptDir&"\NASASpacescapes.themepack", "", @SW_HIDE)WinWaitActive ("Personalization")Sleep (3000)Send("!{F4}") and ran it out of a Command file at <FirstLogonCommands>. I placed the Gears3 and NASASpacescapes theme packs in a folder along with the script. The active theme is the last one I installed (NASA) when my DeskTop comes up. Both theme packs were DLed from the MS site "get more themes online" from the Personalization screen. Enjoy, John.
djonur007 Posted November 12, 2010 Author Posted November 12, 2010 Can we make it with unattended.xml?
johnhc Posted November 12, 2010 Posted November 12, 2010 Can we make it with unattended.xml?djonur007, yes, that is where you place the <FirstLogonCommands>. Please see my other post here. Enjoy, John.
djonur007 Posted November 13, 2010 Author Posted November 13, 2010 How do I set the theme with no unattended.xml using AutoIt?No autoit.
johnhc Posted November 13, 2010 Posted November 13, 2010 How do I set the theme with no unattended.xml using AutoIt?No autoit.djonur007, here is another thread of where I started with this. I could find no way to do this without my interaction, so I wrote the AutoIt script. It is fully automatic. AutoIt is a free scripting language (search for it) and fairly easy to use. What I show above is a complete program to install the two theme packs. If you are not familiar with scripting, then you may need to seek some other means to do this or take maxXPsoft's method that requires you to hit enter. You need to also look at the waik.chm file for how to use the AutoUnattend.xml and the <FirstLogonCommands>. If you want to try my method, then you need to DL AutoIt, compile the code I gave you (changing the theme packs to one(s) you want) and run it from your AutoUnattend.xml. It is possible to run a command file at the end of installation. Please see the SetupComplete.cmd description in the waik.chm file. Enjoy, John.
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