EdT,
I have herewith the complete AutoIT script to install
WindowsXP-KB905474-ENU-x86.exe. Instructions are as follows:
1. Create an AutoIT EXE with the following code
2. Place next to
WindowsXP-KB905474-ENU-x86.exe [make sure both EXEs are in the same location]
3. Execute the AutoIT exe
CODE:
;====================================================================================================
;HIDE AUTOIT ICON
Opt("TrayIconHide",1)
;MESASGE BOX
$PID=SplashTextOn("Windows Genuine Advantage Notifications", "Installing Microsoft Windows Genuine Advantage Notifications. Please wait until the completion message appears.", 450, 85, -1, -1, 4, "10")
Sleep(20000)
SplashOff()
ProcessWaitClose($PID)
;EXECUTE MAIN EXE
Run ( "WindowsXP-KB905474-ENU-x86.exe /passive /norestart" )
;AUTOMATE NEXT BUTTON CICK
WinWaitActive("Windows Genuine Advantage Notifications - Installation Wizard", "")
If Not WinActive("Windows Genuine Advantage Notifications - Installation Wizard","") Then WinActivate("Windows Genuine Advantage Notifications - Installation Wizard","")
ControlClick("Windows Genuine Advantage Notifications - Installation Wizard", "", 12324)
;AUTOMATE I AGREE & NEXT BUTTON CICK
WinWaitActive("Windows Genuine Advantage Notifications - License Agreement", "")
If Not WinActive("Windows Genuine Advantage Notifications - License Agreement","") Then WinActivate("Windows Genuine Advantage Notifications - License Agreement","")
ControlClick("Windows Genuine Advantage Notifications - License Agreement", "", 1004)
ControlClick("Windows Genuine Advantage Notifications - License Agreement", "", 12324)
;AUTOMATE UNCHECK AND FINISH BUTTON
WinWaitActive("Windows Genuine Advantage Notifications - Installation Complete", "")
If Not WinActive("Windows Genuine Advantage Notifications - Installation Complete","") Then WinActivate("Windows Genuine Advantage Notifications - Installation Complete","")
ControlClick("Windows Genuine Advantage Notifications - Installation Complete", "", 1003)
ControlClick("Windows Genuine Advantage Notifications - Installation Complete", "", 12325)
;INSTALLATION COMPLETION MESSAGE BOX
MsgBox(4096, "Windows Genuine Advantage Notifications", "Windows Genuine Advantage Notifications installation completed successfully.", 60)
;===================================================================================================
Please let me know the feedback.
Thanks,
Eshwar