EagleWing Posted June 16, 2009 Posted June 16, 2009 (edited) Hello,Does anyone know to or what to edit, configure to get the blue background instead of the default black background during firstlogon when installing apps via SETUPCOMPLETE.CMD? Just like in the attached example.Moved??!! Where to?? Edited June 17, 2009 by EagleWing
ajua Posted June 18, 2009 Posted June 18, 2009 Well, I use Setupcomplete.cmd to import my tweaks prior to the first logon.For my applications, I use FirstLogonCommands (in my Autounattend.xml) by calling a file I have in the root of the wim image that calls install.cmd in my DVD/USB stick. This one installs all the stuff and you get the blue background you asked for.
EagleWing Posted June 18, 2009 Author Posted June 18, 2009 Well, I use Setupcomplete.cmd to import my tweaks prior to the first logon.For my applications, I use FirstLogonCommands (in my Autounattend.xml) by calling a file I have in the root of the wim image that calls install.cmd in my DVD/USB stick. This one installs all the stuff and you get the blue background you asked for.Thanks for the reply. I use the FirstLogonCommands (in my Autounattend.xml) as well. Exactly what file do you have in the root of your wim image that it calls for. I guess I need a few more details and would appreciate it thanks.
ajua Posted June 19, 2009 Posted June 19, 2009 I have a file called instalar.cmd in the root of the image that has a script to look for AppsRoot.txt in the disc drives (so it can know which letter to use in the path) and calls the file install.cmd which is located in the root of my DVD/USB Stick.This install.cmd file has all the application stuff.instalar.cmdFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\AppsRoot.txt SET DVD=%%i:: Ejecutar el Script de Instalacion de Programasstart /wait %DVD%\install.cmdEXIT
EagleWing Posted June 19, 2009 Author Posted June 19, 2009 (edited) I have a file called instalar.cmd in the root of the image that has a script to look for AppsRoot.txt in the disc drives (so it can know which letter to use in the path) and calls the file install.cmd which is located in the root of my DVD/USB Stick.This install.cmd file has all the application stuff.instalar.cmdFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\AppsRoot.txt SET DVD=%%i:: Ejecutar el Script de Instalacion de Programasstart /wait %DVD%\install.cmdEXITI also have a INSTALL.CMD file located on my install DVD in the folder: SOURCES\$OEM$\$1 this calls my RegtTweaks.reg file. My SETUPCOMMAND.CMD is located in the folder: SOURCES\$OEM$\$$\SETUP\SCRIPTS\ this file contains all of my apps setup info.Am I to understand if I use your method that I will achieve the blue background when installing apps? What I am understanding is that you have all of your apps setup info in your install.cmd file which is located in the root of your DVD/USB stick, is that where you also have your apps setup files as well?Please translate the following to English please: : Ejecutar el Script de Instalacion de Programas Edited June 19, 2009 by EagleWing
ajua Posted June 19, 2009 Posted June 19, 2009 I have all my applications, codecs, etc in a folder called Install in the root of my dvd. Te file install.cmd in the root of the DVD install them.By using FirstLogonCommand to call the file instalar.cmd in the root of the wim image (root of the hdd when installing Windows), which calls install.cmd will get you that blue background. Installing your apps with FirstLogonCommmand will do it.I use the intermediate file instalar.cmd to avoid mounting an image just to make changes or add/remove stuff from install.cmd. This way, i just modify install.cmd and put it in the root of my DVD/USB stick.I don't use OEM folders because Windows setup will copy all the contents of the Windows setup to the hard drive, slowing down the whole installation process.
EagleWing Posted June 19, 2009 Author Posted June 19, 2009 (edited) This is the basic picture I am getting thus far: DVD folder structure as follows:bootefiInstall (my software, etc.)sourcessupportupgradeDVD root (files) contents as follows:AppsRoot.txtautorun.infAutounattend.xmlbootmgrDriversRoot.txtInstall.cmdSetup.exeI mount install.wim and copy instalar.cmd to the root of that file.Now what I must do is use FirstLogonCommand to call the file instalar.cmd in the root of the wim image (root of hdd when installing Windows), which in turn calls install.cmd.It occurred to me that I should ask you exactly how your install.cmd file is written or configured?The above is the picture as I understand it. I may as well ask just what command you enter into your FirstLogonCommand in the Autounattend.xml file? Thanks for all of the info and help thus far. Edited June 20, 2009 by EagleWing
ajua Posted June 22, 2009 Posted June 22, 2009 The folder structure is right as well as copying instalar.cmd to the root of the WIM image.The command to call instalar.cmd in FirtsLogonCommands is like this: <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>cmd /c %systemdrive%\instalar.cmd</CommandLine> <Description>apps</Description> <Order>1</Order> </SynchronousCommand> </FirstLogonCommands>You can call additional commands if you need to (in my case I don't). The <Order>1</Order> tag determines the order in which each command will be run.And last, a quick view of my install.cmd file:FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\AppsRoot.txt SET DVD=%%i:: Microsoft Stuffstart /wait %DVD%\Install\microsoft\netfx35sp1\dotNetFx35setup.exe /qb /norestartstart /wait %DVD%\Install\microsoft\netfx35sp1\dotNetFx35langpack.exe /qb /norestartstart /wait %DVD%\Install\microsoft\netfx35sp1updates\KB958481.msu /quiet /norestartstart /wait %DVD%\Install\microsoft\netfx35sp1updates\KB958483.msu /quiet /norestartstart /wait %DVD%\Install\microsoft\netfx35sp1updates\KB958484.exe /quiet /norestartstart /wait %DVD%\Install\microsoft\directx\dxsetup.exe /silentstart /wait %DVD%\Install\microsoft\cpp2005.exe /Q:A /R:Nstart /wait %DVD%\Install\microsoft\cpp2005sp1.exe /Q:A /R:NEXIT
EagleWing Posted June 22, 2009 Author Posted June 22, 2009 (edited) I appreciate your reply and configuration info. I applied it to my setup and double checked to make sure that I did it correctly then tested it. I still get the black background. I forgot to mention that am using Vista Ultimate SP2, the default aero theme, I don't know if this makes any difference. Any ideas? Edited June 22, 2009 by EagleWing
EagleWing Posted June 23, 2009 Author Posted June 23, 2009 (edited) ignore Edited June 23, 2009 by EagleWing
EagleWing Posted June 23, 2009 Author Posted June 23, 2009 Well, I use Setupcomplete.cmd to import my tweaks prior to the first logon.For my applications, I use FirstLogonCommands (in my Autounattend.xml) by calling a file I have in the root of the wim image that calls install.cmd in my DVD/USB stick. This one installs all the stuff and you get the blue background you asked for.You said that you do not use OEM folders because Windows setup will copy all the contents of the Windows setup to the hard drive, slowing down the whole installation process. If you do not use OEM folders then where do you place your Setupcomplete.cmd file so it can be called to import your tweaks?
ajua Posted June 27, 2009 Posted June 27, 2009 I copy Setupcomplete.cmd to Windows\Setup\Scripts (you may need to manually create this Scripts folder) inside the WIM image.It is weird that you are getting that black background. Maybe you are installing video drivers manually in your scripts? I ceased to do that with my personal installations because sometimes in my desktop i got corrupted or weird video from the first login. It was fixed when rebooting after all my stuff installations ended...
EagleWing Posted June 28, 2009 Author Posted June 28, 2009 (edited) Actually I integrated my video drivers into my autounattend setup using vLite. I have an NVIDIA GeForce 8500 GT video card installed. I don't know if this info will help. You say you call your RegTweaks.reg file via your SetupComplete.cmd file. I copy my RegTweaks.reg file to the root of my Install.wim file . Here is how my SetupComplete.cmd file is written:@echo offrem reg tweakregedit.exe /s %systemdrive%\RegTweaks.regOne thing I noticed in the pic I posted that the apparent default theme that was used to install must have been aero basic theme. My install uses the main aero.theme, transparency and all when installing. Do you call a specific theme?As an after thought I decided to post my Autounattend.xml file for you to see, perhaps this will give you more insight as to what I am doing or not doing:<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>0409:00000409</InputLocale> <UserLocale>en-US</UserLocale> <UILanguage>en-US</UILanguage> <SystemLocale>en-US</SystemLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserData> <ProductKey> <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>MyBusiness</Organization> <FullName>My Name</FullName> <AcceptEula>true</AcceptEula> </UserData> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows Vista ULTIMATE</Value> </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </OSImage> </ImageInstall> <DiskConfiguration> <Disk wcm:action="add"> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Extend>false</Extend> <Format>NTFS</Format> <Label>VISTA</Label> <Letter>C</Letter> <PartitionID>1</PartitionID> <Order>1</Order> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>false</WillWipeDisk> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TimeZone>Mountain Standard Time</TimeZone> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <RegisteredOrganization>MyBusiness</RegisteredOrganization> <RegisteredOwner>My Name</RegisteredOwner> <OOBE> <HideEULAPage>true</HideEULAPage> <ProtectYourPC>3</ProtectYourPC> <NetworkLocation>Home</NetworkLocation> <SkipUserOOBE>false</SkipUserOOBE> <SkipMachineOOBE>false</SkipMachineOOBE> </OOBE> <Display> <ColorDepth>32</ColorDepth> <DPI>96</DPI> <HorizontalResolution>1024</HorizontalResolution> <VerticalResolution>768</VerticalResolution> </Display> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>cmd /c %systemdrive%\instalar.cmd</CommandLine> <Description>Install My Apps</Description> <Order>1</Order> </SynchronousCommand> </FirstLogonCommands> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Description>Me</Description> <DisplayName>Me</DisplayName> <Group>Administrators</Group> <Name>Me</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <VisualEffects> <FontSmoothing>ClearType</FontSmoothing> </VisualEffects> </component> <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <InputLocale>0409:00000409</InputLocale> <SystemLocale>en-US</SystemLocale> <UserLocale>en-US</UserLocale> <UILanguage>en-US</UILanguage> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ComputerName>MyPC</ComputerName> <RegisteredOrganization>MyBusiness</RegisteredOrganization> <RegisteredOwner>My Name</RegisteredOwner> <CopyProfile>true</CopyProfile> </component> <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipAutoActivation>true</SkipAutoActivation> </component> <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Identification> <JoinWorkgroup>MSHOME</JoinWorkgroup> </Identification> </component> </settings> <settings pass="auditSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AutoLogon> <LogonCount>5</LogonCount> <Username>Administrator</Username> </AutoLogon> </component> </settings> <cpi:offlineImage cpi:source="wim:E:/Vista SP2_8/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend> Edited June 28, 2009 by EagleWing
ajua Posted July 27, 2009 Posted July 27, 2009 I see you are using the same name (instalar) for the file that calls install.cmd I don't call any theme. My problem (in my desktop only) was that I installed an Nvidia driver set that had some issues. I will install them manually as the only thing needed after all is done with my Vista unattended dvd for my desktop.Did your setup worked as expected?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now