Unattended XPCD
   


Classic Style Setup Billboards
Submitted by Alanoll

This should really be attributed to MStest as he was the first to write on this subject. However, since then, another forum user hp38guser added the ability to increase the resolution and color depth during Setup.

This process will change the billboards from the blue/grey still that is found in Windows XP and Windows 2003 setups to the boxes found in Windows 2000 setup. It won't alter the setup process in anyway, just the look of it. It will look like below.

Unattended XPCD


» Enabling the Classic Billboards

This step is simple.

  • Delete the files:
    • winntbbu.dll
    • winntbbu.dl_
  • Now, open up txtsetup.sif. Find all instances of winntbbu.dll, and delete the ENTIRE line that it's on. You can also use nlite and remove it under the Options section.
  • Do the same for the file dosnet.inf, and delete all instances winntbbu.dll you find in there as well.

» Changing the resolution & Color Depth

This section is entirely optional in this process. It will only allow you to change the background to a higher resolution and color depth during setup.

Add the following six lines into the hivesys.inf file, located in the i386 directory of your Windows Setup Source. Add them, just after the [AddReg] entry.

HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","DefaultSettings.BitsPerPel",0x00010001,32
HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","DefaultSettings.XResolution",0x00010001,1024
HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","DefaultSettings.YResolution",0x00010001,768
HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","DefaultSettings.BitsPerPel",0x00010001,32
HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","DefaultSettings.XResolution",0x00010001,1024
HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","DefaultSettings.YResolution",0x00010001,768

The above will set the resolution to 1024x768 with a color depth of 32bits. If you wish to change the resolution, change the corresponding numbers. Keep in mind however, that resolutions 1280x1024 and above are limited to 16bit colors.

» Changing the background

Now comes the easy part, in terms of changing the screen. Simply create a image at 800x600 with 256 colors (unless you changed the resolution and color depth above).

Save the file as setup_w.bmp if you're using Windows XP or setup_s.bmp if using Windows 2003 and replace the original in your i386 directory.

» Changing the transparency of the Setup Window


You've set a really cool high-res pic but the annoying setup window comes in the way. So, what to do about it?
You will need: Wintrans
Make an AutoIt script from one of the following:
For Windows XP Professional:
Run ("wintrans.exe -a 170 -n ""Windows XP Setup""", "", @SW_HIDE)
WinWaitActive ("Windows XP Professional Setup", "")
Run ("wintrans.exe -a 170 -n ""Windows XP Professional Setup""", "", @SW_HIDE)

For Windows XP Home Edition:
Run ("wintrans.exe -a 170 -n ""Windows XP Setup""", "", @SW_HIDE)
WinWaitActive ("Windows XP Home Edition Setup", "")
Run ("wintrans.exe -a 170 -n ""Windows XP Home Edition Setup""", "", @SW_HIDE)


Save it as transparency.au3 in your Desktop.
Using AutoIt3 or above, convert it to an EXE. Set any icons, compression etc. Copy transparency.exe into $OEM$\$1 and in WINNT.SIF or UNATTEND.TXT, put
[GuiUnattended]
   DetachedProgram=transparency.exe

Last updated 2006-07-07 13:02:49 by T D  [Edit]
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001 - 2013 msfn.org
Privacy Policy