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

Windows XP Professional Update Pack discussion.
Post Reply
Kurt_Aust
Posts: 97
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.3 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: 49C21AEA285347F6A3416185CCE5BC8BDA4E268C - 91 files that won't change
B - SHA-1: BB766F023CB77D606C4AAC60BDE325DC403C0FE5 - 26 files that might change


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

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. 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. Add the Visual C++ runtimes from the \Hotfix\ directory
  6. 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
  7. Make any tweaks you want, then run the process.
  8. Fire up \DriverPacks\DPs_BASE.exe and target the \XP-nLite\ working directory.
  9. Select all DriverPacks (only Graphics_PhysX in 3rd party).
  10. Choose Slimstream Method 2 and Custom Finisher Start.
  11. Disable Keep the Drivers and QuickStream Cache.
  12. Choose ATI CCC new and nVidia CP both.
  13. Check the settings and then slipstream the DriverPacks.
  14. Copy all the contents of the \CopyFrom\ folder to the \XP-nLite\ working directory.
  15. 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 the first reboot, 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 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): ε=EMET protected

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

Recommended but not included on the DVD (large and/or changes regularly)
ε FireFox ESR - dictionaries supported (*.aff *.dic) en_US, en_GB, en_CA & en_AU already on DVD
. Flash Player plugin - direct links >> Internet Explorer . FireFox & SeaMonkey . Chrome & Opera
ε Java Runtime Environment
ε Libre Office - use v5.4.3.2 - can use Java, "en-GB" help files folder renamed to "en"
ε Foxit Reader - last version with menu based UI option (Help >> Change Toolbar Mode)
ε K-Lite Mega Codec Pack - 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 - dictionaries supported
ε SeaMonkey - dictionaries supported
ε Opera - use v36.0.2130.65 - April 2016
ε Google Chrome - use v48 - April 2016
. Shockwave Player plugin
. Silverlight Player plugin
. Notepad ++
ε SumatraPDF
ε Adobe Reader - use v11.0.8 & update patch (v11.0.xx)
ε GIMP - "en_GB" help files folder renamed to "en"
ε Google Picasa
. Mihov Image Resizer
. nLite - requires Admin rights
. WMP11 Slipstreamer
. AutoIt
. Virtual PC 2007 SP1 (rename to VirtualPC2007x86setup.exe) & patch & patch
. VirtualBox - 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 - use 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 - offline installer
. Save2PC Light
. BOINC Screensaver
. Spybot: Search & Destroy v1.6.2 - detection update integration supported - requires Admin rights
. Microsoft Security Essentials - use v4.4.304.0 - detection update integration supported
. Comodo Firewall - use v5.12 x86 .msi - install switches
. 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 6) 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.

The PoS registry key has been set so you will continue to receive patches until April 2019 but please note that Microsoft has crippled Windows Update and hence it can take a full day or more to scan and that there are 2 special cases::
A) Any post-sp4 update for Windows Installer (MSI 4.5), as highlighted in this post. It is imperative that you install these updates separately (KB3196726 has already been applied). After installing them RUN THIS COMMAND: msiexec.exe /regserver
B) 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, 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 6) 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 12 (Win7x64+), 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 Wed Jan 03, 2018 3:55 pm, edited 6 times in total.

Kurt_Aust
Posts: 97
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
Last edited by Kurt_Aust on Sun Dec 31, 2017 5:36 pm, edited 3 times in total.

Kurt_Aust
Posts: 97
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: 97
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: 97
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: 97
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: 572
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: 572
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: 97
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

Post Reply