greatmouse Posted April 24, 2006 Posted April 24, 2006 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=5MinorVersion=1BuildNumber=2600[setupData]CatalogSubDir="I386\SVCPACK"[ProductCatalogsToInstall][setupHotfixesToRun]MPSetup.exeQ816093.exe /U /O /N /ZKB873333.exe /U /O /N /ZKB873339.exe /U /O /N /ZKB885250.exe /U /O /N /ZKB885835.exe /U /O /N /ZKB885836.exe /U /O /N /ZKB886185.exe /U /O /N /ZKB886677.exe /U /O /N /ZKB887742.exe /U /O /N /ZKB888113.exe /U /O /N /ZKB888302.exe /U /O /N /ZKB890046.exe /U /O /N /ZKB890175.exe /U /O /N /ZKB890859.exe /U /O /N /ZKB891781.exe /U /O /N /ZKB893086.exe /U /O /N /ZKB893756.exe /U /O /N /ZKB894391.exe /U /O /N /ZKB896358.exe /U /O /N /ZKB896422.exe /U /O /N /ZKB896423.exe /U /O /N /ZKB896424.exe /U /O /N /ZKB896428.exe /U /O /N /ZKB896688.exe /U /O /N /ZKB896727.exe /U /O /N /ZKB898461.exe /U /O /N /ZKB899587.exe /U /O /N /ZKB899588.exe /U /O /N /ZKB899589.exe /U /O /N /ZKB899591.exe /U /O /N /ZKB900725.exe /U /O /N /ZKB901017.exe /U /O /N /ZKB901214.exe /U /O /N /ZKB902400.exe /U /O /N /ZKB903235.exe /U /O /N /ZKB904706.exe /U /O /N /ZKB905414.exe /U /O /N /ZKB905749.exe /U /O /N /ZKB905915.exe /U /O /N /ZKB908519.exe /U /O /N /ZKB910437.exe /U /O /N /ZKB911564.exe /U /O /N /ZKB911565.exe /U /O /N /ZKB911567.exe /U /O /N /ZKB911927.exe /U /O /N /ZKB912919.exe /U /O /N /Zqchain.exe
gunsmokingman Posted April 25, 2006 Posted April 25, 2006 (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=2600MinorVersion=1MajorVersion=5Signature="$WINDOWS NT$"[setupData]CatalogSubDir="\I386\svcpack"[setupHotfixesToRun]WMP10.exeKB896358.exe /q /n /zKB910437.exe /q /n /z /b:SP2GDRKB911564.exe /q /n /zKB911927.exe /q /n /z /b:SP2GDRKB911565.exe /q /n /zKB913446.exe /q /n /z /b:SP2GDRKB894391.exe /q /n /zKB901017.exe /q /n /zKB899589.exe /q /n /zKB902400.exe /q /n /zKB905414.exe /q /n /zKB900725.exe /q /n /zKB905749.exe /q /n /zKB905915.exe /q /n /z /b:SP2GDRKB904706.exe /q /n /z /b:SP2GDRKB912919.exe /q /n /z /b:SP2GDRKB908519.exe /q /n /z /b:SP2GDRKB887742.exe /q /n /zKB885626.exe /q /n /zKB873339.exe /q /n /zKB885835.exe /q /n /zKB885836.exe /q /n /zKB886185.exe /q /n /zKB890175.exe /q /n /zKB873333.exe /q /n /zKB888113.exe /q /n /zKB891781.exe /q /n /zKB888302.exe /q /n /zKB890046.exe /q /n /zKB893066.exe /q /n /zKB896422.exe /q /n /zKB896428.exe /q /n /zKB890047.exe /q /n /zKB890859.exe /q /n /zKB903235.exe /q /n /zKB901214.exe /q /n /zKB896423.exe /q /n /zKB899587.exe /q /n /zKB899591.exe /q /n /zKB893756.exe /q /n /zKB899588.exe /q /n /zKB896424.exe /q /n /zKB896727.exe /q /n /z[ProductCatalogsToInstall]KB896358.catKB910437.catKB911564.catKB911927.catKB911565.catKB913446.catKB894391.catKB901017.catKB899589.catKB902400.catKB905414.catKB900725.catKB905749.catKB905915.catKB904706.catKB912919.catKB908519.catKB887742.catKB885626.catKB873339.catKB885835.catKB885836.catKB886185.catKB890175.catKB873333.catKB888113.catKB891781.catKB888302.catKB890046.catKB893066.catKB896422.catKB896428.catKB890047.catKB890859.catKB903235.catKB901214.catKB896423.catKB899587.catKB899591.catKB893756.catKB899588.catKB896424.catKB896727.catScript 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 IfThe list of updates that I install threw the runonce method, using a VBS script, inside of a SFXDim 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 IfHere is a SFX file of the Main Intergrate SP2 and UpdatesTo edit1:\ Open the SFX file with Winrar2:\ Extract the VBS , open with notepad or whatever you use to edit VBS script3:\ Rename the IntergrateXP.vbs inside of the Winrar to IntergrateXP_Old.vbs4:\ Replace the edit file into Winrar5:\ Delete this file IntergrateXP_Old.vbs inside of Winrar Edited April 28, 2006 by gunsmokingman
greatmouse Posted April 25, 2006 Author Posted April 25, 2006 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....
gunsmokingman Posted April 25, 2006 Posted April 25, 2006 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 installthose updates threw the RunOnceEx method of a Ua install.
Takeshi Posted April 26, 2006 Posted April 26, 2006 Did you name the file svcpack.ini rather than svcpack.inf?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now