Has anyone used AutoIt to upgrade clients? Have have tgis script that stops once it gets to the install. You have to manually hit the “NEXT” button to finish. I thought it would be auto.
Anyone?
Thanks.
;Icon:
;##############################################################
;###Let’s upgrade to 6.1.5 of Lotus Notes client software
;##############################################################
;##
;##Present user with dialog box, and ask if they’d like to upgrade now.
MsgBox, 4, Lotus Notes 6.5.1 Upgrade, This will upgrade your version of Lotus Notes to 6.5.1, and close your current session.\nAll your windows will be minimized, NOT closed.\nWould you like to continue?
IfMsgBox, NO, Goto, stopIT
;##############################################################
;Let’s close the Notes client (if running)*
;**********Let’s minimize all application windows
;##############################################################
;SetTitleMatchMode, 2
WinKill, Lotus Notes
WinMinimizeAll
;##############################################################
;###Find the path to the Notes executable, and read as variable “notesPath”
;##############################################################
RegRead, notesPath, REG_SZ, HKEY_LOCAL_MACHINE, Software\Lotus\Notes, Path
MsgBox, 4, Lotus Notes Upgrade, Please DO NOT touch your keyboard or mouse during the installation\nprocess. This should not take more than 3-5 minutes.\nWould you like to continue?
IfMsgBox, NO, Goto, stopIT
;##############################################################
;###Run through the installation, and step user through
;###all the installation prompts
;##############################################################
Run, \\SCI_TCY_005\Sciapps1\Notes6\setup.exe
WinWaitActive,Lotus Notes Installation
Sleep,500
Send,{Enter}
Sleep,500
Send,{Enter}
Sleep,500
Send,{Enter}
Sleep,500
Send,{Enter}
Sleep,500
Send,{Enter}
WinWaitActive,Lotus Notes Installation
Send,{Enter}
;##############################################################
;###Let user know installation is complete, and restart Notes
;##############################################################
MsgBox, 0, Lotus Notes Upgrade…, Installation completed successfully. We’ll now restart your Lotus Notes client.\n Press OK to continue.
Run, %notesPath%notes.exe
;##############################################################
;###Exit if user clicks NO
;##############################################################
stopIT:
Exit