Jump to content

HOWTO create a Windows XP SP4 DVD with all DriverPacks and some apps (repost)


Recommended Posts

Reposted from the defunct RyanVM forums

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: C14604183AA54F798B0379AEB778F3841EF1EA26 - 87 files that won't change
B - SHA-1: 546D3A5928C5BB17F23140D68941E634AB1B2035 - 19 files that might change

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

Download and extract the post SP4 May 2019 v2 update pack

Using a BitTorrent client (or from MediaFire), 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 6 and enable TextMode at step 10.

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 v2 update pack by running the slipstream.bat file

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

  7. 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:
      Ping -n 61 > 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

  8. Make any tweaks you want, then run the process

  9. Fire up \DriverPacks\DPs_BASE.exe and target the \XP-nLite\ working directory

  10. Select all DriverPacks (only Graphics_PhysX in 3rd party) but don't include the Mass Storage drivers in TextMode

  11. Choose Slimstream Method 2 and Custom Finisher Start

  12. Disable Keep the Drivers and QuickStream Cache

  13. Choose ATI CCC new and nVidia CP both

  14. Check the settings and then slipstream the DriverPacks

  15. Copy all the contents of the \CopyFrom\ folder to the \XP-nLite\ working directory

  16. After you drag n drop anything else that you may want / need, go ahead and burn that image / DVD

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)
. Visual C++ 2005-2015 - do NOT install Visual C++ 2019 or later
ε 7-Zip .msi - Critical
. HashTab v5.2
. Dexpot
. Tool Tip Fixer
ε FireFox - v52.9.0esr - Yank, Pom, Canuck & Aussie dictionaries installed
ε FileZilla - v3.7.4.1
ε IrfanView - plugins installed
. DOS Box
. Daemon Tools Lite - v4.49.1.0356 - requires SPTD
. 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 - requires Java for the database component
ε Foxit Reader - v8.3.2
ε K-Lite Mega Codec Pack - v13.8.5 - lots of stuff option

Supported (pick and choose to suit your needs and/or preferences)
ε WinRAR
ε ThunderBird - v52.9.1 - Yank, Pom, Canuck & Aussie dictionaries installed
ε SeaMonkey - v2.49.5 - Yank, Pom, Canuck & Aussie dictionaries installed
ε Opera - v36.0.2130.80 - April 2016
ε Google Chrome - v48 .msi - April 2016
. Adobe Flash Player plugins:  Internet Explorer . FireFox & SeaMonkey . Chrome & Opera
. Adobe Shockwave Player plugin
. Microsoft Silverlight Player plugin
. Notepad++ - v7.9.2
ε M$ Office 2007 - see \XP-32|XP32\Config\Office2007.html
ε SumatraPDF - v3.1.2
ε Adobe Reader - v11.0.8 & patch (v11.0.23) - 1st run must be from an Administrator account
ε GIMPv2.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.44 - Oracle extension pack supported
. VMware Player - v6.0.7 OR VMware Server - v1.0.10
. . . . . . . . . . . . . . . . Server only - edit \XP32\Config\Run2.bat to insert your registration key, any DEP level except AlwaysOn
ε Google Earth - v7.1.8.3036
ε Vuze - download - requires Java
. AnyDVD - v7690
. DVD Shrink
. CDBurnerXP .msi - requires .Net 2.0 or greater
ε VideoLAN Player
. 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 (at step 7C) 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
See the Control Panel for Kel's bonus utilities and under "Add/Remove Windows Components" you should probably also add:
Management and Monitoring Tools + Networking Services + Other Network File and Print Services

If you're using .NET Framework 4.0 (installed by default) then every time you install a new update or application for .NET Framework you should run:
    %systemroot%\Microsoft.NET\Framework\v4.0.30319\ngen.exe executequeueditems
   OR 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.

Another useful addition is Legacy Update which reroutes Windows Update so that it still works with older versions of Windows, unfortunately it can't be installed offline and isn't quite complete as it still depends on the whims ofMicrosoft.

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

I use VirtualBox for testing purposes (v5.2.44 for 32-bit hosts), highly configurable regarding choice of emulated hardware and also good for virtualizing Linux (some tricks needed for Windows 98se).  For now use v6.0.24 or v5.2.44 or v4.3.40 as v6.1.x does NOT support Direct 3D on Windows XP.

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\Oracle\VirtualBox\", copy it to \XP32\ on your install media (requires 7-Zip) AND increase the number of automatic logins (at step 7C) 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 Player 15/16 (64 bit only, post 2010 CPU - Win7{15}, Win8+{16}, Linux), VMware Player 12 (64 bit only, pre-2010 CPU - Windows, Linux) or VMware Player 6 (32 or 64 bit, Win8-).

VMware  hints:

  1. Silent installation of Virtual Machine extensions is supported, once VMware Player is installed there will be a file WinPreVista.iso at "\Program Files (x86)\VMware\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.

Edited by Kurt_Aust
Link to comment
Share on other sites

  • Kurt_Aust changed the title to HOWTO create a Windows XP SP4 DVD with all DriverPacks and some apps (repost)

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