Recommended Posts

wlton369 0

wlton369 0

I'm working on an automation for a installer that has QuickTime installer embedded. I am able to automate the first installer. However, with the embedded QuickTime installer, after the QuickTime installer window pops up, I cannot click on any of the buttons non closing the QuickTime installer. I managed to get the handle of the QuickTime installer and it returns 1 when I click on the Next button (but the GUI does not go to the next page and the installation will not be completed). I have tried many ways including WinWait, WinActivate, WinWaitActive, and using Send, ControlSend, also using Class to identify the button etc... but nothing works... Any ideas of what's the problem might be? Below are my code and output.

>Running:(3.3.12.0):C:\Program Files (x86)\AutoIt3\autoit3.exe"C:\Users\user1\Desktop\install.au3"--> Press Ctrl+Alt+Breakto Restart or Ctrl+Breakto Stop
Installer found
<< The Agree checkbox is not checked when the installer starts up>>0<< The Install button is disabled before the Agree checkbox is checked >>0<< The Install button is enabled after the Agree checkbox is checked >>1<< The Install button is clicked >>1<< QuickTime installation starts here...>>1<<$quickTimeNext is clicked:>>1<<$licWindow is shown:>>0x0004046A<<$quickTimeYes is clicked:>>0<<$FolderWinddow is shown:>>0x0004046A<<$quickTimeInstall is clicked:>>0<<$completeWindow is shown:>>0x0004046A<<$quickTimeFinish is shown:>>0<<$quickTimeClose is shown:>>1<< QuickTime installation is completed >>
Installation is completed+>11:36:31 AutoIt3.exe ended.rc:0+>11:36:31 AutoIt3Wrapper Finished.>Exit code:0 Time:54.74

Share this post

Link to post

Share on other sites

JLogan3o13 1,151

JLogan3o13 1,151

What is the product, and does it support command line switches? It is usually much easier to script an install silently rather than trying to manipulate the GUI, especially if it has embedded third party products in it.

√-1 2^3 ∑ π, and it was delicious!

Share this post

Link to post

Share on other sites

wlton369 0

wlton369 0

Thanks JLogan3o13. The reason to use the GUI is that we try to mimic how the user install our software using the installer as much as possible, as we are automating the installer testing at the moment...

I've also tried that once we got the handle of QuickTime installer, it can retrieve the correct title of the QuickTime installer... However, it still stays on the Welcome page after sending the "click on Next button" command.