Right now i'm packaging Windows XP SP3 for our SP2 environment and i used AutoIT script to do the job.
Use /passive /nobackup /norestart /log swicthes as
/passive will install with a progress bar
/nobackup will remove the backup for uninstall
/log will create a log file
Try the following AutoIT script:
;===================================================================================================
;Hides the AutoIT icon
Opt("TrayIconHide",1)
; 1st section gives the user a warning that the sevice pack install will start
$PID=SplashTextOn("Windows XP SP3 Installation", "Installing Microsoft Windows XP Service Pack 3. The installation can take 30 minutes. Please wait until the completion message appears.", 450, 85, -1, -1, 4, "10")
Sleep(20000)
SplashOff()
ProcessWaitClose($PID)
;RUN WINDOWS XP SP3 IN PASSIVE MODE WITH NO RESTART, NO BACKUP AND A LOG FILE
Run ( "WindowsXP-KB936929-SP3-x86-ENU.exe /passive /norestart /nobackup /log:c:\WindowsXP-KB936929-SP3-x86-ENU.log" )
; WAIT UNTILL SP3 WINDOW IS ACTIVE
WinWaitActive("Software Update Installation Wizard", "")
; SET SP3 WINDOW ACTIVE IF IT DOESN'T HAVE FOCUS
If Not WinActive("Software Update Installation Wizard","") Then WinActivate("Software Update Installation Wizard","")
; HIDE BACK BUTTON
ControlHide ( "Software Update Installation Wizard", "", 12323 )
; HIDE FINISH BUTTON
ControlHide ( "Software Update Installation Wizard", "", 12325 )
;CHANGE FOCUS TO HELP BUTTON
ControlFocus("Software Update Installation Wizard", "", 9)
; HIDE CANCEL BUTTON
ControlHide ( "Software Update Installation Wizard", "", 2 )
; WAIT UNTILL SP3 WINDOW IS ACTIVE
WinWaitActive("Software Update Installation Wizard", "")
Send("{TAB}")
;HIDE HELP BUTTON
ControlHide ( "Software Update Installation Wizard", "", 9 )
;===================================================================================================
You can actually change the script according to your requirement and it is easy to use.
Let me know if you need anything.