HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Windows XP Professional Update Pack discussion.
Post Reply
Kurt_Aust
Posts: 99
Joined: Fri Jul 25, 2008 6:23 pm
Location: Sydney, Australia

HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Post by Kurt_Aust » Thu Nov 17, 2016 11:28 pm

This guide requires the downloading of 2.4 GB mainly via BitTorrent

Some of you might also be interested in these similar guides for Windows 98se, 2000 or XP x64.


So you want to create Windows XP (x32) SP4 installation media with a full driver loadout and scripted installation installs? Well here's how.

So you are going to need some files:
From MediaFire, the Config_WinXP-SP4_date.7z file and extract it, this will also setup the necessary directory structure (read \Misc\FileList.txt for contents).

Also from MediaFire, extract both Files_WinXP-SP4_*_date.7z archives, targeting the same directory that you did with the config file.
A - SHA-1: B5092170D72FC7D70009191922150854BD09845C - 83 files that won't change
B - SHA-1: CCCAB42B922ADAF49EF5511DB222771982BE379D - 17 files that might change


Download the unofficial service pack 4 for Windows XP from Google Drive or via BitTorrent (magnet link in \Torrents\).

Download and extract the post SP4 May 2019 update pack

Using a BitTorrent client, download the 13 DriverPacks whose torrents you find in \Torrents\ (in the form of DP_*.torrent) to \Downloads\.

Once all the DriverPacks are downloaded, run \Misc\DriverPacksPrep.bat to copy them to their required locations.

Finally, to check that everything is accounted for you can open \Torrents\WinXP-SP4_date.torrent (includes everything except SP4 and the config files, but it will be very slow due to my upload limitations).

If you haven't already done so, install nLite (a copy can be found in \Misc\)

Now it's time to fire up nLite
Note that nLite must be run with administrator privileges, you might need to disable anti-virus software and most importantly, slipstreaming Service Pack 4 must be done on a Win NT 5.x host (2000/XP/XPx64/2003/2003x64). It may be worthwhile to do a pass where you only slipstream SP4 and then burn an .iso, thereby obtaining a clean XP sp4 source disk as a base.

Updated Intel AHCI & RAID drivers are used at the textmode step of installation rather than the DriverPacks as in my experience they are more often needed. To use those included in the Driverpacks instead, skip step 7 and enable TextMode at step 11.

There are screenshots available of the process at MediaFire.

  1. Run nLite as an administrator and locate your XP source.
  2. Extract your XP source to \XP-nLite\
  3. Load the appropriate session file from \Misc\
  4. Slipstream service pack 4
  5. Apply the May 2019 update pack by running the slipstream.bat file
  6. Hotfixes - add the Visual C++ runtimes from the \Hotfix\ directory
  7. Drivers - insert the single driver iaAHCI.inf in the "Universal 32bit Intel RST AHCI+RAID driver" folder and then when the popup box appears choose to install the SATA drivers in TextMode, selecting ALL the drivers (Ctrl-A)
  8. Unattended settings - this is the most important part (might need to load the session file again)
    1. Leave the Product Key blank
    2. Your RunOnce file must look like this:

      Code: Select all

      Ping -n 61 127.0.0.1 > nul
      CMD /R "%Source%RunOnce\Run1a.bat %Source%"
    3. Set it to autologon at least three times as the "Administrator" (Professional) or "Admin" (Home - administrator class) account with a password of "G1berish"
    4. Leave the Computer Name blank
  9. Make any tweaks you want, then run the process
  10. Fire up \DriverPacks\DPs_BASE.exe and target the \XP-nLite\ working directory
  11. Select all DriverPacks (only Graphics_PhysX in 3rd party) but don't include the Mass Storage drivers in TextMode
  12. Choose Slimstream Method 2 and Custom Finisher Start
  13. Disable Keep the Drivers and QuickStream Cache
  14. Choose ATI CCC new and nVidia CP both
  15. Check the settings and then slipstream the DriverPacks
  16. Copy all the contents of the \CopyFrom\ folder to the \XP-nLite\ working directory
  17. After you drag n drop anything else that you may want / need, go ahead and burn that image / DVD

Installation
Ensure the PC is disconnected from the internet, set your HDD as the first boot device then insert the DVD and optionally your USB stick. Boot to the DVD using BIOS boot options and then follow the standard textmode installation steps. If you have a removable media drive, you might get "No Disk" messages on reboots, just "Continue". If you get a BSoD when installing from a SATA DVD drive, try an IDE or USB attached DVD drive instead. The installation is fully automated except that it will ask you at one stage to provide a license key. Note that the PC will reboot several times while installing drivers and the like. The Administrator/Admin password is "G1berish".

To install XP from a USB stick, download Rufus (copy in \Misc\) and run it to "create a bootable disk using" your new Win_XP_SP4.iso. You can place the \XP32\ folder for optional application installs on this USB stick.

Before Installing
Application AddOns: (do NOT place multiple versions of the same application in \XP32\)
If you wish to install additional or updated optional applications then copy the folder \XP-32\ and all its contents to a USB flash drive and rename it to \XP32\. The following applications will be installed if they are copied to \XP32\, unless otherwise noted they will work with minimal rights (guest account) and maximum DEP (AlwaysOn). If a version number is given then that is the last version to work on XP without issues: ε=EMET protected

Recommended and included on the DVD by default (versions might be outdated)
. Root Certificates
ε 7-Zip .msi - Critical
. HashTab v5.2
. Dexpot
. Tool Tip Fixer
ε FireFox - v52.9.0 - en_US, en_GB, en_CA & en_AU dictionaries installed
ε FileZilla - v3.7.4.1
ε IrfanView
. DOS Box
. Daemon Tools Lite - v4.49.1.0356 - requires SPTD or 7-Zip
. ImgBurn - requires Nero BurnRights for non-admin accounts
. UltraDefrag - one pass of boot time defrag, requires Admin rights
. Enhanced Mitigation Experience Toolkit - v4.1u1 - requires .Net 4.0 & Admin rights for configuration

Recommended but not included on the DVD by default (will be installed if copied to \XP-32\ on the DVD)
ε Java Runtime Environment - v8u152
ε Libre Office - v5.4.7.2 - can use Java, "en-GB" help files folder renamed to "en"
ε Foxit Reader - v8.3.2
ε K-Lite Mega Codec Pack - v13.8.5 - lots of stuff option, see here if you want to create your own config files

Supported (pick and choose to suit your needs and/or preferences)
ε WinRAR
ε ThunderBird - v52.9.1 - en_US, en_GB, en_CA & en_AU dictionaries installed
ε SeaMonkey - en_US, en_GB, en_CA & en_AU dictionaries installed
ε Opera - v36.0.2130.80 - April 2016
ε Google Chrome - use v48 - April 2016
. Adobe Flash Player plugins: Internet Explorer . FireFox & SeaMonkey . Chrome & Opera
. Adobe Shockwave Player plugin
. Microsoft Silverlight Player plugin
. Notepad ++
ε SumatraPDF
ε Adobe Reader - v11.0.8 & update patch (v11.0.23) - 1st run must be from an Administrator account
ε GIMP - v2.8.22 - help files
ε Google Picasa
. Mihov Image Resizer
. nLite - requires Admin rights
. WMP11 Slipstreamer
. AutoIt
. Virtual PC 2007 SP1 (rename to VirtualPC2007x86setup.exe) & patch & patch
. VirtualBox - v5.2.x - Oracle extension pack supported
. VMware Server - v1.0.10 - you will need to edit \XP32\Config\Run1.bat inserting your registration key, any DEP level except AlwaysOn
ε Google Earth - v7.1.2.2041 (v6.2.2.6613 on VirtualBox without D3D)
ε Vuze - download - requires Java
. AnyDVD - place rego key in \XP32\Config\
. DVD Shrink
. CDBurnerXP .msi - requires .Net 2.0 or greater
ε VideoLAN Player
ε YouTube Downloader
. Save2PC Light
. BOINC Screensaver
. VirtualBox Additions - copy \Oracle\VirtualBox\VBoxGuestAdditions.iso to \XP32\, requires 7-Zip
. VMware Tools - copy \VMware\VMware Player\WinPreVista.iso to \XP32\, requires 7-Zip

It should be obvious, but installing these applications is completely optional, for instance there is very little point in installing 3 different PDF readers. Be cautious using AddOns at the nLite Hotfix integration step as they can break the install, however you can strip the actual executable out of the various AddOns created by others (copying the file to \XP32\) and then add the appropriate command to the batch files. The executables have usually been repacked as silent installers, but be sure to read the entries*.ini file to confirm this.

You can have as many application install reboot passes as desired. To do this simply set the system to auto-logon (in step 8) as many times as required and place the appropriate number of batch files in the \XP32\Config\ directory of your install media. Another 2 batch files are already written (at \Misc\) with the needed handover command, but if you need more they are fairly self explanatory. Be sure to install security software last.

There are two files in \XP32\Config\ that affect setup, MenuReorg.bat will delete all program icons from the desktop and organise the start menu folders while boot*.ini will allow you to select DEP level easily at each boot (defaults to AlwaysOn, the most secure), move or rename them if you don't desire these effects.

After installing
Please check both the Control Panel (for Kel's bonus utilities) and "Add/Remove Windows Components" (for things like .NET & PowerShell) that aren't part of a normal XP sp3 install.

If you're using .NET Framework 4.0 (installed by default) then every time you install a new update or application for .NET Framework make sure you run:
%systemroot%\Microsoft.NET\Framework\v4.0.30319\ngen.exe executequeueditems
OR \RunOnce\Post_dotNET_40_Update.bat to boost system performance and ensure reliability.

Microsoft's EMET is a powerful and low resource security tool that hardens your system, the manual is included and an extensive application support configuration file has been applied.

Stand Alone Drivers
This disk can also be used as a driver store for already installed Windows XP systems, simply run DP_Install_Tool.cmd in \OEM\ (for CPU, Chipset, Mass Storage, LAN & WLAN, Audio or Video) or \DriverPacks.net\ (for Keyboard & Mouse, Monitors, WebCams, TV Capture, BlueTooth, Modems, et al).

Testing
I use VirtualBox for testing purposes (v5.2.x for 32-bit hosts), highly configurable regarding choice of emulated hardware and also good for virtualizing Linux (some tricks needed for Windows 98se).

VirtualBox hints:
  1. To get sound working properly, update the AC'97 codec driver from SigmaTel to 82801AA via the device manager.
  2. Silent installation of Virtual Machine extensions is supported, once VirtualBox is installed there will be a file "VBoxGuestAdditions.iso" at "\Program Files\[Sun|Oracle]\VirtualBox\", copy it to \XP32\ on your install media (requires 7-Zip) AND increase the number of automatic logins (at step 8) by one.
  3. They are installed with VirtualBox's experimental Direct 3D support (/with_D3D switch) which allows some games to work (Doom 3 for example) but can also cause some minor glitches.
  4. If you don't want Direct 3D support, rename VBoxGuestAdditions.iso to VBGA.iso

Other options are VMware Server 1.0.10 (Vista-) or VMware Player 15.x.x (Win7x64+) or VMware Player 12.5.9 (for pre-2010 CPUs), they're also free but have some limitations, VMware Server also requires registration.

VMware hints:
  1. Silent installation of Virtual Machine extensions is supported, once VMware Server|Player is installed there will be a file "Windows.iso|WinPreVista.iso" at "\Program Files (x86)\VMware\Server|Player\", copy it to \XP32\ on your install media (requires 7-Zip).
  2. When booting up the Virtual Machine click your mouse inside the VM and hit F2, this will allow you to access the VM BIOS, you can then alter the boot sequence so that it always boots off the CD first.
  3. If the BIOS flashes past too fast to access then add bios.bootDelay = "5000" to the VMname.vmx file, this will give you 5 seconds.
Last edited by Kurt_Aust on Sat Jul 06, 2019 12:54 am, edited 8 times in total.

Kurt_Aust
Posts: 99
Joined: Fri Jul 25, 2008 6:23 pm
Location: Sydney, Australia

Re: HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Post by Kurt_Aust » Thu Nov 17, 2016 11:30 pm

Changelog

18 Nov 16: Moved to RyanVM from MSFN and application updates from January to November.

27 Dec 16: Added new Windows Installer fix (KB3196726), updated InfranView & UltraDefrag, removed support for Office 2007

26 Mar 17: Updated roots & rufus and some download links

1 Jan 18: Updated roots, InfranView & Rufus and some download links, removed Skype & BurnAware

7 Jul 19: Updated to use Harkaz's May 2019 post SP4 update pack.
Last edited by Kurt_Aust on Sat Jul 06, 2019 12:57 am, edited 4 times in total.

Kurt_Aust
Posts: 99
Joined: Fri Jul 25, 2008 6:23 pm
Location: Sydney, Australia

Re: HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Post by Kurt_Aust » Fri Nov 18, 2016 1:48 am

Reserved

Kurt_Aust
Posts: 99
Joined: Fri Jul 25, 2008 6:23 pm
Location: Sydney, Australia

Re: HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Post by Kurt_Aust » Fri Nov 18, 2016 1:49 am

Reserved

Kurt_Aust
Posts: 99
Joined: Fri Jul 25, 2008 6:23 pm
Location: Sydney, Australia

Re: HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Post by Kurt_Aust » Tue Dec 27, 2016 4:45 am

Update 27 Dec 16:
  • Added new Windows Installer fix - KB3196726
    Updated InfranView - 4.44
    Updated UltraDefrag - 7.0.2
    Updated optional application download links and information regarding them
    Removed support for Office 2007 due to Microsoft Update never completing its search if it's installed.

junwuan
Posts: 4
Joined: Sat Jan 30, 2016 4:52 pm

Re: HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Post by junwuan » Fri Jan 27, 2017 8:14 pm

I edited this post becouse was not usefull. Thank for share your work is a little gem.
Last edited by junwuan on Fri Mar 10, 2017 8:07 am, edited 1 time in total.

Kurt_Aust
Posts: 99
Joined: Fri Jul 25, 2008 6:23 pm
Location: Sydney, Australia

Re: HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Post by Kurt_Aust » Sun Jan 29, 2017 2:07 pm

I know Chrome 49 still works, but I don't have a copy of it and v48 updates in the background within 10 minutes anyway.

As for the other items, I'll worry about getting things like that to work once there isn't a currently supported alternative.

User avatar
GH0st
Posts: 613
Joined: Wed Nov 05, 2014 9:31 am
Location: Virginia, USA

Re: HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Post by GH0st » Fri Aug 11, 2017 10:52 am

My favorite version of Chrome is SRWare Iron, v49

www.srware.net/en/software_srware_iron_download.php Can be DL'ed from that link

WiltonHo
Posts: 1
Joined: Fri Oct 20, 2017 4:41 am

Re: HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Post by WiltonHo » Wed Oct 25, 2017 4:41 am

GH0st wrote:
Fri Aug 11, 2017 10:52 am
My favorite version of Chrome is SRWare Iron, v49

www.srware.net/en/software_srware_iron_download.php Can be DL'ed from that link
Thanks, I downloaded it and think it's the best version I've tried so far. I would definitely recommend it too.

User avatar
GH0st
Posts: 613
Joined: Wed Nov 05, 2014 9:31 am
Location: Virginia, USA

Re: HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Post by GH0st » Wed Oct 25, 2017 5:58 pm

Extensions are your friend: I use "uBlock Origin" with most of the lists offered and "uBlock Origin Extra" and "HTTPS Everywhere(2017.7.5)" older version still works on older Chrome just fine. I also use "Don't track me Google".

This combo is really light and keeps me pretty well safe

Kurt_Aust
Posts: 99
Joined: Fri Jul 25, 2008 6:23 pm
Location: Sydney, Australia

Re: HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Post by Kurt_Aust » Sun Dec 31, 2017 5:40 pm

Update 1 Jan 18
  • Updated InfranView - 4.50
    Updated Rufus - 2.18
    Updated root certificates
  • Removed Skype - too many glitches in VirtualBox
    Removed BurnAware - requires net connection to install
  • Updated optional application download links and information regarding them

Kurt_Aust
Posts: 99
Joined: Fri Jul 25, 2008 6:23 pm
Location: Sydney, Australia

Re: HOWTO create a XP SP4 DVD with all DriverPacks and some apps

Post by Kurt_Aust » Sat Jul 06, 2019 1:05 am

Update 6 Jul 19
  • Updated guide to use Harkaz's May 2019 post SP4 update pack
  • Replaced DriverPacks Mass Storage TextMode drivers with Fernando's updated Intel AHCI & RAID drivers
  • Removed security software as most is either completely outdated or simply no longer works
  • Updated links and indicated which software is no longer supported on Win XP

Post Reply