The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Making a HP WinXP SP3 install disc

    Discussion in 'HP' started by brianstretch, May 14, 2008.

  1. brianstretch

    brianstretch Notebook Virtuoso

    Reputations:
    441
    Messages:
    3,667
    Likes Received:
    0
    Trophy Points:
    105
    Here's what I did. Hopefully I remembered everything:

    1. Get a HP WinXP install disc or any other install disc. Copy its contents into a directory on your HD, say c:\winxp_source. To turn a non-HP disc into a HP disc, use the OEMBIOS Method (bottom of that page). You'll also need to copy the correct ProductKey to the [UserData] section of c:\winxp_source\i386\winnt.sif (the one from winnt.sif from a real HP disc of the same Windows variant you're using, NOT the one printed on the bottom of your notebook).

    2. Get Windows XP SP3.

    3. Run it from the command line with the following options:
    Code:
    \Downloads\windowsxp-kb936929-sp3-x86-enu.exe /integrate:c:\winxp_source
    4. OPTION: Integrate drivers with the Drivers from CD method. For Intel platform notebooks, download the latest chipset, networking, and graphics drivers from intel.com. For Synaptics touchpads, see synaptics.com. Everything else, get the drivers from hp.com and split the spxxxxx.exe files apart with:
    Code:
    spxxxxx.exe -pdf -fc:\\winxp_source\\$OEM$\\$1\\Drivers\\directory_name -s -e
    Or -f.\\directory_name if you're currently in the Drivers directory.
    NOTE: Intel graphics drivers need to be installed as an application, up next, not here. ATI and NVIDIA drivers are OK though.

    5. OPTION: Integrate applications with the RunOnceEX method. My RunOnceEx.cmd file, to get you started:
    Code:
    cmdow @ /HID
    @echo off
    
    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
    
    REG ADD %KEY% /V TITLE /D "Installing Applications" /f
    
    REG ADD %KEY%\015 /VE /D "Java Runtime 6u6" /f
    REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\jre-6u6-windows-i586-p.exe /s /v\"/qn ADDLOCAL=ALL REBOOT=Suppress ALLUSERS=2\"" /f
    
    #REG ADD %KEY%\030 /VE /D "Spybot 1.52" /f
    #REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\spybotsd152.exe /VERYSILENT" /f
    
    REG ADD %KEY%\035 /VE /D "Firefox 2.0.0.14" /f
    REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\Firefox2.0.0.14.exe -ms" /f
    
    REG ADD %KEY%\037 /VE /D "Thunderbird 2.0.0.14" /f
    REG ADD %KEY%\037 /V 1 /D "%systemdrive%\install\Thunderbird2.0.0.12.exe -ms" /f
    
    REG ADD %KEY%\038 /VE /D "MozBackup 1.4.7" /f
    REG ADD %KEY%\038 /V 1 /D "%systemdrive%\install\MozBackup-1.4.7-ENG.exe /sp- /verysilent /norestart" /f
    
    REG ADD %KEY%\039 /VE /D "Flash for Mozilla 9.0.124" /f
    REG ADD %KEY%\039 /V 1 /D "%systemdrive%\install\install_flash_player.exe /S" /f
    
    REG ADD %KEY%\040 /VE /D "AVG 7.5 Free" /f
    REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\avg75free_524a1289.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED" /f
    
    REG ADD %KEY%\041 /VE /D "AVG Anti-Rootkit 1.1.0.42" /f
    REG ADD %KEY%\041 /V 1 /D "%systemdrive%\install\avgarkt-setup-1.1.0.42.exe /S" /f
    
    REG ADD %KEY%\042 /VE /D "Quicktime 7.4.5" /f
    #REG ADD %KEY%\042 /V 1 /D "%systemdrive%\install\QuickTimeInstaller.exe /s /w /v\"/qn ALLUSERS=2\"" /f
    REG ADD %KEY%\042 /V 1 /D "%systemdrive%\install\QuickTimeInstaller.exe /quiet /norestart" /f
    
    REG ADD %KEY%\043 /VE /D "XviD-1.1.3-28062007" /f
    REG ADD %KEY%\043 /V 1 /D "%systemdrive%\install\XviD-1.1.3-28062007.exe /sp- /verysilent /norestart" /f
    
    REG ADD %KEY%\044 /VE /D "AC3Filter 1.46" /f
    REG ADD %KEY%\044 /V 1 /D "%systemdrive%\install\ac3filter_1_46.exe /S" /f
    
    REG ADD %KEY%\045 /VE /D "Real Alternative 1.80" /f
    REG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\realalt180.exe /sp- /verysilent /norestart" /f
    
    REG ADD %KEY%\046 /VE /D "VideoLAN Client 0.8.6f" /f
    REG ADD %KEY%\046 /V 1 /D "%systemdrive%\install\vlc-0.8.6f-win32.exe /S" /f
    
    #REG ADD %KEY%\048 /VE /D "GPG4WIN 1.1.3" /f
    #REG ADD %KEY%\048 /V 1 /D "%systemdrive%\install\gpg4win-1.1.3.exe /S" /f
    
    REG ADD %KEY%\050 /VE /D "7-Zip 4.5.7" /f
    REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\7z457.exe /S" /f
    
    REG ADD %KEY%\052 /VE /D "ImgBurn 2.4.1.0" /f
    REG ADD %KEY%\052 /V 1 /D "%systemdrive%\install\SetupImgBurn_2.4.1.0.exe /S" /f
    
    # Use "sp30132 -pdf -fd:\\NVIDIA -s -e" pattern to break apart HP service packs
    
    #REG ADD %KEY%\060 /VE /D "HP Help and Support 4.4C" /f
    #REG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\Help44C\setup.exe -s" /f
    
    #REG ADD %KEY%\062 /VE /D "HP Quicklaunch" /f
    #REG ADD %KEY%\062 /V 1 /D "%systemdrive%\install\Quicklaunch\setup.exe -s" /f
    
    #REG ADD %KEY%\063 /VE /D "HP Battery Check" /f
    #REG ADD %KEY%\063 /V 1 /D "%systemdrive%\install\BattCheck\setup.exe -s" /f
    
    #REG ADD %KEY%\064 /VE /D "Intel Video" /f
    #REG ADD %KEY%\064 /V 1 /D "%systemdrive%\install\Video\setup.exe -s" /f
    
    REG ADD %KEY%\068 /VE /D "AMD Drivers 1.3.2.0053" /f
    REG ADD %KEY%\068 /V 1 /D "%systemdrive%\install\amdcpusetup.exe /s" /f
    
    REG ADD %KEY%\075 /VE /D "Cleaning Up and Rebooting" /f
    REG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f
    
    EXIT
    Finding the right command-line switches for silent installs can be tricky but HP has been consistent. Comment out and uncomment sections as needed.

    6. OPTION: Integrate Intel SATA drivers using NLite. Get the latest Intel SATA driver floppy disc image, make the floppy or extract the image file with 7-Zip and mount it from Linux (mkdir F32 ; mount -t msdos -o loop F32.IMA F32). Tell NLite to use either of the two .inf files, select however many of the chipset types as you want (I selected all of the Mobile chipsets) when it asks.

    7. Tomcat76 describes how to fix the napclientprov.mof and napclientschema.mof SP3 integration bug. In short:
    Code:
    cd c:\winxp_source\i386
    expand wbemoc.in_ wbemoc.inf
    Comment out napclientprov.mof and napclientschema.mof towards the end of wbemoc.inf
    makecab wbemoc.inf
    8. There are a few tweaks you may wish to make to i386\winnt.sif. Here's mine:
    Code:
    [UserData]
    ProductKey="***change this to HP's key***"
    
    [Data]
    AutoPartition=0
    MSDosInitiated=0
    UnattendedInstall=Yes
    
    [Unattended]
    UnattendMode = DefaultHide
    UnattendSwitch = "No"
    OemPreinstall = "Yes"
    OemSkipEula = "Yes"
    FileSystem = *
    WaitForReboot = "Yes"
    NoWaitAfterTextMode = 0
    NoWaitAfterGUIMode = 0
    DriverSigningPolicy = Ignore
    NonDriverSigningPolicy = Ignore
    KeyboardLayout="US"
    
    [GuiUnattended]
    EncryptedAdminPassword = "No"
    OemSkipWelcome = 1
    
    [Components]
    msmsgs=off
    msnexplr=off
    
    [Networking]
    InstallDefaultComponents = "Yes"
    9. Build your new CD or DVD image with NLite. You may want to test the image with VMWare Player. EasyVMX will build the necessary virtual machine files if you need them. I recommend clicking the Ethernet button at the top of the VM window to disable networking so your VM doesn't pester Microsoft. Once you're satisfied, burn the image and give it a try.

    I used the above template to clean install a HP notebook today with no annoying yellow question marks.

    In the future you may wish to use RyanVM's Post-SP3 Update Pack, when there are post-SP3 updates available. His post-SP2 packs have been extremely helpful to me.
     
  2. jin07

    jin07 Notebook Deity NBR Reviewer

    Reputations:
    1,194
    Messages:
    1,889
    Likes Received:
    0
    Trophy Points:
    55
    Arg. I wish I had seen this before reinstalling XP. Still great guide, though I think there was also one for XP SP2.
     
  3. RedBeardedDevil

    RedBeardedDevil Notebook Consultant

    Reputations:
    1
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    30
    Isn't it easier to just use nlite for the whole thing? I did. I also got to customize windows before installing it just the way I like it. All my drivers went in, antivirus, firewall, etc. I am not trying to flame, just trying to see if this way is better or easier.