PDA

View Full Version : nLite slipstreamed and unattended XP


Simmy
08-12-2007, 07:03 PM
Hi,

I had a quick search for this topic, but I couldn't find anything. Apologies if this has already been posted.

By the end of this tutorial, you will hopefully have an all singing, all dancing fully customised windows XP DVD :D My Windows XP DVD is without a doubt my most useful tool. Once I've setup the formatting of the hard drive, I simply set it to install and away it goes. 2 hours later, I come back to find the windows desktop, with all hardware drivers installed, fully updated and with anti-virus and other software installed. It basically consists of:


A basic Windows XP install (I have 1 disc for XP Pro and 1 for XP Home)
Service pack 2 + misc updates slipstreamed.
Unattended script - allowing the windows install to complete without the need for user input.
All Driver Packs - a huge database of the latest drivers for graphics cards, chipsets, CPUs, Ethernet cards, Wifi cards, sound cards and mass storage devices.
Windows Post Installer - this script runs automatically and install any applications you tell it to. I have it set to install AVG or Avira anti-virus, autopatcher, spybot, 7zip and other misc free applications.
Windows Updates Downloader - all windows updates pre downloaded to slipstream into the installer. With this application you no longer have to run windows update, saving you time and bandwidth.
Windows Registry Tweaks - alot of these can be done from within nLite
My company details within the OEM section ("General" tab of "System Properties")


What you will need:
You will have to visit the following websites and download the appropriate software.

An XP CD - Either Home or Professional (I started with XP Home because most computers use that)
Nlite (http://www.nliteos.com/)
Windows Update Downloader (”http://wud.jcarle.com/UpdateLists.aspx”) – This is what I use now that Autopatcher is no more
Windows Post Installer (http://www.wpiw.net/)
Driver Packs (http://driverpacks.net/)
WINNT.sif (http://www.smg-computers.com/documents/WINNT.SIF) My unattended install script - editable using wordpad/notepad - it includes options like language/timezone settings etc. Basically, you will need to go through this yourself and make sure the settings apply to you.


First of all...
Take your XP CD and copy the contents to your hard drive. You may need around 5Gb of hard drive space if you plan on filling your Windows DVD with applications.

http://www.smg-computers.com/hosted/xpcd.jpg

Above is a screenshot of my XP layout. As you can see I have added the folders "%OEM%", "Driver Packs", "Install Files" and "WPI_v6.1".

The %OEM% Folder

http://www.smg-computers.com/hosted/xpcd2.jpg

As you can see from the address bar, within %OEM%, is another folder named $$. And within that is a folder named "System32". Anything within this folder will be copied to your system drive during the windows installation. Please can you make these folders now, with exactly the same names and directory structure. Within "system32" you can see 4 items:


batchfile.cmd - initiates the Windows Post Installer - the batchfile itself is initiated from the WINNT.sif file listed above
OEMINFO.INI - your company contact information
OEMLOGO.bmp - you will need to create your own bitmap file. See pic below - I have simply put my company name
WPI folder - Windows Post Installer files will go in here. Once windows is installed, this folder will be copied to "%systemdrive%/system32" and the WPI will be executed by the batchfile.cmd


start %systemdrive%\windows\system32\WPI\WPI.hta

Open wordpad or notepad and copy the above into it. Then save the file as "batchfile.cmd" and place it in your "%OEM%/$$/system32/" folder.

start [general]
Manufacturer=<Company Name>
[Support Information]
Line1=For Technical Support contact: <Your Number>
Line2=
Line3=Website: <Your Website>
Line4=
Line5=Email: <Your Email>

Again, open worpad/notepad and copy the above into it. Make the necessary changes/additions and save the file as "OEMINFO.INI". Place it in the same folder as "batchfile.cmd". Now is a good time to make the OEMLOGO.bmp and place it along side OEMINFO.INI.
http://www.smg-computers.com/hosted/xpcd3.jpg
Above shows you what the OEMINFO.INI and OEMLOGO.bmp files do.

Slipstream Service Packs and Hotfixes

Now it’s time to bring your windows CD up-to-date by what’s called slipstreaming the updates. The advantage of this is we only install the updates once, meaning we don’t have to download dozens of updates every time we install windows.

Download nLite from here (http://www.nliteos.com/) and also download Windows Updates Downloaded from here (http://wud.jcarle.com/).

Download and install windows updates downloader. Goto this (http://wud.jcarle.com/UpdateLists.aspx/) site and click on the link relating to the version of windows you are working on – in this case it will be Windows XP – Platform x86 (or some of you may have the 64-bit version, you will need to check this). Save and run the *.ulz file and it will be added to the Windows Updates Downloader program. Goto the start menu and open the program now. Select your version of Windows from the “Update List”, then select your download folder. Tick the Service Packs and Critical Updates boxes (see picture below). Then click “Download” and wait for it to finish.

http://www.smg-computers.com/hosted/xpcd4.jpg

Install nLite and open it from the start menu; you will be presented with the “Welcome to nLite” screen. Most of the steps from here on are straight forward;

1) Select your language from the drop down box and click “Next”
2) Browse for your Windows XP folder, containing the files you copied from the CD to the hard drive and click “Next”
3) You will now see the task selection screen. There are all sorts of goodies in this menu, but for now I’ll just explain slipstreaming. Click on “Service Pack” and “Hotfixes, Addons and Update Packs” and click “Next” – The buttons should go green when selected.
4) First of all is Service Pack integration. Click “Select” and navigate to your Windows Update Downloader folder and select Service Pack 2. Then click “Next”
5) Click the “Insert” button and again navigate to the Windows Updates Downloader folder and select all available critical updates. Click next
6) You will now be asked to start the slipstream process – Click “Yes”.
7) Once nLite is complete - Job done! Your XP CD is now upto date. There maybe a few pop ups during the slipstream process which need to be closed before it can carry on.

http://www.smg-computers.com/hosted/xpcd5.jpg

Driver Packs

Download all 11 driver packs and the DriverPacksBASE files from this (http://driverpacks.net/DriverPacks/) webpage. Extract the DriverPacksBASE file and run the “DPs_BASE” file. A folder called “DriverPacks” will also be extracted; copy the 11 driver packs to this folder.

http://www.smg-computers.com/hosted/xpcd6.jpg

1) Select your language and click the > button twice.
2) You will be asked to locate your Windows XP files; Select “Installation Platform” to “Disc” and browse for the XP folder. Click > button.
3) Click the “Select All” button; if the driver packs are in the correct folder, 11 ticks will appear. Click the > button.
4) “Choose slipstream method” – I personally use method 2, but method 1 works just as well. Click > button.
5) “Choose method to start the finisher” – I choose “RunOnceEX”. Click > button twice.
6) Select option for KTD (Keep The Drivers) – again this is up to you. I personaly keep the drivers on the hard drive as they are always useful when plugging in devices at a later date. I chose “Enable KTD for ALL slipstreamed DriverPacks”.
7) You are now ready to install the driver packs – Click “Slipstream!” and wait for the process to end.

****Work in progress****

Blues
08-12-2007, 08:48 PM
Sorry that you can't post links yet but well as with any forum measures must be put in place to keep bots and the likes out. It will be cool to hear more on this tools of the trade to make our simple jobs even simpler are great.

cis4smack
08-14-2007, 09:10 AM
I've used it before. I really like it makes creating a unattended cds quick.

greggh
08-14-2007, 04:35 PM
We have a few different customized unattended OEM install discs with drivers and other additions that I have created here at my work. They come in very handy. Cutting install and update times down when doing 10-20 of them a week is a very helpful thing.

Simmy
08-15-2007, 12:50 AM
Ok, i've done a little bit more on this, but there's still alot more to do. Is this something you lot will find useful or do most of you know it already? More importantly, does it make sense so far?!

Mac
08-18-2007, 11:14 AM
Looks good so far. I guess your getting to IE7 & WMP11 intergration bit...

Simmy
08-18-2007, 03:43 PM
I must admit, I install IE7 and WMP11 using autopatcher. However, I will add a bit on how to integrate them both. I need to update my XP home DVD anyway :)

Mac
09-16-2007, 11:37 AM
I was liking this thread, its something every tech should have. Autopatcher is no more so its really important to have everything patched up from the get go.

ie7 can just be integrated using nlite and wmp11 done with its own slipstreamer (http://web.clicknet.ro/boooggy/).

good thread. keep it coming ;)

Simmy
09-19-2007, 12:54 PM
Ah yes, i forgot about this. I shall get some more done by the weekend :)

I'm not sure how to get around the autopatcher problem though. Until service pack 3 comes out for XP, it'll be a matter of slipstreaming SP2 and tediously downloading any other updates one at a time from here (http://www.softwarepatch.com/windows/index.html).

The Goatboy
09-19-2007, 06:36 PM
Great read; I'm hooked and will review this more in depth at home.

Mac
09-20-2007, 05:46 AM
Well if your xp source allready has sp2 then i guess its obvious that you wont need to slipstream that. But if you have no service pack or sp1 then you will need to splipstream sp2. Then download the updates and intergrate them like Simmy says.

This is how i do it.

Slipstream sp2 to my xp source with nLite.
Intergrate ie7 with nLite
Intergrate wmp11 with wmp11 slipstreamer (http://web.clicknet.ro/boooggy/)
Intergrate RyanVM's update pack (http://www.ryanvm.net/msfn/updatepack.html) or Xables light update pack (http://udp.xable.net/)
Intergrate driver packs (http://driverpacks.net/)

Gota do the driver packs last.

Thats it :D XP DVD up to date and ready to roll on any machine.

Well thats not really it.. i do some other stuff ;) but thats basicly it untill you really get to know what you are doing.
If the machine you are working on has no DVD drive you can allways use a ide/sata to usb converter (http://the-gadgeteer.com/review/usb_2_0_to_sata_ide_adapter_with_one_touch_backup) or a plane jane usb DVD drive :D

Simmy
10-19-2007, 11:42 PM
I just added a bit more to this, but still a few things to add and tidy up. I will include the a bit about registry tweaks - focuz and greggh found a few great sites with useful tweaks.