Jump to content

Recommended Posts

Posted

I had follow the svcpack.ini SVCPACK.INFmethod in the unattended.msfn.org, but during install the XP, I found that all the hotfix and wmp10 had not install during the installation, i had checked that i remove the SVCPACK.IN_ in the folder I386, all my hotfix is chinese version. here is my svcpack.inf, can anybody help me to find out the problem.

;Windows XP

[Version]Signature="$Windows NT$"

MajorVersion=5

MinorVersion=1

BuildNumber=2600

[setupData]

CatalogSubDir="I386\SVCPACK"

[ProductCatalogsToInstall]

[setupHotfixesToRun]

MPSetup.exe

Q816093.exe /U /O /N /Z

KB873333.exe /U /O /N /Z

KB873339.exe /U /O /N /Z

KB885250.exe /U /O /N /Z

KB885835.exe /U /O /N /Z

KB885836.exe /U /O /N /Z

KB886185.exe /U /O /N /Z

KB886677.exe /U /O /N /Z

KB887742.exe /U /O /N /Z

KB888113.exe /U /O /N /Z

KB888302.exe /U /O /N /Z

KB890046.exe /U /O /N /Z

KB890175.exe /U /O /N /Z

KB890859.exe /U /O /N /Z

KB891781.exe /U /O /N /Z

KB893086.exe /U /O /N /Z

KB893756.exe /U /O /N /Z

KB894391.exe /U /O /N /Z

KB896358.exe /U /O /N /Z

KB896422.exe /U /O /N /Z

KB896423.exe /U /O /N /Z

KB896424.exe /U /O /N /Z

KB896428.exe /U /O /N /Z

KB896688.exe /U /O /N /Z

KB896727.exe /U /O /N /Z

KB898461.exe /U /O /N /Z

KB899587.exe /U /O /N /Z

KB899588.exe /U /O /N /Z

KB899589.exe /U /O /N /Z

KB899591.exe /U /O /N /Z

KB900725.exe /U /O /N /Z

KB901017.exe /U /O /N /Z

KB901214.exe /U /O /N /Z

KB902400.exe /U /O /N /Z

KB903235.exe /U /O /N /Z

KB904706.exe /U /O /N /Z

KB905414.exe /U /O /N /Z

KB905749.exe /U /O /N /Z

KB905915.exe /U /O /N /Z

KB908519.exe /U /O /N /Z

KB910437.exe /U /O /N /Z

KB911564.exe /U /O /N /Z

KB911565.exe /U /O /N /Z

KB911567.exe /U /O /N /Z

KB911927.exe /U /O /N /Z

KB912919.exe /U /O /N /Z

qchain.exe


Posted (edited)

This is my Svcpack.inf it with SP2 intergrated in it. You have to install WMP 10 first before you can add any updates for it. I use a VBS script to intergrate the listed updates.

[CatalogHeader]

[Version]

BuildNumber=2600

MinorVersion=1

MajorVersion=5

Signature="$WINDOWS NT$"

[setupData]

CatalogSubDir="\I386\svcpack"

[setupHotfixesToRun]

WMP10.exe

KB896358.exe /q /n /z

KB910437.exe /q /n /z /b:SP2GDR

KB911564.exe /q /n /z

KB911927.exe /q /n /z /b:SP2GDR

KB911565.exe /q /n /z

KB913446.exe /q /n /z /b:SP2GDR

KB894391.exe /q /n /z

KB901017.exe /q /n /z

KB899589.exe /q /n /z

KB902400.exe /q /n /z

KB905414.exe /q /n /z

KB900725.exe /q /n /z

KB905749.exe /q /n /z

KB905915.exe /q /n /z /b:SP2GDR

KB904706.exe /q /n /z /b:SP2GDR

KB912919.exe /q /n /z /b:SP2GDR

KB908519.exe /q /n /z /b:SP2GDR

KB887742.exe /q /n /z

KB885626.exe /q /n /z

KB873339.exe /q /n /z

KB885835.exe /q /n /z

KB885836.exe /q /n /z

KB886185.exe /q /n /z

KB890175.exe /q /n /z

KB873333.exe /q /n /z

KB888113.exe /q /n /z

KB891781.exe /q /n /z

KB888302.exe /q /n /z

KB890046.exe /q /n /z

KB893066.exe /q /n /z

KB896422.exe /q /n /z

KB896428.exe /q /n /z

KB890047.exe /q /n /z

KB890859.exe /q /n /z

KB903235.exe /q /n /z

KB901214.exe /q /n /z

KB896423.exe /q /n /z

KB899587.exe /q /n /z

KB899591.exe /q /n /z

KB893756.exe /q /n /z

KB899588.exe /q /n /z

KB896424.exe /q /n /z

KB896727.exe /q /n /z

[ProductCatalogsToInstall]

KB896358.cat

KB910437.cat

KB911564.cat

KB911927.cat

KB911565.cat

KB913446.cat

KB894391.cat

KB901017.cat

KB899589.cat

KB902400.cat

KB905414.cat

KB900725.cat

KB905749.cat

KB905915.cat

KB904706.cat

KB912919.cat

KB908519.cat

KB887742.cat

KB885626.cat

KB873339.cat

KB885835.cat

KB885836.cat

KB886185.cat

KB890175.cat

KB873333.cat

KB888113.cat

KB891781.cat

KB888302.cat

KB890046.cat

KB893066.cat

KB896422.cat

KB896428.cat

KB890047.cat

KB890859.cat

KB903235.cat

KB901214.cat

KB896423.cat

KB899587.cat

KB899591.cat

KB893756.cat

KB899588.cat

KB896424.cat

KB896727.cat

Script I use to intergrate SP2 and updates this is for english and it requires %Systemdrive%\XPCD and Service Pack 2 in %Systemdrive%\XPCD\WindowsXP-KB835935-SP2-ENU.exe. If you are using other langauges then change this

WindowsXP-KB835935-SP2-ENU.exe to WindowsXP-KB835935-SP2-YOUR_LANGAUGE_HERE.exe, this must be done for only the names in the Array.

Save As IntergrateXP.vbs

' //--> VARIBLES FOR THE SCRIPT
Dim Act, Fso, InstallReport, Ts, UpateArchive, VBS, XPCD
' //--> OBJECTS FOR THE SCRIPT
Set Act = CreateObject("Wscript.shell")
Set Fso = CreateObject("Scripting.FileSystemObject")
' //-->
' //--> VARIBLE AS A OBJECT THIS IS A TEXT FILE THAT WILL REPORT SUCCEFULL AND MISSING UPDATES
InstallReport = Act.ExpandEnvironmentStrings("%USERPROFILE%\Desktop\KbReport.txt")
' //-->
' //--> VARIBLE AS OBJECT THE FOLDER WHERE THE SERVICE PACK 2 AND UPDATES ARE LOCATED.
XPCD = Act.ExpandEnvironmentStrings("%SystemDrive%\XPCD\")
UpateArchive = Act.ExpandEnvironmentStrings("%SystemDrive%\XPUpdateArchive\")
' //--> VBS NAME THAT GET DELETED AFTER THE SCRIPT RAN
VBS = Act.ExpandEnvironmentStrings("%Systemdrive%\IntergrateXP.vbs")
' //-->
' //--> INSTALL REPORT VARIBLES
Dim Ln1, S_3, S_5, ErrMsg1, ErrMsg2
' //-->
' //--> INSTALL VARIBLES AS OBJECTS
Ln1 = Chr(171) & " ------------------------------------------------- " & Chr(187)
S_3 = Space(3)
S_5 = Space(5)
' //--> SERVICE PACK 2 IS MISSING
ErrMsg1 = S_5 & "Cannot Find Service Pack 2, this is need to intergrate the updates" &_
vbCrLf & S_5 & "To use this script Service Pack 2 is needed" & vbCrLf &_
S_5 & "When you have Service Pack 2 in " & XPCD & ", then rerun this script" & S_3 & Ln1
' //--> MISSING %SYSTEMDRIVE%\XPCD
ErrMsg2 = S_5 & "Missing The Work Directory" & vbCrLf & S_5 & XPCD & vbCrLf & S_5 &_
"This script needs a XP source to Intergrate" & vbCrLf & S_5 &_
"Please have the XP source here, " & XPCD & vbCrLf & S_5 &_
"Then rerun this script to intergrate SP2 and other Updates" & vbCrLf & S_3 & Ln1
' //-->
' //--> VARIBLES FOR THE UPDATES
Dim SlipKBL, StrKBL
' //-->
' //--> ARRAY TO HOLD SERVICE PACK 2 AND UPDATES, ENGLISH
' //--> CHANGE -ENU TO MATCH THE LANGUAGE YOU NEED
' //-->
SlipKBL = Array(_
"WindowsXP-KB835935-SP2-ENU.exe", "WindowsXP-KB896727-x86-ENU.exe",_
"WindowsXP-KB896424-x86-ENU.exe", "WindowsXP-KB899588-x86-ENU.exe",_
"WindowsXP-KB893756-x86-ENU.exe", "WindowsXP-KB899591-x86-ENU.exe",_
"WindowsXP-KB899587-x86-ENU.exe", "WindowsXP-KB896423-x86-ENU.exe",_
"WindowsXP-KB901214-x86-ENU.exe", "WindowsXP-KB903235-x86-ENU.exe",_
"WindowsXP-KB890859-x86-ENU.exe", "WindowsXP-KB890047-x86-ENU.exe",_
"WindowsXP-KB896428-x86-ENU.exe", "WindowsXP-KB896422-x86-ENU.exe",_
"WindowsXP-KB893066-v2-x86-ENU.exe", "WindowsXP-KB890046-x86-ENU.exe",_
"WindowsXP-KB888302-x86-ENU.exe", "WindowsXP-KB891781-x86-ENU.exe",_
"WindowsXP-KB888113-x86-ENU.exe", "WindowsXP-KB873333-x86-ENU.exe",_
"WindowsXP-KB890175-x86-ENU.exe", "WindowsXP-KB886185-x86-ENU.exe",_
"WindowsXP-KB885836-x86-ENU.exe", "WindowsXP-KB885835-x86-ENU.exe",_
"WindowsXP-KB873339-x86-ENU.exe", "WindowsXP-KB885626-v2-x86-ENU.exe",_
"WindowsXP-KB887742-x86-ENU.exe", "WindowsXP-KB908519-x86-ENU.exe",_
"WindowsXP-KB912919-x86-ENU.exe", "WindowsXP-KB904706-v2-x86-ENU.exe",_
"WindowsXP-KB905915-x86-ENU.exe", "WindowsXP-KB905749-x86-ENU.exe",_
"WindowsXP-KB900725-x86-ENU.exe", "WindowsXP-KB905414-x86-ENU.exe",_
"WindowsXP-KB902400-x86-ENU.exe", "WindowsXP-KB899589-x86-ENU.exe",_
"WindowsXP-KB901017-x86-ENU.exe", "WindowsXP-KB894391-x86-ENU.exe")
' //-->
' //--> CHECKS FOR THE UA WORK AREA AND SERVICE PACK2
Function CheckXPCDDirectory
' //-->
' //--> TEXT FILE
Set Ts = Fso.CreateTextFile(InstallReport)
Ts.WriteLine S_5 & "Time And Date Of Intergration : " & Now()
Ts.WriteLine S_5 & "Computer Name : " & Act.ExpandEnvironmentStrings("%ComputerName%")
Ts.WriteLine S_3 & Ln1 & vbCrLf
' //-->
' //--> CHECKS FOR XPCD ON %SYSTEMDRIVE%
If Fso.FileExists(XPCD & "i386\ZONEOC.DL_") Then
Act.Popup "Found The Ua Work Directory. Preparing The Next Checks", 7, "Confirm XPCD", 0 + 32
' //-->
' //--> CHECK FOR SERVICE PACK 2 IF IT NOT THERE THEN IT EXISTS THE SCRIPT
If Fso.FileExists(XPCD & SlipKBL(0)) Then
' //-->
' //--> CHECK FOR THE SVCPACK.INF OR SVCPACK.IN_
If Fso.FileExists(XPCD & "i386\svcpack.inf") Then
Fso.DeleteFile(XPCD & "i386\svcpack.inf")
End If
If Fso.FileExists(XPCD & "i386\svcpack.in_") Then
Fso.DeleteFile(XPCD & "i386\svcpack.in_")
End If
' //-->
' //--> START THE INTERGRATE FUNCTION
IntergrateTheKB
Exit Function
Else
' //-->
' //--> IF SERVICE PACK 2 IS MISSING
Ts.WriteLine ErrMsg1
Ts.Close
Act.Run(Chr(34) & InstallReport & Chr(34)),1,True
WScript.Quit
End If
Else
' //-->
' //--> MISSING XPCD
Ts.WriteLine ErrMsg2
Ts.Close
Act.Run(Chr(34) & InstallReport & Chr(34)),1,True
WScript.Quit
End If
End Function
' //-->
' //--> INTERGRATES SERVICE PACK 2 AND UPDATES
Function IntergrateTheKB
' //-->
' //--> LOOP THAT START THE ARRAY TO INTERGRATE THE UPDATES
For Each StrKBL In SlipKBL
' //-->
' //--> CHECK TO SEE IF THE UPDATES ARE IN THE XPCD FOLDER
If Fso.FileExists(XPCD & StrKBL) Then
' //-->
' //--> INTERGRATE THE UPDATES
Act.run (XPCD & StrKBL & " /passive /norestart /L /o -s:%systemdrive%\XPCD"),1,true
' //-->
' //--> CONFIRM FOUND THE UPDATE START INTERGRATION
Ts.WriteLine S_5 & StrKBL
Ts.WriteLine S_5 & "Succesfull Intergration" & vbCrLf & S_3 & Ln1 & vbCrLf
' //-->
' //--> BUILDS A ARCHIVE FOLDER FOR THE UPDATES IF IT NOT THERE
If Not Fso.FolderExists(UpateArchive) Then
Fso.CreateFolder(UpateArchive)
End If
' //-->
' //--> MOVE THE UPDATES TO THE ARCHIVE AFTER THEY HAVE BEEN INTERGRATED
Fso.MoveFile(XPCD & StrKBL), (UpateArchive & StrKBL)
Else
' //-->
' //--> MISSING UPDATES
Ts.WriteLine S_5 & "Missing The Update"
Ts.WriteLine S_5 & StrKBL & vbCrLf & S_3 & Ln1 & vbCrLf
End If
Next
' //-->
' //--> MISSING UPDATES CLOSES THE TEXT FILE THEN RUNS IT
Ts.Close
Act.Run(Chr(34) & InstallReport & Chr(34)),1,True
End Function
' //-->
' //--> START THE SCRIPT
CheckXPCDDirectory
' //-->
' //--> DELETES THE FILE AFTER THE SCRIPT RUNS
If Fso.FileExists(VBS) Then Fso.DeleteFile(VBS) End If

The list of updates that I install threw the runonce method, using a VBS script, inside of a SFX

Dim Act, Fso, XpUP 
Set Act = CreateObject("WScript.Shell")
Set Fso = CreateObject("Scripting.FileSystemObject")
XpUP = Array(_
"KB834707.exe","KB883939.exe","KB885250.exe","KB890923.exe","KB896358.exe",_
"KB910437.exe","KB911564.exe","KB911565.exe","KB911927.exe","KB913446.exe")
For Each strXP In XpUP
If Fso.FileExists(strXP) Then
Act.Run(strXP & " /passive /norestart /l /n /o /z"),1,True
Fso.DeleteFile(strXP),True
End if
Next
If Fso.FileExists("XpUpdates.vbs") Then : Fso.DeleteFile("XpUpdates.vbs"),True : End If

Here is a SFX file of the Main Intergrate SP2 and Updates

To edit

1:\ Open the SFX file with Winrar

2:\ Extract the VBS , open with notepad or whatever you use to edit VBS script

3:\ Rename the IntergrateXP.vbs inside of the Winrar to IntergrateXP_Old.vbs

4:\ Replace the edit file into Winrar

5:\ Delete this file IntergrateXP_Old.vbs inside of Winrar

Edited by gunsmokingman
Posted

THX for your reply,

This is my first time integrate the hotfix to the cd, I don't know how to use the vbs to install the things.

Also how i can get the *.cab file for the hotfix? I find that some of the hotfix after extract hadn't the *.cab file....

Posted

All you have to do is click on the VBS file and it will do all the intergrating stuff. You only have to change the languge for the updates. There is no cab files as that is a different method. When the script is finished, you will have a folder in %Systemdrive%\XPCD\i386\Svcpack this is where the files are. Then when you start the install of XP, at around the 13 minute mark the updates will install them self. The smaller script I install

those updates threw the RunOnceEx method of a Ua install.

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