this is my first go using AutoIt. I have an application with an installshield installer. I've tried all the usual switches and repsonse file stuff but cannot get it to shut up and install.
So I am trying AutoIt and have created my first script:
Opt('WinDetectHiddenText', 1) ;Get environment variable ;$SOFTWARE=EnvGet("SOFTWARE") $SOFTWARE="\\wpkg.myserver.com\wpkg\files" ;Path and filename of the installer executable $SEQSCAPEINSTALLER="""" & $SOFTWARE & "\SeqScape.2.5.revB\setup.exe""" Run($SEQSCAPEINSTALLER, @SW_HIDE) WinWaitActive("InstallShield Wizard","") ControlClick("InstallShield Wizard", "", "[CLASS:Button; TEXT:Next; INSTANCE:1]") ControlClick("InstallShield Wizard", "", "[CLASS:Button; TEXT:Next; INSTANCE:1]") ControlClick("InstallShield Wizard", "", "[CLASS:Button; TEXT:Next; INSTANCE:1]") ControlClick("InstallShield Wizard", "", "[CLASS:Button; TEXT:Next; INSTANCE:1]") ControlClick("InstallShield Wizard", "", "[CLASS:Button; TEXT:Finish; INSTANCE:1]") Exit
I have run this on the cmd line with autoit3.exe \path\to\seqscape.au3
Nothing seems to happen. I have also run it from SciTe with the ouput window displaying:
>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "P:\files\SeqScape.2.5.revB\seqscape.au3" /UserParams +>10:36:40 Starting AutoIt3Wrapper v.2.1.0.8 Environment(Language:0409 Keyboard:00000809 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (1.54.22.0) from:C:\Program Files (x86)\AutoIt3 +>10:36:40 AU3Check ended.rc:0 >Running:(3.3.8.1):C:\Program Files (x86)\AutoIt3\autoit3.exe "P:\files\SeqScape.2.5.revB\seqscape.au3"
But the software doesn't install.
How do I debug this or watch the actual progress on screen to see where it is getting stuck or where I've gone wrong with the script?
thanks
Paul




