Install WIN XP SP2 updates?
#21
Posted 19 January 2005 - 06:02 AM
If faisal gets same error as me, then it's proberly not my slipstreamed SP2.
So I have tried this:
made a bat file that I run on my laptop that is installed with my unattended XP SP2 CD.
This batfile:
echo
start /wait %systemdrive%\update\KB834707.exe /q /n /z
the file kb834707 is in my update folder :-)
I get no errors and the bat file is running fine.
I reboot and make a win update.
It still shows 9 updates including kb834707 ???????????????
IF i on my other pc runs winupdate i need 2 updates.
This pc i have updated with a SP2 cd and been running win update.
now win update says that I need to install
kb890175
kb890830
I then install kb890175 from my update folder i xpcd (it's from this pc i burn my unattended).
This update installes and with no error.
SO there must be a problem about install updates on a pc installed with unattended XP SP2 CD ????
#22
Posted 19 January 2005 - 08:22 AM
YOUR-HD:\XPCD\
2:\
When The Script Is Run It Will Ask You If You
Want To Start The DL Of This Update KB834707
If You Have This Update KB834707 Than Type In No
Next The Script And Update Must be here
YOUR-HD:\XPCD\
If The Update Not At That Location it Will Go To A Error And Ask
You To make Sure The Update There And Give A optin To Redo
The Script.
Code For the Cmd
If You Want To Edit This Just Add Other Updates Numbers
Stuff In Green Must Be The Same Change It To Next Update Number
Stuff In Orange Is The Cmd Change It To Next Up Date Number
Stuff In Blue Is A Re Edit Of The Cmd
Quote
:REDO
CLS
COLOR 1F
MODE CON: COLS=55 LINES=11
TITLE XP Service Pack 2 (KB834707)
echo Type Yes To Go And Start The DownLoad Of KB834707
echo Place The Down Loaded File In Your XPCD
ECHO.
ECHO TYPE NO If You Have The Location Built And Update
ECHO YOUR-HD:\XPCD\WindowsXP-KB834707-x86-enu.exe
ECHO This Will Start The Process Without Downloading
echo.
echo IMPORTANT IF THE FILES ARE NOT IN THE
echo CORRECT DIRECTORY AN ERROR WILL OCCUR.
ECHO.
set /p Loc= Would You Like To Down Load The Service Pack :
goto %Loc%
:YES
MODE CON: COLS=55 LINES=5
COLOR F9
TItLE GETTING UPDATE KB834707
START http://www.microsoft.com/downloads/details...&displaylang=en
echo.
echo Please Wait For Down Load To Be Finish!
echo Please Make Sure It In This Location
echo YOUR-HD:\XPCD\WindowsXP-KB834707-x86-enu.exe
SET /P = When DL Is Finish, Press Any Key To Continue!
GOTO CONFIRM
:NO
cls
MODE CON: COLS=55 LINES=5
COLOR 5F
TITLE THE LOCATION WAS PRESENT
ECHO.
ECHO USER SAID FILES WHERE HERE
PING -n 3 127.0.0.1>NUL
GOTO CONFIRM
:CONFIRM
IF EXIST WindowsXP-KB834707-x86-enu.exe GOTO WORK
IF NOT EXIST WindowsXP-KB834707-x86-enu.exe GOTO OPS
:WORK
start /w WindowsXP-KB834707-x86-enu.exe /integrate:I:\xpcd EDIT CORRECTION I HAVE FOUND THIS ONE WORK ONLY FROM I:\
I HAVE CHANGE THE CODE TO THIS
SET UP=%CD%
start /w WindowsXP-KB834707-x86-enu.exe /integrate:%UP% >> UPDATE-KB834707.CMD
CMD /C UPDATE-KB834707.CMD
echo.
PING -n 3 127.0.0.1>NUL | set /p = Completed Adding Update KB834707
>> G1.vbs Echo On Error Resume Next
>> G1.vbs Echo Dim Shell
>> G1.vbs Echo Set Shell = WScript.CreateObject("WScript.Shell")
>> G1.vbs Echo Set fso = CreateObject("Scripting.FileSystemObject")
>> G1.vbs Echo fso.DeleteFile("UP-KB834707.CMD")
>> G1.vbs Echo fso.DeleteFile("WindowsXP-KB834707-x86-enu.exe")
>> G1.vbs Echo fso.DeleteFile("G1.vbs")
start G1.vbs
ping -n 3 127.0.0.1>nul | Echo Good Bye
EXIT
:OPS
CLS
MODE CON: COLS=55 LINES=9
COLOR FC
TITLE OPS THE LOCATION NOT THERE
ECHO.
ECHO THIS LOCATION DOES NOT EXIST
ECHO YOUR-HD:\XPCD\WindowsXP-KB834707-x86-enu.exe
ECHO WOULD YOU LIKE TO RERUN THIS SCRIPT.
ECHO TYPE REDO TO REUN THE SCRIPT
ECHO.
ECHO TYPE QUIT TO EXIT THE SCRIPT
SET Choice=
SET /P Choice=Type the letter and press Enter:
IF NOT '%Choice%'=='' SET Choice=%Choice:~0,4%
IF /I '%Choice%'=='REDO' GOTO REDO
IF /I '%Choice%'=='Quit' GOTO QUIT
ECHO "%Choice%" is not valid. Please try again.
GOTO REDO
:QUIT
CLS
ECHO.
>> G1.vbs Echo On Error Resume Next
>> G1.vbs Echo Dim Shell
>> G1.vbs Echo Set Shell = WScript.CreateObject("WScript.Shell")
>> G1.vbs Echo Set fso = CreateObject("Scripting.FileSystemObject")
>> G1.vbs Echo fso.DeleteFile("UP-KB834707.CMD")
>> G1.vbs Echo fso.DeleteFile("WindowsXP-KB834707-x86-enu.exe")
>> G1.vbs Echo fso.DeleteFile("G1.vbs")
start G1.vbs
ECHO PLEASE RERUN THIS SCRIPT WHEN LOCTION IS PRESENT?
PING -n 3 127.0.0.1>NUL
This post has been edited by gunsmokingman: 29 December 2005 - 04:12 PM
#23
Posted 19 January 2005 - 01:35 PM
I will try it tomorrow.
Thank you whatever the result must be :-))
#24
Posted 19 January 2005 - 07:17 PM
The Script Does
Alllow For Indivdual Install If Files Are Present
Intergrate All Of Them If Files Are Present
Open Each Update Download Page For You
To Start The DownLoad.
Update That It Intergrates
These Are The Exact Name That The Script Depends On
WindowsXP-KB834707-x86-enu.exe
WindowsXP-KB873339-x86-enu.exe
WindowsXP-KB885835-x86-ENU.exe
WindowsXP-KB885836-x86-ENU.exe
WindowsXP-KB886185-x86-enu.exe
WindowsXP-KB890175-x86-ENU.exe
This post has been edited by gunsmokingman: 29 December 2005 - 04:11 PM
#25
Posted 20 January 2005 - 06:23 AM
make sure architecture, language and service pack version match destination distributionfolder??
#26
Posted 20 January 2005 - 09:14 AM
I use winrar to extract the ISO to a file set -> c:\xptemp
to start:
make a folder XPBuild
make a subfolder called XPBuild\XPSource
put ISO there
Make another folder XPBuild\XPsp2
put WindowsXP-KB835935-SP2-ENU.exe in there (sp2)
Make another folder XPBuild\XPType3
put all the post SP2 hotfixes in there
Make the following commands into a batch file and place in XPBuild
REM ----- Extract ISO to Working Folder -----
:Extract
"%programfiles%\winrar\winrar.exe" x XPSource\WinXP.iso c:\XPtemp
REM ----- Slipstream SP2 if necessary -----
if not exist c:\xptemp\win51ip.SP2 XPsp2\WindowsXP-KB835935-SP2-ENU.exe /integrate:c:\xptemp /passive
REM ----- Slipstream Type 3 Hotfixes -----
FOR /f %%f in ('dir /b XPType3\*.exe') DO XPType3\%%f /integrate:c:\xptemp /passive
#27
Posted 20 January 2005 - 02:30 PM
Also after the scripts runs it cleans up the files.
I have completed 6 update script that if you want i will post them here.
#28
Posted 21 January 2005 - 08:26 AM
I get this error:
make sure architecture, language and service pack version match destination distributionfolder??
1. I have tried to make a new slepstreamed CD after the guide on MSFN.
same error
2. my updates are downloaded in danish, my WIN XP CD is danish and the sp2 is danish.
I have tried everything in this thread, also gunsmokingmans schript
same error.
Anyone no when MSFN update the guide from SP1 to SP2 ???
#29
Posted 21 January 2005 - 09:09 AM
After making a complete new XPCD folder with a new slipstreamed XPSP2 its working
Thanks a lot for all your help.....
#30
Posted 18 February 2005 - 02:13 AM
Last time I made a complete new slipstreamed XP SP2 CD and used that.
This resolved the integrate problem, as you can read in this tread.
But now I get same error again.
make sure architecture, language and service pack version match destination distributionfolder??
I don't understand ????



Help


Back to top









