Jump to content

Background


Recommended Posts

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??

post-210234-1245180877_thumb.png

Edited by EagleWing
Link to comment
Share on other sites


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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.cmd

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:

: Ejecutar el Script de Instalacion de Programas
start /wait %DVD%\install.cmd

EXIT

Link to comment
Share on other sites

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.cmd

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:

: Ejecutar el Script de Instalacion de Programas
start /wait %DVD%\install.cmd

EXIT

I 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 by EagleWing
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This is the basic picture I am getting thus far:

DVD folder structure as follows:

boot

efi

Install (my software, etc.)

sources

support

upgrade

DVD root (files) contents as follows:

AppsRoot.txt

autorun.inf

Autounattend.xml

bootmgr

DriversRoot.txt

Install.cmd

Setup.exe

I 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 by EagleWing
Link to comment
Share on other sites

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 Stuff
start /wait %DVD%\Install\microsoft\netfx35sp1\dotNetFx35setup.exe /qb /norestart
start /wait %DVD%\Install\microsoft\netfx35sp1\dotNetFx35langpack.exe /qb /norestart
start /wait %DVD%\Install\microsoft\netfx35sp1updates\KB958481.msu /quiet /norestart
start /wait %DVD%\Install\microsoft\netfx35sp1updates\KB958483.msu /quiet /norestart
start /wait %DVD%\Install\microsoft\netfx35sp1updates\KB958484.exe /quiet /norestart
start /wait %DVD%\Install\microsoft\directx\dxsetup.exe /silent
start /wait %DVD%\Install\microsoft\cpp2005.exe /Q:A /R:N
start /wait %DVD%\Install\microsoft\cpp2005sp1.exe /Q:A /R:N

EXIT

Link to comment
Share on other sites

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 by EagleWing
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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 off

rem reg tweak

regedit.exe /s %systemdrive%\RegTweaks.reg

One 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 by EagleWing
Link to comment
Share on other sites

  • 5 weeks later...

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?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...