nice_guy75 Posted December 24, 2011 Share Posted December 24, 2011 @nice_guy75The setting Customdefaultthemefile is deprecated but theme file does work just as I said it wouldYes, it has now been stated many times. You can no longer set a default theme using autounattend.xml.WRONGDone a full install just now and applied a Theme just as I stated in my link above using this <Themes> <ThemeName>C:\Windows\resources\Themes\nature.theme</ThemeName> <DefaultThemesOff>false</DefaultThemesOff> <DesktopBackground>%WINDIR%\web\wallpaper\Nature\img2.jpg</DesktopBackground> </Themes>This is image of part of Nature\img2.jpg I set aboveI am sorry but I have tried it many times but not working at all, actually you have tried only MS themes which normally don't have anything apart from window color and desktop background mind it most of the MS themes don't have .msstyle and here we are more concerned about applying a custom msstyle? Please see my screenshot of chm of unattended Windows setup Reference for Windows 7, which clearly says the setting has already been deprecated, and in your case xml has only change the desktop background and window color.What I understood is.......... now you can only change the window color, desktop background and brand icon, that is all. And the setting you were suggesting only combine all the three things and make a new theme with custom name. I request you to please try to apply some custom theme with ".msstyle" file.I must have tried almost 15 times and failed in all my attempts. Link to comment Share on other sites More sharing options...
maxXPsoft Posted December 24, 2011 Author Share Posted December 24, 2011 (edited) Right, I am only doing a default theme which I usually don't use but it can be doneMS intended their stuff to work for their things with xmlI normally use a 170 MB Maxxpsoft.themepack at Firstlogoncommands cause it sets a lot more for me like cursors /sounds. You can see it add's all things you want[VisualStyles]Path=%SystemRoot%\resources\themes\Aero\Aero.msstylesColorStyle=NormalColor http://msdn.microsoft.com/en-us/library/bb773190.aspxOnly problem is when you apply it opens that Personalization window you have to close. I use an autoit to close it Edited December 24, 2011 by maxXPsoft Link to comment Share on other sites More sharing options...
nice_guy75 Posted December 24, 2011 Share Posted December 24, 2011 (edited) Right, I am only doing a default theme which I usually don't use but it can be doneMS intended their stuff to work for their things with xmlI normally use a 170 MB Maxxpsoft.themepack at Firstlogoncommands cause it sets a lot more for me like cursors /sounds. You can see it add's all things you want[VisualStyles]Path=%SystemRoot%\resources\themes\Aero\Aero.msstylesColorStyle=NormalColor http://msdn.microsoft.com/en-us/library/bb773190.aspxOnly problem is when you apply it opens that Personalization window you have to close. I use an autoit to close itYeah you are right, it will open Personalization window. Well we can also use some cmd command to directory open themename.theme file and that will also open that personalize window. I have tried one more trick successfully, I have actually removed the default Aero.theme and placed my custom theme and change the file name to "Aero.theme" in this way the setup itself applies the theme. Edited December 24, 2011 by nice_guy75 Link to comment Share on other sites More sharing options...
Octopuss Posted January 6, 2012 Share Posted January 6, 2012 I am still trying to install the **** Lenovo Thinkvantage Update.The documentation at http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/systemupdate401-2011-07-25.txt says that the command line parameters to use should beSystemUpdate4.01-2011-07-25.exe -s -a /s /v"/qn"Stupid thing installs without problem in a VM, but refuses to do so on real PC.I tried these variants: <SynchronousCommand wcm:action="add"> <Order>22</Order> <CommandLine>cmd /c start /wait %systemdrive%\temp\systemupdate401-2011-07-25.exe -s -a /s /v"/qn"</CommandLine> <Description>install Lenovo System Update</Description> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>22</Order> <CommandLine>cmd /c start /wait %systemdrive%\temp\systemupdate401-2011-07-25.exe -s -a /s /v"/qn"</CommandLine> <Description>install Lenovo System Update</Description> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>22</Order> <CommandLine>cmd /c start /wait %systemdrive%\temp\systemupdate401-2011-07-25.exe -s -a /s /v\"/qn\"</CommandLine> <Description>install Lenovo System Update</Description> </SynchronousCommand>I see no errors mentioned in logs in \windows\panther at all.The main question is WHY does it work in a VM. Why!!!!!Of course I can install it manually but I just refuse to be beaten by a stupid machine. Link to comment Share on other sites More sharing options...
myselfidem Posted January 6, 2012 Share Posted January 6, 2012 I guess you created a folder temp inside %systemdrive% or it's about user folder temp: %temp% ? Link to comment Share on other sites More sharing options...
Octopuss Posted January 6, 2012 Share Posted January 6, 2012 it's folder "temp" which is located in the root of c: partition.I tried to specify full path without any variable too and it doesn't work either. Link to comment Share on other sites More sharing options...
myselfidem Posted January 6, 2012 Share Posted January 6, 2012 (edited) it's folder "temp" which is located in the root of c: partition.There is no folder temp at the root of C:\ partition, unless you create it!There is a Temp folder inside: %Windir%\TempHave you tried to set your program inside: %SystemDrive%\Install\your_program /switches ?You can also try to give a shorter name for the program, like: systemupdate.exeMaybe that work !: (see quotes) <SynchronousCommand wcm:action="add"> <Order>22</Order> <CommandLine>cmd /c start /wait "%systemdrive%\TEMP\systemupdate.exe -s -a /s /v"/qn""</CommandLine> <Description>install Lenovo System Update</Description> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand>And if doesn't work you can use a batch file to solve this issue! Edited January 7, 2012 by myselfidem Link to comment Share on other sites More sharing options...
maxXPsoft Posted January 7, 2012 Author Share Posted January 7, 2012 To get it to add the quote after the v this this what I doneREG ADD %KEY%\iAdd /V Inum /D "CMD /C Start /Wait %SystemDrive%\APPS\_Lenovo\systemupdate.exe -s -a /s /v\"/qn" /f Link to comment Share on other sites More sharing options...
Octopuss Posted January 9, 2012 Share Posted January 9, 2012 I thought there must be quotes on both sides of the /qn parameter. I tried the backslash approach and it gave me error, but I did /v\"/qn\"myselfidem: Of course I created/changed it, we try to have the temp folder in one easily to be accessed place Link to comment Share on other sites More sharing options...
myselfidem Posted January 9, 2012 Share Posted January 9, 2012 (edited) Have you tried like this ?: Works on my computer (using quotes like this example). cmd /c "%systemdrive%\TEMP\systemupdate.exe -s -a /s /v"/qn" Edited January 9, 2012 by myselfidem Link to comment Share on other sites More sharing options...
Octopuss Posted January 9, 2012 Share Posted January 9, 2012 Do you mean without the "start /wait"? I THINK I tried that and it worked. Why did it, though?Not sure, testing now again and the variant maxx mentioned as well. Link to comment Share on other sites More sharing options...
myselfidem Posted January 9, 2012 Share Posted January 9, 2012 (edited) Yes, without using "start /wait" and look at the quotes inside my example above! Edited January 9, 2012 by myselfidem Link to comment Share on other sites More sharing options...
Octopuss Posted January 9, 2012 Share Posted January 9, 2012 Why does it work without the start wait? Link to comment Share on other sites More sharing options...
myselfidem Posted January 9, 2012 Share Posted January 9, 2012 You can find useful infos here:http://www.msfn.org/board/topic/142365-about-cmds-start-wait-command/http://technet.microsoft.com/en-us/library/cc723564.aspx Link to comment Share on other sites More sharing options...
Octopuss Posted January 10, 2012 Share Posted January 10, 2012 Hm, doesn't work. <SynchronousCommand wcm:action="add"> <Order>22</Order> <CommandLine>cmd /c "%systemdrive%\TEMP\systemupdate401-2011-07-25.exe -s -a /s /v"/qn"</CommandLine> <Description>install Lenovo System Update</Description> </SynchronousCommand>Going to test something else. I believe it does work when there are no other commands before this. It happened with other program in past too btw. 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